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

Memory leak in 6.312

Hi there

I have a memory leak which occurs about every 4 months. It will suck up all available swap space and the bring the system to halt. I dont know yet which process it is. It's going on at the moment. This is the output of the top vmem processes:

top - 21:56:07 up 99 days,  6:09,  1 user,  load average: 0.30, 0.24, 0.19
Tasks: 132 total,   1 running, 124 sleeping,   0 stopped,   7 zombie
Cpu(s):  3.3% us,  1.3% sy,  0.0% ni, 95.0% id,  0.3% wa,  0.0% hi,  0.0% si
Mem:    191548k total,   166376k used,    25172k free,     7760k buffers
Swap:  1048816k total,   325972k used,   722844k free,    39304k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                              
16173 root      15   0  107m  18m  292 S  0.0  9.7  25:59.70 snort_inline                                                                         
21644 root      16   0 57092  33m 1412 S  0.0 17.8   9:53.58 mdw_daemon.pl                                                                        
21639 root      16   0 19848 6028 1124 S  0.3  3.1  93:58.52 v4watcher                                                                            
21638 root      16   0 19376 8260 1216 S  0.0  4.3 554:38.89 dns_resolver                                                                         
 3038 root      18   0 17288 2328  832 S  0.0  1.2   0:00.32 aua.bin                                                                              

First suspect would be snort, I will post updates tomorrow.

Markus


This thread was automatically locked due to age.
Parents
  • Eeek, any way you can get more memory in that machine? It seems to be grossly underpowered to be running snort...

    Right now, the load on the machine looks OK, even though it is using a lot of swap.
  • hm, it is running fine that way. memory is as low as possible to save energy.

    swap usage is still rising (about 150M per week) but no change in top output:

    top - 11:22:18 up 100 days, 19:35,  1 user,  load average: 0.12, 0.20, 0.18
    Tasks: 154 total,   1 running, 147 sleeping,   0 stopped,   6 zombie
    Cpu(s):  0.7% us,  0.7% sy,  0.0% ni, 98.7% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:    191548k total,   179228k used,    12320k free,     2004k buffers
    Swap:  1048816k total,   344696k used,   704120k free,    27584k cached

      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    16173 root      15   0  107m  16m  296 S  0.0  8.9  29:17.63 snort_inline
    21644 root      16   0 57092  33m 1384 S  0.0 17.8  10:17.01 mdw_daemon.pl
     8286 wwwrun    18   0 26932  18m 2316 S  0.0 10.1   0:05.49 index.fpl
    21639 root      16   0 19848 6024 1124 S  0.0  3.1  97:22.57 v4watcher
    21638 root      16   0 19376 8240 1216 S  0.0  4.3 574:52.28 dns_resolver
     3038 root      18   0 17288 2148  804 S  0.0  1.1   0:00.35 aua.bin
    21661 root      16   0 16500  10m 1848 S  0.0  5.5   2445:34 confd
    20506 root      17   0 16488 5064  972 S  0.0  2.6   1034:54 selfmonng.pl

    Anything else I can do to find the problem?
  • Update: I think I found it. There are lots of these 3 reporter processes, about 80 of them:

    root       560  1201  0 04:03 ?        00:00:00 /usr/bin/perl /usr/local/bin/reporter/cfilter-reporter.pl
    root       561  1201  0 04:03 ?        00:00:00 /usr/bin/perl /usr/local/bin/reporter/pfilter-reporter.pl
    root       562  1201  0 04:03 ?        00:00:00 /usr/bin/perl /usr/local/bin/reporter/smtp-reporter.pl

    other reporter processes exist only once.
  • Any idea what could cause this? Anybody else having this issue?
  • Not sure what that reporter process is, but you might try turning off all reporting and see what that does.
Reply Children