
10-19-2002, 10:19 AM
|
|
Newbie
|
|
Join Date: Oct 2002
Posts: 10
|
|
Do I need more RAM? How many?
Do I need more RAM? How many?
and what is the "load average: 1.35, 0.77, 0.51" 's three numbers 1.35, 0.77, 0.51 mean?
This is my 'top' stats.
Thanks
9:12am up 8 days, 23:14, 1 user, load average: 1.35, 0.77, 0.51
690 processes: 689 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 43.9% user, 9.1% system, 0.0% nice, 46.8% idle
Mem: 770652K av, 766060K used, 4592K free, 184K shrd, 95424K buff
Swap: 522072K av, 0K used, 522072K free 87384K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
17834 nobody 13 0 3284 3284 2612 S 6.3 0.4 0:17 httpd
29134 nobody 14 0 3408 3408 2608 S 5.6 0.4 0:21 httpd
9321 nobody 9 0 3132 3132 2604 S 5.6 0.4 0:19 httpd
8279 nobody 10 0 3144 3144 2608 S 5.4 0.4 0:18 httpd
8564 root 19 0 1432 1432 836 R 3.0 0.1 0:06 top
10818 nobody 9 0 3324 3324 2608 S 0.9 0.4 0:20 httpd
16000 nobody 9 0 3360 3360 2604 S 0.7 0.4 0:17 httpd
16919 nobody 9 0 3324 3324 2616 S 0.7 0.4 0:21 httpd
32332 nobody 9 0 3396 3396 2608 S 0.5 0.4 0:22 httpd
21705 nobody 9 0 3076 3076 2616 S 0.5 0.3 0:18 httpd
|

10-19-2002, 10:56 AM
|
|
Web Hosting Master
|
|
Join Date: Apr 2002
Posts: 1,162
|
|
I don't think additional ram would help. You have not used any of your swap space, which indicates that you are not lacking for RAM. You are running a VERY high number of processes. Can you tell me what the box is used for and what the apache Max Clients is set to?
|

10-19-2002, 11:06 AM
|
|
Web Hosting Master
|
|
Join Date: Apr 2002
Posts: 1,162
|
|
Also ps -ef | grep -c httpd
|

10-19-2002, 01:07 PM
|
|
Junior Guru Wannabe
|
|
Join Date: Sep 2002
Posts: 82
|
|
Re: Do I need more RAM? How many?
Quote:
Originally posted by tom chow
and what is the "load average: 1.35, 0.77, 0.51" 's three numbers 1.35, 0.77, 0.51 mean?
|
from: http://urchin.dc.inet.fi/~kerolasa/load.shtml
Quote:
|
A system's load is the number of processes that are ready to run, including ones currently running. This number is measured at regular, frequent intervals. The load average, therefore, is the average of this load number over a particular interval of time. There actually are three load averages measured over different periods of time: the most recent minute, the last five minutes, and the last 15 minutes.
|
this has also been discussed before here: http://www.webhostingtalk.com/showth...threadid=77487
|

10-19-2002, 03:59 PM
|
|
Web Hosting Master
|
|
Join Date: Sep 2001
Location: Vancouver
Posts: 746
|
|
Ram and cpu look good but load is super high. Maybe I should lower the settings in httpd.conf I guess 2000 max cleints is a bit high for apache
last pid: 1710; load averages: 46.00, 35.31, 26.958 up 0+03:10:07 12:54:31
1103 processes:9 running, 1094 sleeping
CPU states: 0.7% user, 0.0% nice, 18.8% system, 2.4% interrupt, 78.2% idle
Mem: 716M Active, 323M Inact, 379M Wired, 108M Cache, 192M Buf, 484M Free
Swap: 2048M Total, 2048M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
199 nobody 2 0 302M 269M RUN 0 2:22 0.24% 0.24% thttpd
198 nobody 2 0 312M 278M kqread 1 2:21 0.24% 0.24% thttpd
773 www 2 0 4520K 3760K sbwait 0 0:03 0.15% 0.15% httpd
1028 www 2 0 5592K 3856K sbwait 1 0:03 0.10% 0.10% httpd
564 www 2 0 4520K 3756K sbwait 1 0:03 0.10% 0.10% httpd
1121 www 2 0 5612K 3836K sbwait 0 0:03 0.10% 0.10% httpd
507 www 2 0 4520K 3756K accept 1 0:03 0.05% 0.05% httpd
761 www 2 0 4520K 3756K sbwait 1 0:03 0.05% 0.05% httpd
951 www 2 0 4520K 3756K accept 1 0:03 0.05% 0.05% httpd
530 www 2 0 5604K 3832K sbwait 0 0:03 0.05% 0.05% httpd
491 www 2 0 4520K 3756K accept 1 0:03 0.05% 0.05% httpd
171 root 2 0 4428K 3676K select 1 0:10 0.00% 0.00% httpd
1223 www 2 0 5492K 4416K sbwait 0 0:04 0.00% 0.00% httpd
477 www 2 0 4520K 3756K accept 1 0:04 0.00% 0.00% httpd
350 www 2 0 4520K 3760K sbwait 0 0:04 0.00% 0.00% httpd
627 www 2 0 4520K 3756K accept 1 0:04 0.00% 0.00% httpd
1196 www 2 0 4532K 3760K accept 1 0:04 0.00% 0.00% httpd
376 www 2 0 4524K 3764K sbwait 1 0:04 0.00% 0.00% httpd
266 www 2 0 4524K 3760K accept 1 0:04 0.00% 0.00% httpd
233 www 2 0 4520K 3760K sbwait 1 0:03 0.00% 0.00% httpd
440 www 2 0 4520K 3756K sbwait 1 0:03 0.00% 0.00% httpd
1252 www 2 0 5600K 3832K sbwait 1 0:03 0.00% 0.00% httpd
203 www 2 0 4524K 3760K accept 1 0:03 0.00% 0.00% httpd
657 www 2 0 4520K 3756K accept 1 0:03 0.00% 0.00% httpd
309 www 2 0 4520K 3760K accept 1 0:03 0.00% 0.00% httpd
656 www 2 0 4520K 3760K sbwait 0 0:03 0.00% 0.00% httpd
439 www 2 0 4520K 3756K accept 1 0:03 0.00% 0.00% httpd
1101 www 2 0 4520K 3756K sbwait 1 0:03 0.00% 0.00% httpd
271 www 2 0 4524K 3760K accept 1 0:03 0.00% 0.00% httpd
487 www 2 0 4520K 3756K accept 1 0:03 0.00% 0.00% httpd
279 www 2 0 4520K 3760K sbwait 1 0:03 0.00% 0.00% httpd
1108 www 2 0 5532K 3864K sbwait 1 0:03 0.00% 0.00% httpd
226 www 2 0 4520K 3760K accept 1 0:03 0.00% 0.00% httpd
993 www 2 0 4520K 3760K sbwait 1 0:03 0.00% 0.00% httpd
325 www 2 0 4520K 3760K sbwait 0 0:03 0.00% 0.00% httpd
886 www 2 0 4532K 3760K accept 1 0:03 0.00% 0.00% httpd
284 www 2 0 4520K 3760K accept 1 0:03 0.00% 0.00% httpd
582 www 2 0 4520K 3760K accept 1 0:03 0.00% 0.00% httpd
730 www 2 0 4520K 3756K sbwait 1 0:03 0.00% 0.00% httpd
1257 www 2 0 4520K 3756K accept 1 0:03 0.00% 0.00% httpd
431 www 2 0 5360K 3852K sbwait 0 0:03 0.00% 0.00% httpd
463 www 2 0 4520K 3756K sbwait 1 0:03 0.00% 0.00% httpd
434 www 2 0 4520K 3756K sbwait 0 0:03 0.00% 0.00% httpd
293 www 2 0 4520K 3760K sbwait 1 0:03 0.00% 0.00% httpd
240 www 2 0 4520K 3764K accept 1 0:03 0.00% 0.00% httpd
844 www 2 0 4520K 3760K sbwait 1 0:03 0.00% 0.00% httpd
947 www 2 0 4520K 3760K accept 1 0:03 0.00% 0.00% httpd
1168 www 2 0 4520K 3756K accept 1 0:03 0.00% 0.00% httpd
450 www 2 0 4520K 3760K accept 1 0:03 0.00% 0.00% httpd
|

10-19-2002, 04:01 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2002
Posts: 1,162
|
|
I would put max clients around 300
|

10-19-2002, 04:15 PM
|
|
Web Hosting Master
|
|
Join Date: Sep 2001
Location: Vancouver
Posts: 746
|
|
300 might be way too low. People would get locked out
|

10-19-2002, 04:17 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2002
Posts: 1,162
|
|
Its not so much about how many people get locked out, it is about setting it so that the server gets as many connections open as it can handle
|

10-19-2002, 04:41 PM
|
|
Junior Guru
|
|
Join Date: May 2002
Posts: 190
|
|
unless theres problems cluster just leave it how it is.. FreeBSD can hold its own hehe
__________________
C Code. C code run. Run, code, run...
Segmentation fault (core dumped).. aww sh!t
|

10-19-2002, 05:02 PM
|
|
Web Hosting Master
|
|
Join Date: Sep 2001
Location: Vancouver
Posts: 746
|
|
Yeah I got some advice from someone that runs high traffic servers. He said as long as it's not swaping and I have enough cpu idle things should be good.
The high load scares me a bit though.
|

10-19-2002, 05:24 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2001
Location: Toronto, Ontario, Canada
Posts: 5,539
|
|
High loads scare everyone  nothing to worry about as long as they system is always responsive, isn't digging heavily into the swap, and theres 30%+ idle cpu on average 
|

10-19-2002, 08:29 PM
|
|
Newbie
|
|
Join Date: Oct 2002
Posts: 10
|
|
Quote:
Originally posted by dandanfirema
I don't think additional ram would help. You have not used any of your swap space, which indicates that you are not lacking for RAM. You are running a VERY high number of processes. Can you tell me what the box is used for and what the apache Max Clients is set to?
|
Webserver for banner exchange
apache Max Clients is set to 650
|

10-19-2002, 08:30 PM
|
|
Newbie
|
|
Join Date: Oct 2002
Posts: 10
|
|
Quote:
Originally posted by dandanfirema
Also ps -ef | grep -c httpd
|
652
|

10-19-2002, 08:39 PM
|
|
Web Hosting Master
|
|
Join Date: Apr 2002
Posts: 1,162
|
|
|

10-19-2002, 08:49 PM
|
|
Newbie
|
|
Join Date: Oct 2002
Posts: 10
|
|
Quote:
Originally posted by dandanfirema
what are hardware spec?
|
PIII 850
640M RAM
18G SCSI
|
Related posts from TheWhir.com
|
| Title |
Type |
Date Posted |
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|