Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old December 19th, 2000, 03:46 PM
scandy scandy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Posts: 2 scandy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have a dedicated Red Hat Linux server with 128Mb RAM. I've currently 30'000 visitors a day (1250/hours) on some free hosts and when I redirect them to my dedicated server, the server is full in a few seconds.

Right now my MaxClient property on httpsd.conf is 150 and I know I could change this but when I look at the running process (using the 'top' utility), I see that 95% of my RAM is used already (and 0.2% of CPU). Each httpsd process takes 2.4% of RAM! Isn't ~3Mb a lot?! I use PHP and MySQL but that still seems a lot to me!!! (I mean, I don't use Windows! URL ).

I'll updgrade my RAM soon but I'm not even sure if 256Mb will be enough! Maybe I should go with 512Mb? Or maybe is there a way to optimize Apache so that each process takes less RAM? Should I remove some of the default modules? I could remove mod_perl since I don't use it but maybe other modules? Could I manage to get 1-2Mb of RAM per httpd process by changing some configurations?

Thanks,

sCandy

Reply With Quote
  #2  
Old December 19th, 2000, 04:12 PM
Bigwebmaster Bigwebmaster is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: Seattle, WA, USA
Posts: 11 Bigwebmaster User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 2 m 30 sec
Reputation Power: 0
Send a message via ICQ to Bigwebmaster
HI sCandy,

When I use Apache I also notice that it does you a good percent of the ram. The processor (800 Mhz) is usually about 90% free and I run plenty of scripts (mostly PERL) on the server. I have 512 megs of PC133 ram and it still looks like Apache takes up a great deal of the memory. Currently the server gets about 45,000 people a day total with all the websites on it. I would also like to know if by removing modules it will use a smaller amount of the ram. Good luck

------------------
The Big Webmaster

Reply With Quote
  #3  
Old December 21st, 2000, 05:49 PM
oskar oskar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Copenhagen, DK
Posts: 222 oskar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 50 m 40 sec
Reputation Power: 8
Send a message via ICQ to oskar
I don't have the answer, but I may have the link: http://www.apacheweek.com/tips/tips
Steffen

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > How much users/day for 128Mb of RAM?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway