<div dir="ltr">Hola, <div><br></div><div>After a quick googling, I've found this [1], trying that would be a good workaround instead of restarting, I have no SipWise servers in production yet, so it could be nice if someone with decent traffic wanna give it a try</div><div><br></div><div>[1] <a href="https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/">https://www.tecmint.com/clear-ram-memory-cache-buffer-and-swap-space-on-linux/</a><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue., 28 nov. 2019 a las 10:34, Henk via Spce-user (<<a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a>>) escribió:<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>Hi,</p>
<p>Best workaround is to restart the service weekly by cron, but it
would be better if the leak was repaired.</p>
<p>Henk<br>
</p>
<div>On 28-11-2019 16:45, Brian Pelletier
wrote:<br>
</div>
<blockquote type="cite">
<div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif"><br id="gmail-m_4640597013652227061br3">
<span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13.3333px;background-color:rgb(255,255,255)">I
can't remember if this is the same thing I was seeing at one
point but it's at least similar. As kind of a bandaid I
increase my swap space and never saw an issue with memory
again. Not sure if that will help in this case or not. </span><br id="gmail-m_4640597013652227061br3">
<br id="gmail-m_4640597013652227061br3">
<div id="gmail-m_4640597013652227061signature">
<div><span style="font-size:10pt">Brian Pelletier</span></div>
</div>
<div id="gmail-m_4640597013652227061content"><br>
---- On Thu, 28 Nov 2019 09:32:12 -0500 <b>
<a href="mailto:rfuchs@sipwise.com" target="_blank">rfuchs@sipwise.com</a> </b> wrote ----<br>
<br>
<blockquote style="border-left:1px solid rgb(204,204,204);padding-left:6px;margin-left:5px">
<div>On 28/11/2019 08.56, Henk via Spce-user wrote:<br>
> Hi all,<br>
><br>
> I noticed mediator uses a lot of memory on mr6.5.6:<br>
><br>
> ngcp-memory-usage -m MB<br>
> PID=13627 - Rss used: 376.01 MB - (kamailio)<br>
> PID=14412 - Rss used: 395.91 MB - (perl-fcgi-pm [N)<br>
> PID= 8101 - Rss used: 429.21 MB - (perl-fcgi)<br>
> PID= 8768 - Rss used: 429.54 MB - (perl-fcgi)<br>
> PID= 8866 - Rss used: 429.98 MB - (perl-fcgi)<br>
> PID= 8571 - Rss used: 430.37 MB - (perl-fcgi)<br>
> PID=27287 - Rss used: 430.58 MB - (perl-fcgi)<br>
> PID=13044 - Rss used: 2899.39 MB - (mysqld)<br>
> PID=29116 - Rss used: 7733.08 MB - (mediator)<br>
><br>
> After a restart it's down to 9MB, so it looks like
there is a memory <br>
> leak. Anyone else has an increasing memory usage for
mediator?<br>
><br>
Thanks for the report, we're looking into it.<br>
<br>
Cheers<br>
<br>
<br>
<br>
-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" target="_blank">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</div>
</blockquote>
</div>
</div>
<br>
<br>
<fieldset></fieldset>
</blockquote>
</div>
-- <br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com" rel="noreferrer" target="_blank">http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com</a><br>
</blockquote></div>