[SR-Users] Memory allocation

Duarte Rocha duarterocha91 at gmail.com
Wed Dec 19 19:25:08 CET 2018


Greetings,

I have some things that i want to udnerstand about Kamailio's memory
allocation.

My settings are 1024Mb for shared memory and 12Mb for private memory.

I'm running Kamailio on a machine with CentOS7 and 2Gb of RAM. As i
understand, at startup Kamailio will allocate 1024+12*number_of_processes
megabytes of memory. Is this correct?

When i set up Kamailio to run with 150 processes, after starting, i still
have 500Mb of free RAM and therefore not allocated to any process. That
goes against what i wrote earlier.

What is the best way to plan for memory specs in my machines according to
the desired number of processes and shared\private memory defined?

Best Regards,

Duarte Rocha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181219/86639642/attachment.html>


More information about the sr-users mailing list