Stuck on max 1024 threads

Arjen Schat arjen at thenextweb.com
Thu Nov 17 09:30:17 CET 2011


Does anyone have information in this subject?

Greatly appreciated,

Arjen

On 14 nov. 2011, at 19:38, Arjen Schat wrote:

> Hi,
> 
> This is the config used for startup.
> 
> # Maximum number of open files (for ulimit -n)
> NFILES=131072
> 
> # Locked shared memory (for ulimit -l)
> # Default log size is 82MB + header
> MEMLOCK=82000
> 
> 
> DAEMON_OPTS="-a 219.201.78.31:80 \
>             -T 168.20.2.106:6082 \
>             -f /etc/varnish/default.vcl \
>             -p listen_depth=4096 \
>             -p session_linger=150 \
>             -p thread_pool_add_delay=5 \
>             -p thread_pools=4 \
>             -p thread_pool_max=1500 \
>             -p thread_pool_min=50 \
>             -u varnish -g varnish \
>             -S /etc/varnish/secret \
>             -s malloc,6G"
> 
> 
> Thank you,
> Arjen
> 
> On 14 nov. 2011, at 19:03, Cosimo Streppone wrote:
> 
>> On Mon, 14 Nov 2011 18:51:21 +0100, Arjen Schat <arjen at thenextweb.com> wrote:
>> 
>>> Varnish can't get over a 1024 threads.
>>> thread_pool_max = 1500
>> 
>> It can. Trust me.
>> 
>>> All kernel settings are above 1024
>>> Ulimit is above 1024
>> 
>> Can you post your startup command,
>> or /etc/default/varnish if you have it?
>> 
>> -- 
>> Cosimo
>> 
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
> 





More information about the varnish-misc mailing list