[OpenSIPS-Users] Increase OpenSips memory size

Marcin Groszek marcin at voipplus.net
Sun May 5 12:37:08 UTC 2024


I have edited  /etc/sysconfig/opensips to set memory parameters.


On 5/5/2024 7:01 AM, Eran Leshem wrote:
> Hi,
> I'm trying to increase the size of the memory that OpenSips uses.
> This is a bit strange to me, because when I run:
> ps aux | grep -i opensips
> I get:
> /usr/sbin/opensips -P /run/opensips/opensips.pid -f 
> /etc/opensips/opensips.cfg -m 64 -M 4
> but, when I look at:
> /lib/systemd/system/opensips.service
> I see:
> Environment=P_MEMORY=32 S_MEMORY=32
> ExecStart=/usr/sbin/opensips -P %t/opensips/opensips.pid -f 
> /etc/opensips/opensips.cfg -m $S_MEMORY -M $P_MEMORY $OPTIONS
>
> So, from where does opensips get its memory parameters? (-m -M)
> And, how much can I give it? Can I increase it to 320 and 320?
> My machine:
> - Linux Mint 21.3 which is based on Ubuntu 22.04 LTS (Jammy Jellyfish),
> - 16 GB memory,
> - OpenSIPS version 3.4
>
> Thanks,
> Eran L.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-- 
Best Regards:
Marcin Groszek
Business Phone Service
https://www.voipplus.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240505/cc2636aa/attachment.html>


More information about the Users mailing list