Re: Coping with higher traffic

Jacob Smullyan <[email protected]> Mon, 23 May 2005 10:26:31 -0400
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
On Mon, May 23, 2005 at 12:27:39PM +0000, Andreas Kaempf wrote:
> Hi, SkunkWeb has been purring away happily serving several low-traffic
> sites on my server, but I will soon be adding a temporary site that will
> significantly bump up the traffic for a few weeks. 
> 
> Does anyone have any guidelines on whether SkunkWeb behind
> Apache needs to be configured differently for higher load
> situations? The obvious setting is numProcs in sw.conf, currently set
> to 5.

Increasing numProcs a bit is a good idea, but you don't necessarily
need to raise it very high; it isn't the number of hits that matters,
but the number of concurrent hits, so the difference between a
low-traffic and a medium-traffic site may be negligible.  I suggest
running ab or siege or a similar tool against it with various numProcs
settings and see what difference it makes.  Where I work I ended up
lowering it on our two servers to 9 each, which is fine for our
traffic.

> Is that the key variable to deal with increased load? Are there any
> diagnostics anyone would recommend to check whether limits are being
> approached?

It is the main knob to twiddle.  

Cheers,

j




> 
> Many thanks,
> Andreas
> St. Albans, UK
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Skunkweb-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/skunkweb-list
> 

-- 
Jacob Smullyan


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click