Re: Connections on the varnishbox

2007-10-26 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rg rav?= writes: >"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: >> In retrospect, I am not convinced that idea/implementation of >> multiple thread pools is sufficiently sound. Its one area that >> we will have to impove somehow. >>

Re: Connections on the varnishbox

2007-10-26 Thread Dag-Erling Smørgrav
"Poul-Henning Kamp" <[EMAIL PROTECTED]> writes: > In retrospect, I am not convinced that idea/implementation of > multiple thread pools is sufficiently sound. Its one area that > we will have to impove somehow. > > Under no circumstances should more than a few pools (< 5) be created. I wonder...

Re: Connections on the varnishbox

2007-10-26 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rg rav?= writes: >One thing the man page doesn't mention is that connections are >assigned to pools by computing (fd % thread_pools), so increasing the >number of pools will also increase the likelihood that a connection >will remain o

Re: Connections on the varnishbox

2007-10-25 Thread Dag-Erling Smørgrav
Eivind Bengtsson <[EMAIL PROTECTED]> writes: > Dag-Erling Smørgrav wrote: > > Eivind Bengtsson <[EMAIL PROTECTED]> writes: > > > How many thread pools do I have ? (default?) > > 1 > Can I just raise the number of thread pools ? - what is the penalty ? >From varnishd(1): thread_pools

Re: Connections on the varnishbox

2007-10-25 Thread Eivind Bengtsson
Hello again Dag-Erling Smørgrav wrote: > Eivind Bengtsson <[EMAIL PROTECTED]> writes: >> Do I understand you correctly >> >> I need to set -p thread_pool_max = 1500 > > yes, or use the management interface to change it (but you will have > to restart the child) I'll change it in the initscript an

Re: Connections on the varnishbox

2007-10-25 Thread Dag-Erling Smørgrav
Eivind Bengtsson <[EMAIL PROTECTED]> writes: > Do I understand you correctly > > I need to set -p thread_pool_max = 1500 yes, or use the management interface to change it (but you will have to restart the child) > How many thread pools do I have ? (default?) 1 > Howcome I can have more than 150

Re: Connections on the varnishbox

2007-10-25 Thread Eivind Bengtsson
Do I understand you correctly I need to set -p thread_pool_max = 1500 How many thread pools do I have ? (default?) Howcome I can have more than 1500 connections now, without changing the Thread_pool_max ? The only change I've made is to ulimit -n 131072 (which is default in the debian etch 1.1.

Re: Connections on the varnishbox

2007-10-25 Thread Dag-Erling Smørgrav
Eivind Bengtsson <[EMAIL PROTECTED]> writes: > How many open TCP-connections can a standard linuxbox 64bit 2.6.17 > kernel - GB ethernet interface... When is it okay for me to start > worrying? 1000 connections, 2000, 3 ? It depends on many factors (hardware, OS version, application, access patt

Connections on the varnishbox

2007-10-25 Thread Eivind Bengtsson
Hello How many open TCP-connections can a standard linuxbox 64bit 2.6.17 kernel - GB ethernet interface... When is it okay for me to start worrying? 1000 connections, 2000, 3 ? as it is now my box says : [EMAIL PROTECTED]:/var/log/varnish# /usr/lib/nagios/plugins/check_connections -w 1000 -c 15