[SR-Users] failed to lock the memory pages (disable swap) WARNING

David Villasmil david.villasmil.work at gmail.com
Wed Jul 8 02:09:23 CEST 2020


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



On Tue, 7 Jul 2020 at 23:17, Joel Serrano <joel at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-- 
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200708/2bf2abc8/attachment.html>


More information about the sr-users mailing list