Hi,
I run Apache 2.4 on a VPS, and have a site which every now and then hit big (for us) traffic spikes. During these spikes I have about 400-600 visitors online at any given moment, and here's where my site crashes after a while. In another thread I got the advice to activate mod_status which I've now done, and I would like some help with making sense of the data.
A few questions to get it started:
1. I have quite a few "NULL"-requests from localhost:80. Some of these processes show in DirectAdmin's process monitor as using a lot of CPU, sometimes like 25-50%, but only for a second. If I refresh process monitor that same process is no longer using a lot of CPU. Is this normal, and if not, what to do?
2. Also, I have a lot of processes that are requests for "OPTIONS * HTTP/1.0" coming from my own server IP. Probably about 40% of the total processes are this request. Some of these use several seconds of cpu in the server-status report, and I can't figure out why, or what they are. Any ideas?
3. Here are the basics from one snapshot from my server-status, don't know if it can help:
Quite a noob at this but trying to learn. Any help more than welcome! If I can provide any more information, please ask.
Edit: I checked server status when the site had just crashed today, as it does when traffic gets too big, this is what it says:
I run Apache 2.4 on a VPS, and have a site which every now and then hit big (for us) traffic spikes. During these spikes I have about 400-600 visitors online at any given moment, and here's where my site crashes after a while. In another thread I got the advice to activate mod_status which I've now done, and I would like some help with making sense of the data.
A few questions to get it started:
1. I have quite a few "NULL"-requests from localhost:80. Some of these processes show in DirectAdmin's process monitor as using a lot of CPU, sometimes like 25-50%, but only for a second. If I refresh process monitor that same process is no longer using a lot of CPU. Is this normal, and if not, what to do?
2. Also, I have a lot of processes that are requests for "OPTIONS * HTTP/1.0" coming from my own server IP. Probably about 40% of the total processes are this request. Some of these use several seconds of cpu in the server-status report, and I can't figure out why, or what they are. Any ideas?
3. Here are the basics from one snapshot from my server-status, don't know if it can help:
Code:
Server Version: Apache/2.4.10 (Unix) OpenSSL/1.0.1 PHP/5.5.15
Server MPM: prefork
Server Built: Aug 20 2014 13:38:52
Current Time: Saturday, 08-Nov-2014 06:15:12 EST
Restart Time: Saturday, 08-Nov-2014 03:55:57 EST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 2 hours 19 minutes 15 seconds
Server load: 4.19 4.05 4.67
Total accesses: 380303 - Total Traffic: 37.3 GB
CPU Usage: u146.44 s68.44 cu0 cs0 - 2.57% CPU load
45.5 requests/sec - 4.6 MB/second - 102.9 kB/request
96 requests currently being processed, 29 idle workers
__KKK__KK_KWKKC._K.KKKKCKKK._.KK._WK_KKCWKKCK_CC._KKKKCW_KK_K._W
W_KKRWK_K._CKCK__WKKKWCKKK_K._C.KK.CKK.CWK..W_._.K_K.._W..K._KC.
_K.RW.KK..K..WK.WKW..._W_.K.KKC.................................
................................................................
................................................................
................................................................
................................................................
Quite a noob at this but trying to learn. Any help more than welcome! If I can provide any more information, please ask.
Edit: I checked server status when the site had just crashed today, as it does when traffic gets too big, this is what it says:
Code:
Current Time: Sunday, 09-Nov-2014 04:51:16 EST
Restart Time: Sunday, 09-Nov-2014 00:12:05 EST
Parent Server Config. Generation: 1
Parent Server MPM Generation: 0
Server uptime: 4 hours 39 minutes 11 seconds
Server load: 439.80 355.49 209.15
Total accesses: 604706 - Total Traffic: 47.1 GB
CPU Usage: u204.45 s89.73 cu0 cs0 - 1.76% CPU load
36.1 requests/sec - 2.9 MB/second - 81.6 kB/request
450 requests currently being processed, 0 idle workers
LLLLLLLLLLLLLLLLLLLLLLWLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL
WLLWLLLLLLLLLLLLLLLLWLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLWLLLLLLLLLLL
LLLLLLLLLLLLLLLLLLLLWLLLLLLLLLLLLLLLLLLLLLWLLLLLLLLLLLLLLLLLLWLL
LWLLLLLLLLLLLLLWLLLLLLLLLLLLLLLLLLLLLLLLLLLWLWLLLLLLLLLLLLLLLLLL
LLWLLLLLLLLLLLLLLLLLLWLLLLLLLLLLLLLLLLLLLLLLLLLLWLLLLLLLLLLLLLLL
LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLWWLLLLL
LLLLLLLLLLLLLLLLLLWLLLLLLLLWLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLWLLL
LL
Last edited: