<div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 5, 2024 at 4:20 PM Eran Leshem <<a href="mailto:eranl@kayhut.com">eranl@kayhut.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">O.K.<div><br>I found the memory numbers in the file:<br>/etc/default/opensips<div>After changing the values (I multiplied it by 10 to: 640 and 40),<br>I restarted opensips and saw that the changes were applied in the log.</div><div><br></div><div>Thank you very much.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, May 5, 2024 at 3:56 PM Marcin Groszek <<a href="mailto:marcin@voipplus.net" target="_blank">marcin@voipplus.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>try this<br>
</p>
<p>cd /etc/</p>
<p>grep -r "S_MEMORY" *</p>
<p>or <br>
</p>
<p>updatedb<br>
</p>
<p>locate opensips</p>
<p><br>
</p>
<div>On 5/5/2024 7:52 AM, Eran Leshem wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">Unfortunately, I don't have the
folder /etc/sysconfig/ in my system.
<div dir="auto">Any other folder to find that file?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, 5 May 2024, 15:39
Marcin Groszek, <<a href="mailto:marcin@voipplus.net" target="_blank">marcin@voipplus.net</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I have edited /etc/sysconfig/opensips to set memory
parameters.</p>
<p><br>
</p>
<div>On 5/5/2024 7:01 AM, Eran Leshem wrote:<br>
</div>
<blockquote type="cite">
<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></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre cols="72">--
Best Regards:
Marcin Groszek
Business Phone Service
<a href="https://www.voipplus.net" rel="noreferrer" target="_blank">https://www.voipplus.net</a></pre>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" rel="noreferrer" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre cols="72">--
Best Regards:
Marcin Groszek
Business Phone Service
<a href="https://www.voipplus.net" target="_blank">https://www.voipplus.net</a></pre>
</div>
</blockquote></div>
</blockquote></div>