[OpenSIPS-Users] Something odd with TLS Memory

Vasilios Tzanoudakis vasilios.tzanoudakis at voiceland.gr
Tue May 12 06:57:19 EST 2020


Hi James,

Make sure you are calling those ENVs in the ExecStart like this:
ExecStart=/usr/local/opensips/sbin/opensips -m $S_MEMORY -M $P_MEMORY -P
/var/run/opensips_edge.pid -f /etc/opensips/edge/opensips.cfg

Regards




Vasilios Tzanoudakis
*Technology Director & Co-Founder*
VOICELAND S.A.
p: +302122228000 <+30%2021%202222%208000>
f: +302122228001 <+30%2021%202222%208001>
a: 2, Klisthenous Str., Metamorfosi, 14452, Attica, Greece
w: www.voiceland.gr  e: vasilios.tzanoudakis at voiceland.gr
<https://www.facebook.com/vtzan.tzanou>
<https://www.linkedin.com/in/vtzan/>
This email communication (and any attachments) are confidential and are
intended only for the individual(s) or entity named above and others who
have been specifically authorized to receive it. If you are not the
intended recipient, please do not read, copy, use or disclose the contents
of this communication to others. Please notify the sender that you have
received this email in error by replying to the email or by telephoning
+30-212-222-8000 <+30%2021%202222%208000>. Please then delete the email and
any copies of it. This information may be subject to legal professional or
other privilege or may otherwise be protected by work product immunity or
other legal rules. Thank you.

*Think Green // Print if only necessary*




On Tue, May 12, 2020 at 2:07 AM James Hogbin <james at ip-sentinel.com> wrote:

> I’m getting
>
> May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338]
> INFO:proto_tls:tls_connect: New TLS connection to 52.114.75.24:5061
> established
> May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338]
> ERROR:core:fm_malloc: not enough free pkg memory (524933432 bytes left,
> need 18446744071987018544), please increase the "-M" command line parameter!
> May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338]
> INFO:core:fm_malloc: attempting defragmentation...
> May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338]
> INFO:core:fm_malloc: unable to alloc a big enough fragment!
> May 11 22:54:15 sbc opensips[11302]: May 11 22:54:15 [11338]
> ERROR:proto_hep:add_hep_payload: no more pkg mem!
>
> It doesn’t seem to matter what I put in the
> /lib/systemd/system/opensips.service
> Environment=P_MEMORY=512 S_MEMORY=2048
>
> I’ve tried P_MEMORY = 32, 64, 128, 256 and now 512.
>
> I’ve tried rebooting but no difference
>
> How do I work out what’s eating the memory?
>
> James
>
> *James Hogbin*
> *Director*
> [image: IP Sentinel Logo] <http://ip-sentinel.com>
> t. +44 (0)20 3011 4150 <+442030114150>
> m. +44 7786910895
> w. https://www.ip-sentinel.com
>
> IP Sentinel Disclaimer
> The information contained in this e-mail, and any attachment, is
> confidential and is intended solely for the use of the intended recipient.
> Access, copying or re-use of the e-mail or any attachment, or any
> information contained therein, by any other person is not authorized.
> Unintended recipients are prohibited from taking action on the basis of
> information in this e-mail. If you are not the intended recipient or have
> received this email in error, please notify the sender immediately by
> return email and delete the email from your computer. E-mail messages may
> contain computer viruses or other defects, may not be accurately replicated
> on other systems, or may be intercepted, deleted or interfered with without
> the knowledge of the sender or the intended recipient. We do not guarantee
> that either are virus-free and accept no liability for any damage sustained
> as a result of computer viruses or other defects. . IP Sentinel Ltd is a
> limited company registered in England and Wales under Registered Number
> 08648097. Registered Office: Newnhams Wood, Horsted Keynes, West Sussex,
> RH17 7BT.
> Q3dhRSrm_disclaimer
> _______________________________________________
> 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/20200512/d8602ce4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 120051200064600639.png
Type: image/png
Size: 3317 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20200512/d8602ce4/attachment-0001.png>


More information about the Users mailing list