Apache

Post new topic   Reply to topic Site Building View previous topic :: View next topic  
Author Message
Bri



Joined: 06 Aug 2004
Posts: 237
Location: Palm Springs, CA

PostPosted: Tue Jul 19, 2005 7:38 am    Post subject: Apache Reply with quote

Has anyone considered using a separate web server such as thttpd or TUX for static files, such as images?

Was curious if Scotsman or any readers have messed with Apache to optimize for Manor. Some small items I have noticed without getting heavy into the bowels of it, help a ton. Many patches can offer an increase the performance of branch Apache/1.3.x up to 900% when targeted to Manor and not as a general hosting default config.

Misc related improvements to pass on..
Remove all unnecessary modules and directives in the httpd.conf configuration file. This will place the minimum load on the server.

Improved PHP performance, compile PHP in statically instead of loading it as a module. This will cause some pain each time PHP is upgraded (as Apache must be recompiled) but will help squeeze every last drop of server power from your machine.
_________________
RL..now with 100% less lag!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Scotsman
Site Admin


Joined: 03 Aug 2004
Posts: 705
Location: MadWolf Software

PostPosted: Thu Jul 21, 2005 11:35 am    Post subject: Reply with quote

I have been running Apache 2.x on my testing server actually. Have found adjusting the max number of reserve servers up from the defaults and some other tweaks make significant differences. Will have to dig out exactly what I tweaked when I'm home.
Back to top
View user's profile Send private message Visit poster's website
Bri



Joined: 06 Aug 2004
Posts: 237
Location: Palm Springs, CA

PostPosted: Fri Jul 22, 2005 8:16 pm    Post subject: Some that work for me Reply with quote

Not played with the GNU Apache patch project yet..
*some of these may affect web pages and general web, be aware*
-----------------------------------------------------
ExtendedStatus off
FancyIndexing off.
MaxClients 256 (depends on how much memory is available)
Timeout 300
KeepAlive On
MaxKeepAliveRequests 120
KeepAliveTimeout 8 (lowering does lower the load but it will break images)
MinSpareServers 10 (keep it low helps)
MaxSpareServers 20 (creating processes u don't need, increases load)
StartServers 5
MaxClients 64
MaxRequestsPerChild 1000 (prevents memory leaks)
_________________
RL..now with 100% less lag!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 6 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum