<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I have edited /etc/sysconfig/opensips to set memory parameters.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 5/5/2024 7:01 AM, Eran Leshem wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANuw4TF4gW9XPPP6YECnP0mmoxUfaxYp6z-NSyW7DOM_FXWuZg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div>I'm trying to increase the size of the memory that OpenSips
uses.</div>
<div>This is a bit strange to me, because when I run:</div>
<div>ps aux | grep -i opensips<br>
</div>
<div>I get:</div>
<div>/usr/sbin/opensips -P /run/opensips/opensips.pid -f
/etc/opensips/opensips.cfg -m 64 -M 4<br>
</div>
<div>but, when I look at:</div>
<div>/lib/systemd/system/opensips.service<br>
</div>
<div>I see:</div>
<div>Environment=P_MEMORY=32 S_MEMORY=32<br>
</div>
<div>ExecStart=/usr/sbin/opensips -P %t/opensips/opensips.pid -f
/etc/opensips/opensips.cfg -m $S_MEMORY -M $P_MEMORY $OPTIONS<br>
</div>
<div><br>
</div>
<div>So, from where does opensips get its memory parameters? (-m
-M)</div>
<div>And, how much can I give it? Can I increase it to 320 and
320?</div>
<div>My machine:</div>
<div>- Linux Mint 21.3 which is based on Ubuntu 22.04 LTS (Jammy
Jellyfish),</div>
<div>- 16 GB memory,</div>
<div>- OpenSIPS version 3.4</div>
<div><br>
</div>
<div>Thanks,<br>
Eran L.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Best Regards:
Marcin Groszek
Business Phone Service
<a class="moz-txt-link-freetext" href="https://www.voipplus.net">https://www.voipplus.net</a></pre>
</body>
</html>