in reply to Re: 'A' web server takes another "time out"
in thread 'A' web server takes another "time out"
On my experience, is very important correct values for:
- MaxClient -> 100 Ok (it's can be more)
- MinSpareServers -> min free instances, sugest same of StartServers
- MaxSpareServers -> max free instances, sugest more than 60% of MaxClients
- MaxKeepAliveRequests -> never all instances, sugest 50% of MaxClient
- MaxRequestPerChild -> max request before kill process, set if required...
Some time ago I had make a node Monitor instances of Apache Web server, with a script to see how are use of apache web connections online. To see historical usage, I'm sugest to use it or Apache-Tools (from Apache-Security).
Evaluating your load averages, swap and CPU states, on my opinion optimize apache make good results... See your running time of httpd process:
But the great info is "Parent Server Generation: XX" on server-status ... You realy need to enable this module ;)$ grep httpd 547234 | awk '{print $8}' | sort | uniq -c | head -n 5 125 0:00 110 0:01 41 0:02 14 0:03 9 0:04
Current Time: Friday, 05-May-2006 10:56:47 PDT Restart Time: Tuesday, 02-May-2006 10:24:02 PDT Parent Server Generation: 3 Server uptime: 3 days 32 minutes 45 seconds Total accesses: 16557075 - Total Traffic: 349.2 GB CPU Usage: u170.547 s310.375 cu0 cs0 - .184% CPU load 63.4 requests/sec - 1.4 MB/second - 22.1 kB/request 175 requests currently being processed, 81 idle workers CKWWCKK_K_K_CKC_KK_K___KKK__K_KKKKKKKC_K_CC_KWK__WKKK_K_WKKK__WK GGG.GG.G.GGG...GGGGG..GGG.GGG.GG..GG.G..GG..G.....GWGGGGGGGGGGGG .G...W.GG.....G.GG.G..G.GG.........GGWG.G..G.G.....G...WG....G.G _K__KKCKCKWCK_WK__KKK_K_KW_KC__W___KKKK_KKKCK_KKWKKC_KCKKWKCKKWC
--
Marco Antonio
Rio-PM
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: 'A' web server takes another "time out"
by samtregar (Abbot) on May 07, 2006 at 02:15 UTC |
In Section
Perl Monks Discussion