[squid-users] shared_memory_locking failed to mlock
Gordon Hsiao
capcoding at gmail.com
Mon Jul 16 13:55:16 UTC 2018
after increased shared memory(/dev/shm on linux), it does not help, still
don't know why mlock fails, or how much memory it needs to mlock to avoid
failing.
On Sun, Jul 15, 2018 at 9:47 PM Gordon Hsiao <capcoding at gmail.com> wrote:
> Just upgraded squid to 4.1, however if I enabled shared_memory_locking I
> failed to start squid:
>
> "FATAL: shared_memory_locking on but failed to
> mlock(/squid-tls_session_cache.shm, 2101212): (12) Out of memory"
>
> How do I know how much memory it is trying to mlock? is 2101212(~2MB) the
> shm size of not, any way to debug/looking-into/config this size?
>
> Again I disabled cache etc for a memory restricted environment, also used
> the minimal configuration with a few enable-flags, in the meantime I want
> to avoid memory overcommit from squid(thus mlock)
>
> Regards,
> Gordon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180716/8da93bf5/attachment.html>
More information about the squid-users
mailing list