hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : should i configure my apache settings?
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

should i configure my apache settings?

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-2003, 01:42 PM
moflow moflow is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Posts: 63

should i configure my apache settings?


Hello I run site that gets 3,000,000 hits per month.
I run a Celeron 1.7 ghz with 512 mb ram.
My memory keeps going down fast and when i check the processes i see the following:
Code:
root      1230  0.0  1.4 80128 7108 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1234  0.1  1.4 80344 7584 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1235  0.0  1.4 80356 7560 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1236  0.1  1.5 80376 7608 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1237  0.0  1.4 80316 7392 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1238  0.1  1.5 80400 7632 ?        R    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1239  0.1  1.5 80364 7592 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1240  0.0  1.4 80348 7564 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1241  0.0  1.4 80340 7568 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1260  0.1  1.5 80400 7628 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1263  0.0  1.4 80332 7552 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1264  0.0  1.4 80352 7572 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1267  0.1  1.4 80336 7572 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1268  0.0  1.4 80352 7576 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1269  0.1  1.5 80368 7604 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1270  0.0  1.4 80308 7528 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
psaadm    1276  0.0  0.6  5968 3224 ?        S    12:20   0:00 /usr/local/psa/admin/bin/https
psaadm    1277  0.0  0.6  5968 3224 ?        S    12:20   0:00 /usr/local/psa/admin/bin/https
psaadm    1278  0.0  0.6  5968 3224 ?        S    12:20   0:00 /usr/local/psa/admin/bin/https
psaadm    1279  0.0  0.6  5968 3224 ?        S    12:20   0:00 /usr/local/psa/admin/bin/https
psaadm    1280  0.0  0.6  5968 3224 ?        S    12:20   0:00 /usr/local/psa/admin/bin/https
apache    1281  0.1  1.5 80384 7620 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1282  0.0  1.4 80308 7524 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1283  0.0  1.4 80288 7364 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1284  0.1  1.5 80400 7628 ?        S    12:20   0:01 /usr/sbin/httpd -DHAVE_ACCESS
apache    1285  0.0  1.4 80320 7388 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1286  0.0  1.5 80384 7596 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1287  0.0  1.5 80376 7604 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
apache    1288  0.0  1.5 80376 7604 ?        S    12:20   0:00 /usr/sbin/httpd -DHAVE_ACCESS
should i configure my apache settings?

Reply With Quote


Sponsored Links
  #2  
Old 10-19-2003, 01:50 PM
CLucich CLucich is offline
Web Hosting Master
 
Join Date: Jul 2003
Location: San Antonio, Tx
Posts: 1,033
That's not eating your memory. All those Apache processes are only using 80mb combined not per process. Apache itself rarely causes memory problems. It's more likely that you have a rogue CGI or PHP script that isn't releasing resources properly.

__________________
Charnell Lucich
Community Engagement Manager
Rackspace Hosting
http://community.rackspace.com

Reply With Quote
  #3  
Old 10-19-2003, 01:58 PM
moflow moflow is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Posts: 63
I don't have any php scripts, and i only use like 3 cgi scripts that are small and exit properly.

Reply With Quote
Sponsored Links
  #4  
Old 10-19-2003, 02:01 PM
CLucich CLucich is offline
Web Hosting Master
 
Join Date: Jul 2003
Location: San Antonio, Tx
Posts: 1,033
How are you checking your memory usage?

__________________
Charnell Lucich
Community Engagement Manager
Rackspace Hosting
http://community.rackspace.com

Reply With Quote
  #5  
Old 10-19-2003, 02:16 PM
moflow moflow is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Posts: 63
using the top command from shell

Reply With Quote
  #6  
Old 10-19-2003, 02:19 PM
moflow moflow is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Posts: 63
since 3 million hits a month is kinda high, should i increase my MaxClients 150 to MaxClients 300 ? will that help?

Reply With Quote
  #7  
Old 10-19-2003, 02:43 PM
CLucich CLucich is offline
Web Hosting Master
 
Join Date: Jul 2003
Location: San Antonio, Tx
Posts: 1,033
Changing the max clients will not affect your memory consumption, it'll simply allow your server to handle more concurrent connections.

The numbers in "top" do not accurately reflect how your system memory is being used. You should run "free -m" and check the "free" column on the buffers/cache line .. this is how much memory is available for applications.

Linux uses memory to cache disk I/O in order to increase filesystem performance. Since reading/writing to memory is 1,000 times faster than any hard drive, it makes sense to keep frequently accessed data in memory. However, if a process needs the memory that is used for caching disk I/O, the memory is immediately released and allocated to the applicatoin.

__________________
Charnell Lucich
Community Engagement Manager
Rackspace Hosting
http://community.rackspace.com

Reply With Quote
  #8  
Old 10-19-2003, 03:02 PM
moflow moflow is offline
Junior Guru Wannabe
 
Join Date: Oct 2003
Posts: 63
should i also leave change the current following :
MinSpareServers 5
MaxSpareServers 20

Reply With Quote
  #9  
Old 10-19-2003, 03:08 PM
CLucich CLucich is offline
Web Hosting Master
 
Join Date: Jul 2003
Location: San Antonio, Tx
Posts: 1,033
I really don't think that has anything to do with it either. Leave it.

__________________
Charnell Lucich
Community Engagement Manager
Rackspace Hosting
http://community.rackspace.com

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Researchers Urge System Admins to Check for New Apache Web Server Backdoor Malware Web Hosting News 2013-05-01 11:35:53
Apache Web Server Adds Cloud Capabilities with First Major Update in 5 Years Web Hosting News 2012-02-21 16:05:02
The Apache Software Foundation Launches Hadoop v1.0 Web Hosting News 2012-01-05 18:29:16
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Patch Released for Apache Software DDoS Vulnerability Web Hosting News 2011-08-26 15:03:10


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?