borked |
11-23-2010 12:02 AM |
Quote:
Originally Posted by MetaMan
(Post 17720808)
we are def peaking them out, our server is real time stats, so every second the server is getting hammered per user.
|
before you go increasing things, you should find out if all your current clients are getting maxed out...
I would suggest enabling /server-status (and extended server-status) - in your main apache conf (eg /etc/httpd/conf/httpd.conf), which you are having trouble editing :P
Code:
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from YOUR.IP.ADDRESS
</Location>
reload apache (apachectl graceful)
then hit up your server in a browser
http://domain.com/server-status
here's an example on a server getting 7million+ hits per day:
Code:
Current Time: Monday, 22-Nov-2010 22:52:00 PST
Restart Time: Sunday, 21-Nov-2010 12:14:42 PST
Server uptime: 1 day 10 hours 37 minutes 18 seconds
Total accesses: 12477227 - Total Traffic: 5.1 GB
CPU Usage: u362.83 s40.11 cu2.06 cs0 - .325% CPU load
100 requests/sec - 43.2 kB/second - 442 B/request
12 requests currently being processed, 22 idle workers
C___C_______.__R_.RW_CC__.____CC__.RR.R.........................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
....
As you can see there are lots of idle children ready to take up the slack if/when there's a surge....
|