Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"Selfmonitor: too much memory for single process"

Sorry for the crosspost...

Astaro works excellent, however yesturday I started getting "To much memory for a single process" errors as well as CPU usage spiked to 100% when it rarely goes over 10%. Other than that everything seems to be functioning normal, but I am concerned. Here is the log output of SOME of these strange events...
Dec 29 22:09:18 erfw superdaemon.pl[532]:To much memory for a single process: 99036 kb
Dec 29 22:09:29 erfw superdaemon.pl[532]:To much memory for a single process: 99044 kb
Dec 29 22:09:41 erfw superdaemon.pl[532]:To much memory for a single process: 99052 kb
Dec 29 22:09:52 erfw superdaemon.pl[532]:To much memory for a single process: 99060 kb
Dec 29 22:10:04 erfw superdaemon.pl[532]:To much memory for a single process: 99072 kb
Dec 29 22:14:18 erfw daemon-watcher[528]:Watching superdaemon.pl...
Dec 29 22:14:18 erfw daemon-watcher[528]:No instance of superdaemon.pl running! Restarting...
Dec 29 22:14:20 erfw superdaemon.pl[532]:This is Superdaemon $Id: Bind.pm,v 1.4 2001/04/20 11:16:55 daniel Exp $ $Id: mailer.pm,v 1.33 2001/07/12 10:16:04 hennig Exp $ $Id: atqloop.pm,v 1.9 2001/04/23 13:08:37 daniel Exp $ $Id: gpg.pm,v 1.12 2001/05/28 12:07:39 hennig Exp $ $Id: harddisk.pm,v 1.17 2001/04/20 14:15:11 daniel Exp $ $Id: httpd.pm,v 1.9 2001/03/24 22:00:47 daniel Exp $ $Id: load.pm,v 1.10 2001/03/24 22:00:47 daniel Exp $ $Id: nacctd.pm,v 1.24 2001/06/18 15:06:51 hennig Exp $ $Id: network.pm,v 1.10 2001/03/24 22:07:08 daniel Exp $ $Id: procmem.pm,v 1.24 2001/07/12 10:16:04 hennig Exp $ $Id: squid.pm,v 1.13 2001/03/25 17:02:21 daniel Exp $ $Id: swap.pm,v 1.10 2001/07/12 16:39:56 hennig Exp $ $Id: syslogd.pm,v 1.12 2001/03/25 17:41:24 daniel Exp $ $Id: klogd.pm,v 1.1 2001/07/12 10:31:00 hennig Exp $ $Id: tmp_permissions.pm,v 1.10 2001/03/24 22:00:47 daniel Exp $ $Id: superdaemon.pl,v 1.68 2001/08/07 07:15:39 hansen Exp $ - starting with PID 532
Dec 29 22:24:20 erfw daemon-watcher[528]:Watching superdaemon.pl ALL OK
Dec 29 22:34:21 erfw daemon-watcher[528]:Watching superdaemon.pl ALL OK


Does anyone have any ideas? Self-Monitor says that everyhting is ok at the moment (I restarted the box), but CPU usage is still pegged.

Thanks,

Ryan Robitaille


This thread was automatically locked due to age.
Parents
  • What version of ASL do you use?
    I remember in a old 1.8X version was a problem with the selfmonitor, do you know the process with to much memory usage ('ps axwu')?
  • Ok, I have an update for this issue. After being restarted it will shortly begin sending out the "too much memory" message with memory usage slowly increasing (as well as CPU usage being pegged the whole time), after about 2 days (in my case) it apparently reaches its limit and stops functioning completely, no webadmin, no routing, no firewall! It has to be physically rebooted. 
    Such is the case tonight, I will post the memory consuming process tommorow since I do not have access to the box now (obviously).
    It is the latest Astaro (version 2.019) and I am not using any proxy or nat'ing, but does have PPTP VPN enabled. 

    Thanks,
    Ryan R.
  • I have a very very very similar issue please help out!!!!!
  • Ok, the offending process is "/usr/local/bin/nacctd" and the reason Astaro went dead is because of all the extra log entries. The drive filled up and that was it for me. [:)]
    CPU usage is still pegged and the messages are still coming.
  • I hate to employ the "shameless bump" tactic, but here it goes again.
    (per my notification email about 40 of them)

    ALARM - to much memory for a single process:
    65688 kb for /usr/local/bin/nacctd
    root      1698 90.6 20.2 65688 65052 ?       R    09:21 373:43 /usr/local/bin/nacctd

    Astaro Security Linux  2.019


    I estimate that sometime during the night it will go down. Does ANYONE have an idea?

    Thanks in advance,
    Ryan R.
  • Just for future reference, guys.

    I got the usage and messages to stop by removing all of my interfaces from "Accounting", which I don't really need anyways. Or from a previous post:
    touch /etc/no-superdaemon/nacctd 
    killall nacctd 

    Same deal. Everything seems to be better now but I still don't understand how it would start doing this all of the sudden.

    The only problem that remains is that now my "Portscan-LiveLog" and my "PacketFilter-violation-LiveLog" are now both blank.
    Oh well..
  • did you use gigabit ethernet? i know from a other  linux project that gigabit is too fast (or your cpu to slow for) for account and hash all packets in RAM with nacctd.
     
    perhaps it will also help if you decrease the flush time in /etc/naccttab.conf and the save interval in /etc/cronat-static (my 2c - yes, now we have also cent in europe ;-)
Reply
  • did you use gigabit ethernet? i know from a other  linux project that gigabit is too fast (or your cpu to slow for) for account and hash all packets in RAM with nacctd.
     
    perhaps it will also help if you decrease the flush time in /etc/naccttab.conf and the save interval in /etc/cronat-static (my 2c - yes, now we have also cent in europe ;-)
Children