[Spce-user] Memory usage v4.5.6

Hohl Matthias matthias.hohl at telematica.at
Tue Apr 3 08:25:56 EDT 2018


Hello,



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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180403/1241ce45/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5532 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180403/1241ce45/attachment-0001.p7s>


More information about the Spce-user mailing list