Search squid archive

Re: shared_memory_locking failed to mlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux