Ok, you guys have a serious issue with the downloads beyond the overloaded servers. The downloads are getting corrupted, because Wordpress is pre-pending error messages in HTML format, to the beginning of the downloaded file. This is being caused by the download-monitor plugin, which is not smart enough to handle download errors properly.
In this case, the download-monitor is trying to open a target URL and stream the data on to your customer. The fopen command fails, and download-monitor retries. Unfortunately, it is streaming the results of these failures (the error messages in HTML format) on to your customers as file data.
I discovered this because when I finally did get a download to complete, the resulting file was corrupted. On a hunch, I opened the DMG in vim, and found the following lines at the beginning of the file repeated several time, followed by the actual binary file content:
- Code: Select all
<br />
<b>Warning</b>: fopen(http://www.downloadhauptwerk.com/hauptwerk/InstallHauptwerk_v5.0.0.333.dmg): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable^M
in <b>/home/customer/www/hauptwerk.com/public_html/wp-content/plugins/download-monitor/src/DownloadHandler.php</b> on line <b>6 71</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/customer/www/hauptwerk.com/ public_html/wp-content/plugins/download-monitor/src/DownloadHandler.php:671) in <b>/home/customer/www/hauptwerk.com/public_html/ wp-content/plugins/download-monitor/src/DownloadHandler.php</b> on line <b>554</b><br />
So this means that you are wasting tons of bandwidth as people download corrupted files over and over again.
I might add that these error messages allowed me to very quickly download an uncorrupted file, so your download bottleneck here is entirely being caused by WP sitting in between your customers and your download server. Streaming file downloads through a Wordpress plugin is a recipe for disaster, as you no doubt must have concluded by now.
You can probably fix this in Download Manager by changing the download types to redirect. You still are tracking the number of downloads, and who is downloading, but your customers would be downloading directly from your download site, which seems to have plenty of bandwidth.