hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Do I need more RAM? How many?
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Do I need more RAM? How many?

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 10-19-2002, 10:19 AM
tom chow tom chow is offline
Newbie
 
Join Date: Oct 2002
Posts: 10
Question

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

Reply With Quote


Sponsored Links
  #2  
Old 10-19-2002, 10:56 AM
dandanfirema dandanfirema is offline
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?

__________________
*AlphaOmegaHosting.Com* - Hosting since 1998
Managed Dedicated Servers and VPS
Hosted Exchange 2010 Email Service

Reply With Quote
  #3  
Old 10-19-2002, 11:06 AM
dandanfirema dandanfirema is offline
Web Hosting Master
 
Join Date: Apr 2002
Posts: 1,162
Also ps -ef | grep -c httpd

__________________
*AlphaOmegaHosting.Com* - Hosting since 1998
Managed Dedicated Servers and VPS
Hosted Exchange 2010 Email Service

Reply With Quote
Sponsored Links
  #4  
Old 10-19-2002, 01:07 PM
kongen kongen is offline
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

Reply With Quote
  #5  
Old 10-19-2002, 03:59 PM
ClusterMania ClusterMania is offline
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

Reply With Quote
  #6  
Old 10-19-2002, 04:01 PM
dandanfirema dandanfirema is offline
Web Hosting Master
 
Join Date: Apr 2002
Posts: 1,162
I would put max clients around 300

__________________
*AlphaOmegaHosting.Com* - Hosting since 1998
Managed Dedicated Servers and VPS
Hosted Exchange 2010 Email Service

Reply With Quote
  #7  
Old 10-19-2002, 04:15 PM
ClusterMania ClusterMania is offline
Web Hosting Master
 
Join Date: Sep 2001
Location: Vancouver
Posts: 746
300 might be way too low. People would get locked out

Reply With Quote
  #8  
Old 10-19-2002, 04:17 PM
dandanfirema dandanfirema is offline
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

__________________
*AlphaOmegaHosting.Com* - Hosting since 1998
Managed Dedicated Servers and VPS
Hosted Exchange 2010 Email Service

Reply With Quote
  #9  
Old 10-19-2002, 04:41 PM
Faggle Faggle is offline
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

Reply With Quote
  #10  
Old 10-19-2002, 05:02 PM
ClusterMania ClusterMania is offline
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.

Reply With Quote
  #11  
Old 10-19-2002, 05:24 PM
porcupine porcupine is offline
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

__________________
Myles Loosley-Millman
Priority Colo Inc. - Affordable Colocation & Dedicated Servers.
admin@prioritycolo.com
http://www.prioritycolo.com

Reply With Quote
  #12  
Old 10-19-2002, 08:29 PM
tom chow tom chow is offline
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

Reply With Quote
  #13  
Old 10-19-2002, 08:30 PM
tom chow tom chow is offline
Newbie
 
Join Date: Oct 2002
Posts: 10
Quote:
Originally posted by dandanfirema
Also ps -ef | grep -c httpd
652

Reply With Quote
  #14  
Old 10-19-2002, 08:39 PM
dandanfirema dandanfirema is offline
Web Hosting Master
 
Join Date: Apr 2002
Posts: 1,162
what are hardware spec?

__________________
*AlphaOmegaHosting.Com* - Hosting since 1998
Managed Dedicated Servers and VPS
Hosted Exchange 2010 Email Service

Reply With Quote
  #15  
Old 10-19-2002, 08:49 PM
tom chow tom chow is offline
Newbie
 
Join Date: Oct 2002
Posts: 10
Quote:
Originally posted by dandanfirema
what are hardware spec?
PIII 850
640M RAM
18G SCSI

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?