View Single Post
Old 11-23-2010, 12:02 AM  
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Quote:
Originally Posted by MetaMan View Post
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....
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202

Last edited by borked; 11-23-2010 at 12:06 AM..
borked is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote