I may be totally off the mark, but my testing has led me to the hypothesis that something is going on behind the scenes that is killing long downloads from ubercart / drupal.
Here's what I know:
Files are failing at peculiar times: 10:00PM, 10:30PM, 11:30PM, 12:00AM, 2:30AM, 4:AM, etc. This has been consistent. A few have died at other times, like 2:58, but the majority are right on the 15 minute mark. This is for a 1.8 Gigabyte file.
1. I can download the file successfully via FTP.
2. I also copied the file (via SSH) to an unprotected folder, emailed myself a link, and was able to download it via HTTP. Out of three tries, it did die once, but at a much higher percentage of completion than the others.
3. I don't have any Cron jobs running.
4. I am running on MediaTemple Grid Service, and haven't had any other major problems. Download speed fluctuates between ~250 to ~500 kbps on my connection (typical cable internet).
5. I am not finding any leads in the Error logs of either the server or Drupal. There are some peculiar errors in there, but they are not consistent with losing download connection.
These conditions lead to me to believe there might be something going on behind the scenes with either Drupal, UberCart, or MediaTemple Grid Service (THESE ARE HYPOTHESES, and I don't know how to test or fix any of them):
1. The users session / connection is expiring or timing out
2. There could be a problem with the way UberCart is masking the file name
3. Mediatemple is restarting the server every 15 minutes
4. My Database is corrupt
5. Your guess here.
Can anyone help me with this?
Let me know what I can do to help you understand the problem better.
-Mike





Joined: 09/24/2008