https://github.com/kamailio/kamailio/blob/21afc6081c3044b4f754e6a34ea67fd98f2e3af9/src/core/daemonize.c#L596



On Tue, 7 Jul 2020 at 23:17, Joel Serrano <joel@textplus.com> wrote:
Hi all, 

Can anyone give me some info on what this warning means:

Jul  7 17:02:29 csbc02 csbc[16006]: WARNING: <core> [core/daemonize.c:596]: mem_lock_pages(): failed to lock the memory pages (disable swap): Cannot allocate memory [12]



Yes, if I set mlock_pages=no I don't see the warning, but I'm trying to understand why can't it allocate with mlock_pages=yes.

Joel.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337