Question about varnish memory usage
Adam Schumacher
adam.schumacher at flightaware.com
Thu Sep 18 17:49:21 CEST 2014
>
>
>
>thread_pool_max=4000
>thread_pools=24
>sess_workspace=262144
>
>IIRC it means up to 4000x24x262144 bytes of RAM (about 24Go) *only*
>for worker workspaces.
>
>Probably not what you want.
Yeah, I had noticed that too. It is something I need to work on to figure
out what the optimal setting is. However, the server is only using 792
worker threads which works out to < 200m for worker workspaces.
n_wrk 792 . N worker threads
One thing I am confused about is that in the man page, thread_pool_stack
default value is -1. I assume that means use the max defined by the OS?
In FreeBSD, I think the default thread stack size is 64K, so that
*shouldn’t* be a problem here, right?
>
>thread_pool_add_delay=3
>thread_pool_add_delay=2
Thanks for catching that, I’ll correct it.
::Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5831 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140918/061e84ac/attachment.bin>
More information about the varnish-misc
mailing list