Optimizing Apache for large file serving

Posted by D_Guy13 on Server Fault See other posts from Server Fault or by D_Guy13
Published on 2014-08-21T22:03:37Z Indexed on 2014/08/21 22:21 UTC
Read the original article Hit count: 227

Filed under:
|
|

I have a random problem with Apache that I can't quite figure out, here is my setup,

Windows Server 2008 R2, 64 Bit, 5GB RAM, SSD with 200 MB(Read/write) and Dual Core CPU @ 2.1 GHz

A dump from mod-staus,

Server Version: Apache/2.4.7 (Win32) mod_limitipconn/0.24 mod_antiloris/0.5.2 PHP/5.5.9
Server MPM: WinNT
Apache Lounge VC11 Server Built: Nov 21 2013 20:13:01

Current Time: Thursday, 21-Aug-2014 23:38:06 W. Europe Daylight Time
Restart Time: Thursday, 21-Aug-2014 20:30:47 W. Europe Daylight Time
Parent Server Config. Generation: 1
Parent Server MPM Generation: 1
Server uptime: 3 hours 7 minutes 18 seconds
Server load: -1.00 -1.00 -1.00
Total accesses: 283025 - Total Traffic: 1172.2 GB
25.2 requests/sec - 106.8 MB/second - 4.2 MB/request
62 requests currently being processed, 388 idle workers

Serving large .zip & iso files using mod_xsendfile. (File size range 500 MB - 1.5 GB)

The setup works and is running fine.

CPU usage is very unstable, jumps all the time between 10% - 90% and the servers goes down when it hits 100%. In that case I have to hard restart the server.

Server it outputting traffic at 30 Mbps.

Is there anything else I should think about to get a more stable CPU usage? Is that CPU usage normal?

Can switching to Linux help me achieve better CPU usage?

© Server Fault or respective owner

Related posts about Windows

Related posts about apache-2.4