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

ERROR: Too much memory for a single process

Hi,

I just got a bunch of warnings from my ASL 4.009 box:


Too much memory for a single process:
297108 kb for /usr/local/bin/fwlogwatch -S -f /var/log/kernel-20030707.gz -P n -b -m 5 -t -e -n -N -p
root     26330 97.1 57.3 297108 296048 ?     RN   00:08 776:38 /usr/local/bin/fwlogwatch -S -f /var/log/kernel-20030707.gz -P n -b -m 5 -t -e -n -N -p

This is the output from top:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
26330 root      20  19  296M 296M   492 R N     0 92.3 58.9 821:04 fwlogwatch

hni-fw-f:/root # ps -ef | grep 26330
root     26330 25520 97 00:08 ?        13:46:13 /usr/local/bin/fwlogwatch -S -f /var/log/kernel-20030707.gz -P n -b -m 5 -t -e -n -N -p
hni-fw-f:/root # ps -ef | grep 25520
root     25520 24581  0 00:05 ?        00:00:00 /usr/bin/perl -w /usr/local/bin/fwlw.pl /var/log/kernel-20030707.gz
root     26331 25520  0 00:08 ?        00:00:00 sh -c nice -19  /usr/bin/bzip2 -czq > /var/chroot-report/fwlogwatch/kernel-20030707/Dst_report.bz2
root     26330 25520 97 00:08 ?        13:46:21 /usr/local/bin/fwlogwatch -S -f /var/log/kernel-20030707.gz -P n -b -m 5 -t -e -n -N -p

After killing the process it got immediately restarted by fwlw.pl and also began to eat lots of memory, so I killed the damn parent.

What does this process try to do besides eating up my cpu and my memory? It did this for hours (the process was started at 0:05, I killed it at 14:25!).

Christopher
  


This thread was automatically locked due to age.
Parents
  • Hi Christopher,

    the process does the daily maintenance of the logfiles. The Kernel log can grow so big, if you have a lot of connections attemts that where logged.

    Normally the process needs miutes to compress the log, bul last year I had strange connection attemts on several ports that were blocked but logged so my Kernel log grows s and grows.

    bye

    Matthias  
  • Christopher,

    If I were you I'd check the packet filter logs to see what was going on.

    fwlogwatch and all other logfile parsers run with a low priority. If CPU time
    is available they'd get it but the processes wouldn't hamper any other important
    system critical processes.

    read you
    o|iver.    
Reply
  • Christopher,

    If I were you I'd check the packet filter logs to see what was going on.

    fwlogwatch and all other logfile parsers run with a low priority. If CPU time
    is available they'd get it but the processes wouldn't hamper any other important
    system critical processes.

    read you
    o|iver.    
Children
No Data