<div dir="ltr"> Hello Liviu,<div><br></div><div>Thanks for your answer,</div><div><br></div><div>Just to mention that I install from sources and "make install", and i use opensipsctl to start opensips. </div><div><br></div><div>From an old issue #1272 also solved by you, i got it working editing:</div><div><br></div><div>-edit /etc/opensips/opensipsctlrc and define STARTOPTIONS="-m128 -M16" </div><div><br></div><div><br></div><div>Best regards!</div><div>Mario</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 28, 2020 at 6:44 AM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</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">On 27.08.2020 10:55, Mario San Vicente wrote:<br>
> ERROR:core:qm_malloc_dbg: not enough free shm memory (0 bytes left, <br>
> need 6<br>
> 72), please increase the "-m" command line parameter!<br>
><br>
> What is the correct way to increase it on opensips 3.1?<br>
<br>
Hey Mario,<br>
<br>
IIRC, the "correct" way to do it on a package-based install is to edit <br>
the "S_MEMORY=" variable within the /etc/default/opensips or <br>
/etc/sysconfig/opensips configuration file. For all other install types <br>
(e.g. make && make install), you are free to specify your "-m 2048" (2 <br>
GB of shm, for example) command-line shared memory parameter however you <br>
see fit.<br>
<br>
Best regards,<br>
<br>
-- <br>
Liviu Chircu<br>
<a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
<br>
OpenSIPS Summit 2020 Distributed<br>
<a href="http://www.opensips.org/events/Summit-2020Distributed" rel="noreferrer" target="_blank">www.opensips.org/events/Summit-2020Distributed</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<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><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div>Mario San Vicente</div>
<div>Cheers!</div></div>