Title: Question about Server CPU Load
Last modified: June 27, 2018

---

# Question about Server CPU Load

 *  Resolved [AUMW-Jay](https://wordpress.org/support/users/aumw-jay/)
 * (@aumw-jay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/question-about-server-cpu-load/)
 * This is a general question regarding Download Monitor. I have been using DM on
   a client site where they wanted to restrict and deliver software package downloads
   to the users of their technology product.
 * I started to see two things – download failures with the unhelpful “Download 
   Failed” message, as well as dramatically larger CPU and I/O usage on the web 
   server, which at times triggered throttling. I can’t be absolutely sure DM caused
   this, but I’ve urged the client to host the software packages (size from 90MB
   to almost 200MB) on another platform. They want to use Google Drive – and I’m
   planning to try the Google Drive add-on to enable this.
 * My question is whether or not there is a substantial amount of processing that
   is being done server-side, or if the download from Drive is shifted to the client
   and the source server(s) – If the website’s host server is still routing the 
   traffic, then I’d guess there will still be spikes of CPU and I/O usage, and 
   it doesn’t help me.
 * Can you shed any light on this for me, please?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/question-about-server-cpu-load/#post-10450049)
 * Hello,
 * Thanks for reaching out to us.
 * Our plugin uses PHP to manage the download. So if the file size is large, the
   process will run longer and if there is a restriction to the time limit a PHP
   process can run or the maximum memory allocated to your PHP process is low, the
   download can fail. Hosting the files on other platforms would be a good idea.
   Please note that hosting files on Google drive can still allow users to take 
   the link and distribute it directly. If you want to keep your files secure but
   host it outside your server I would suggest using Amazon S3 and our S3 add-on/
   plugin.
 * I hope that answers your query. Let us know if you have any further questions.
 *  Thread Starter [AUMW-Jay](https://wordpress.org/support/users/aumw-jay/)
 * (@aumw-jay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/question-about-server-cpu-load/#post-10452877)
 * Thanks for the reply. On the server I’m dealing with, PHP execution time is 1,800
   seconds, and the PHP memory limit is 768 MB. Those don’t seem like low numbers
   to me. I’m trying to ensure we’re not going to continue to have download failures–
   and that’s why I’m looking for more info about the Google Drive add-on.
 * If the download is managed with PHP, which executes on the server, then why would
   moving the files to an external host have any effect on the download of large
   files one way or another?
 * Also, your documentation for the Google Drive add-on says the Google Drive location
   will be hidden, so I’m not sure if/what the difference would be if we went to
   S3. Is that documentation incorrect? Or is the S3 plugin somehow vastly different
   than the plugin for Google Drive? It seems to me the whole point of the plugin
   is keeping the drive location hidden — otherwise, I could simply stick a direct
   link on the site to the Google Drive file(s).
 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/question-about-server-cpu-load/#post-10466686)
 * Hello,
 * That is a decent amount of memory and time allocation. The only way to know what
   is happening would be to check your server logs for PHP and Apache.
 * Regarding hosting elsewhere, if the file is hosted elsewhere, our PHP process
   does not handle the entire download. It just initiates/redirects the download
   without showing the user the file path.
 * For Google Drive’s extension, due to lack of proper API, we simply start the 
   download. And when you create a link from your Google Drive account, the permission
   you need to set is “access to anyone with a link”. As you can guess this is not
   very secure. After the first download, the user will be able to see the file 
   path in your download history and then share the URL with others.
 * With Amazon S3, we use their API to create a dynamic link that allows download
   only for 15 minutes. After the link expires, even though the user can share the
   link, no one will be able to access it after 15 minutes unless they download 
   using the dynamic link created by our plugin.
 *  Thread Starter [AUMW-Jay](https://wordpress.org/support/users/aumw-jay/)
 * (@aumw-jay)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/question-about-server-cpu-load/#post-10466713)
 * Thank you, that’s the information I needed. I’ll see if the client is willing
   to move to S3 storage, or if the need for a secure link is or isn’t important
   to them. I appreciate your responsiveness!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Question about Server CPU Load’ is closed to new replies.

 * ![](https://ps.w.org/download-monitor/assets/icon-256x256.png?rev=3198936)
 * [Download Monitor](https://wordpress.org/plugins/download-monitor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/download-monitor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/download-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/download-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/download-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/download-monitor/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [AUMW-Jay](https://wordpress.org/support/users/aumw-jay/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/question-about-server-cpu-load/#post-10466713)
 * Status: resolved