SunQuest
           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 June 10th, 2001, 05:13 AM
kojr kojr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 51 kojr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
best server setting

how to tune the server be the best for loading http???
my server is P3 866 with 512RAM
using Linux 7.0

it is my settings in my server now~

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 0
KeepAliveTimeout 15
MinSpareServers 100
MaxSpareServers 100
StartServers 100
MaxClients 100
MaxRequestsPerChild 0

I still think its efficiency could be enhanced...
Thanks for any response...or advice...

Reply With Quote
  #2  
Old June 10th, 2001, 07:00 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> how to tune the server be the best for loading http???

On top of that, there are still many dependencies you failed to provide (i.e. how many users, what other daemons running)

Why you KeepAlive Off?

The following can handle roughly 3000 - 5000 users:
StartServers 100
MinSpareServers 35
MaxSpareServers 75
MaxClients 512
MaxRequestsPerChild 20000
rlimitcpu 90 90
rlimitmem 50000000 50000000

Reply With Quote
  #3  
Old June 10th, 2001, 11:17 AM
kojr kojr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 51 kojr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
how to tune the server be the best for loading http

1.KeepAlive Off

for the reason of speed- as http to the page will be very slow if it is on(i tried it on before and do not know the reason)

2.supposely my visiters are daily 100,000 to 200,000 (I hope)
How the settings are..

3.any trade off for the settings you suggested and my currently used settings.

Reply With Quote
  #4  
Old June 10th, 2001, 01:20 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> for the reason of speed- as http to the page will be very slow if it is on

No. If you wanted to optimize your server, you should enable it. Setting keepalive off is a waste of bandwidth, really waste. KeepAliveTimeout 15 is fine. If your server runs out of httpds, increase the number of httpd and lower the number of Keepalive timeout, but never disable it.
The setting I provided can handle well over 300,000 requests. The 5000 users I mentioned previously was referring to number of sites on your server. You might want to get more memory, 1GB or more is not uncommon as the price is damn cheap these days.

>> any trade off

You still haven't provided what other daemons you are running on the same box.

If you really wanted to maximize the performance, don't run Linux, run FreeBSD.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > best server setting


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