[Spce-user] Memory usage v4.5.6

Alex Lutay alutay at sipwise.com
Tue Apr 3 10:06:44 EDT 2018


Hi,

The issue has been reported already here:
https://lists.sipwise.com/pipermail/spce-user/2018-March/012396.html
also the link describes the possible workaround there.

The issue has been reported internally as TT#34001.

Thank you for the bug report here!

On 04/03/2018 02:25 PM, Hohl Matthias wrote:
> yes this is a known problem with the perl-fcgi processes.
> 
> It is caused from the ngcp-panel
> 
> Just do this:
> 
> # service ngcp-panel restart
> 
> After that, your web interface will be down for some seconds and it will
> restart again.
> 
> After the restart, the RAM usage will be in normal state.
> 
>  
> 
> Nice greets.
> 
>  
> 
>  
> 
> *Von:*Spce-user <spce-user-bounces at lists.sipwise.com> *Im Auftrag von
> *Robert Cuaresma
> *Gesendet:* Dienstag, 3. April 2018 13:37
> *An:* spce-user at lists.sipwise.com
> *Betreff:* [Spce-user] Memory usage v4.5.6
> 
>  
> 
> Hi to all!
> 
> 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.
> 
> 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:
> 
> USER           PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> www-data  4336  0.0  6.5 697068 399268 ?       S    Apr01   0:02 perl-fcgi
> www-data  4338  0.0  6.4 693376 397384 ?       S    Apr01   0:03 perl-fcgi
> www-data  4341  0.0  6.4 694684 396252 ?       S    Apr01   0:03 perl-fcgi
> www-data  4339  0.0  6.4 691792 395440 ?       S    Apr01   0:03 perl-fcgi
> www-data  4340  0.0  6.4 692868 394528 ?       S    Apr01   0:03 perl-fcgi
> www-data  4335  0.0  6.3 688172 391892 ?       S    Apr01   0:04 perl-fcgi
> www-data  4333  0.0  6.3 687392 391540 ?       S    Apr01   0:07 perl-fcgi
> www-data  4334  0.0  6.3 685612 389596 ?       S    Apr01   0:03 perl-fcgi
> www-data  4342  0.0  6.3 685776 389464 ?       S    Apr01   0:03 perl-fcgi
> www-data  4337  0.0  6.3 685832 387568 ?       S    Apr01   0:02 perl-fcgi
> www-data  4332  0.0  5.9 580016 364292 ?       Ss   Apr01   0:00
> perl-fcgi-pm [NGCP::Panel]
> 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
> 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
> root      2031  1.7  1.5 1224492 92160 ?       SLl  Apr01  42:19
> collectd -C /etc/collectd/collectd.conf -f
> 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
> 
> Is it normal that www-data expends this amount of memory?
> 
> Thanks a lot!
> 
> -- 
> Saludos,
> Robert Cuaresma
> TELCON, S.A.
> 
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> 

-- 
Alex Lutay
Head of Quality Assurance
Sipwise GmbH, Campus 21/Europaring F15
AT-2345 Brunn am Gebirge

Office: +43(0)13012036
Email: alutay at sipwise.com
Website: https://www.sipwise.com



More information about the Spce-user mailing list