[OpenSIPS-Users] Increase OpenSips memory size

Eran Leshem eranl at kayhut.com
Sun May 5 12:01:18 UTC 2024


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240505/c27ecdba/attachment.html>


More information about the Users mailing list