Hello,

 

you can specify on command line during start:

 

henning@kam01:~$ /usr/sbin/kamailio -h | grep mem

    -m nr        Size of shared memory allocated in Megabytes

    -M nr        Size of private memory allocated, in Megabytes

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Hamid Hashmi
Sent: Friday, October 16, 2020 5:43 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] How to increase private & shared memory in kamailio Container?

 

Dear Users

 

How can I increase private memory in the Kamailio container?

 

the service was started with the following command

 

docker run -d --restart unless-stopped --network host -v /root/volumes/scscf/:/etc/kamailio --name scscf -e IP=10.161.224.90 -e INT_IP=10.161.224.90 10.161.224.196:5000/kamailio-ngvoice

 

PS: I don't have a docker file to build the image again. 

 

Regards

Hamid R. Hashmi