Varnish 3 - thread_pools

Lasse Karstensen lkarsten at
Thu Mar 7 15:39:32 CET 2013

On Thu, Mar 07, 2013 at 08:44:59AM -0300, lnsano at wrote:
> By the book, the thread_pools should be 2. However the server is multi-processed(8 cpus) and can handle more thread_pools.
> This server handles more than 5000 requests/sec. So, I found the thread_pool_max should be around 1000 and up to 5000.
> Is it a good ideia increasing the thread_pools to 8 and decreasing the thread_pool_max?


Keep thread_pools at 2.

> Or, what's the best config for a server with 8 cpus and 32GB ram.

Start out with 1 thread per concurrent connection.

With regards,
Lasse Karstensen
Varnish Software AS

More information about the varnish-misc mailing list