Re: [BENCHMARK] Server Resources

[prev] [thread] [next] [Date index for 2005/01/14]

From: Rob Bloodgood
Subject: Re: [BENCHMARK] Server Resources
Date: 23:35 on 14 Jan 2005
Skylos wrote:

>My first suggestion based on a migration the company I work for did
>not too long ago would be to use apache2 in thread mode.  There was a
>staggering drop in system memory resources consumed when we made the
>shift - from most of a gigabyte to only a few hundred megs!   The
>site's response speed picked up too.
>
>Also, to compare, I work with an apache 1.3 site that has alot of cgi
>perl script on it.  With the idea that shifting to mod_perl registry
>mode would cause this site to go faster, I modified the configuration.
> And watched the system load average rapidly climb into the
>multiple-hundreds!  Its a tilt of the hat to BSD that it didn't crash
>right there.  But I was able to kill apache (-9 -9 -9!!) and restore
>the cgi scripts to normal mod_cgi handling.  What happened?  Memory
>usage.  Each copy of the apache had those big cgi scripts loaded in. 
>And this very busy server had ALOT of processes running
>simultaneously.
>  
>

If you don't need KeepAlives, (like for mostly dynamic output and few 
images or a seperate image server), you should check out lingerd: 
http://www.iagora.com/about/software/lingerd/.

On my site, which was running at the time with something like 85 
concurrent apache processes to keep up with the requests, I turned on 
lingerd and the number of processes running dropped to 10-12.  (saved us 
upgrading the box for another year :).  The memory usage and load 
average dropped accordingly, but naturally YMMV.

L8r,
Rob

[BENCHMARK] Server Resources
sofadmin 20:43 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Skylos 21:08 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Michael Peters 21:16 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Skylos 21:22 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
sofadmin 21:42 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Skylos 23:23 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Rob Bloodgood 23:35 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Perrin Harkins 20:39 on 17 Jan 2005

Re: [BENCHMARK] Server Resources
Larry Leszczynski 21:45 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
Stas Bekman 23:29 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
sofadmin 01:31 on 16 Jan 2005

RE: [BENCHMARK] Server Resources
Tom Gazzini 02:02 on 16 Jan 2005

RE: [BENCHMARK] Server Resources
Todd Finney 02:48 on 16 Jan 2005

Re: [BENCHMARK] Server Resources
Perrin Harkins 19:08 on 17 Jan 2005

Re: [BENCHMARK] Server Resources
Kyle Dawkins 22:52 on 14 Jan 2005

Re: [BENCHMARK] Server Resources
sofadmin 00:46 on 16 Jan 2005

Generated at 14:43 on 11 Apr 2005 by mariachi v0.52