<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=DE-AT link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hello,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>yes this is a known problem with the perl-fcgi processes.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>It is caused from the ngcp-panel<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Just do this:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'># service ngcp-panel restart<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>After that, your web interface will be down for some seconds and it will restart again.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>After the restart, the RAM usage will be in normal state.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Nice greets.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'>Von:</span></b><span lang=DE style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext'> Spce-user <spce-user-bounces@lists.sipwise.com> <b>Im Auftrag von </b>Robert Cuaresma<br><b>Gesendet:</b> Dienstag, 3. April 2018 13:37<br><b>An:</b> spce-user@lists.sipwise.com<br><b>Betreff:</b> [Spce-user] Memory usage v4.5.6<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri",sans-serif'>Hi to all!<br><br>I have an installation of Sipwise 4.5.6 and i have observed that it expend a lot of memory. After reboot of the server, the memory usage is aroundof 50% (the server has 6 GB of RAM), but 20-30 days later, the memory usage is around of 97-98%, and it start to use the swap memory.<br><br>Yesterday, i reboot the server and the memory usage, at this moment is 53,3% (of 6 GB) and the output of ps aux --sort -rss is:<br><br>USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND<br>www-data 4336 0.0 6.5 697068 399268 ? S Apr01 0:02 perl-fcgi<br>www-data 4338 0.0 6.4 693376 397384 ? S Apr01 0:03 perl-fcgi<br>www-data 4341 0.0 6.4 694684 396252 ? S Apr01 0:03 perl-fcgi<br>www-data 4339 0.0 6.4 691792 395440 ? S Apr01 0:03 perl-fcgi<br>www-data 4340 0.0 6.4 692868 394528 ? S Apr01 0:03 perl-fcgi<br>www-data 4335 0.0 6.3 688172 391892 ? S Apr01 0:04 perl-fcgi<br>www-data 4333 0.0 6.3 687392 391540 ? S Apr01 0:07 perl-fcgi<br>www-data 4334 0.0 6.3 685612 389596 ? S Apr01 0:03 perl-fcgi<br>www-data 4342 0.0 6.3 685776 389464 ? S Apr01 0:03 perl-fcgi<br>www-data 4337 0.0 6.3 685832 387568 ? S Apr01 0:02 perl-fcgi<br>www-data 4332 0.0 5.9 580016 364292 ? Ss Apr01 0:00 perl-fcgi-pm [NGCP::Panel]<br>kamailio 3588 0.0 5.3 582964 327240 ? SL Apr01 0:00 /usr/sbin/kamailio -f /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m 247 -M 32 -u kama<br>mysql 3026 0.9 3.1 1537084 195760 ? Sl Apr01 22:48 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/my<br>root 2031 1.7 1.5 1224492 92160 ? SLl Apr01 42:19 collectd -C /etc/collectd/collectd.conf -f<br>kamailio 3661 0.0 1.0 589008 65532 ? S Apr01 0:35 /usr/sbin/kamailio -f /etc/kamailio/proxy/kamailio.cfg -P /var/run/kamailio/kamailio.proxy.pid -m 247 -M 32 -u kama<br><br>Is it normal that www-data expends this amount of memory?<br><br>Thanks a lot!</span><o:p></o:p></p><div><p class=MsoNormal>-- <br><span style='font-size:10.0pt;font-family:"Calibri",sans-serif'>Saludos,<br></span><span lang=CA style='font-size:10.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:ES'>Robert Cuaresma<br>TELCON, S.A.<br><br></span><o:p></o:p></p></div></div></body></html>