RLIMIT_MEMLOCK

Ingvar Hagelund ingvar at linpro.no
Fri Mar 7 16:11:10 CET 2008


* Dag-Erling Smørgrav
> Starting with r2561, Varnish will attempt to lock the shared memory log
> in memory.  On some systems, this will fail due to RLIMIT_MEMLOCK being
> too low.  It may be a good idea to have the default init script set it
> to a reasonably large value.  The default log size is 80 MB + header, so
> something like 'ulimit -l 82000' should be fine.

Fixed in trunk for redhat.

Ingvar


-- 
Buddha wears an iPod


More information about the varnish-dist mailing list