Author |
Message |
Bri
Joined: 06 Aug 2004 Posts: 237 Location: Palm Springs, CA
|
Posted: Tue Jul 19, 2005 7:38 am Post subject: Apache |
|
|
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 |
|
|
Scotsman Site Admin
Joined: 03 Aug 2004 Posts: 705 Location: MadWolf Software
|
Posted: Thu Jul 21, 2005 11:35 am Post subject: |
|
|
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 |
|
|
Bri
Joined: 06 Aug 2004 Posts: 237 Location: Palm Springs, CA
|
Posted: Fri Jul 22, 2005 8:16 pm Post subject: Some that work for me |
|
|
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 |
|
|
|