[OpenSIPS-Users] Increase OpenSips memory size

Eran Leshem eranl at kayhut.com
Sun May 5 12:52:39 UTC 2024


Unfortunately, I don't have the folder /etc/sysconfig/ in my system.
Any other folder to find that file?

On Sun, 5 May 2024, 15:39 Marcin Groszek, <marcin at voipplus.net> wrote:

> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> --
> Best Regards:
> Marcin Groszek
> Business Phone Servicehttps://www.voipplus.net
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240505/60d722f7/attachment.html>


More information about the Users mailing list