You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/04/16 22:06:27 UTC

[Bug 3277] New: Memory leak?

http://bugzilla.spamassassin.org/show_bug.cgi?id=3277

           Summary: Memory leak?
           Product: Spamassassin
           Version: 2.63
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamassassin
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: blacksir@number.ru


On some messages spamassassin eats all my memory :-(
Seems like than this happens with big messages, for example 2Mb. But some big 
message can go fast, while other become into this: Apr 16 23:49:38 
inet /kernel: pid 14059 (perl5.00503), uid 65534, was killed: out of swap space

#top
last pid: 16793;  load averages:  0.07,  0.19,  0.14  up 39+01:58:19    23:48:03
49 processes:  1 running, 48 sleeping

Mem: 155M Active, 19M Inact, 64M Wired, 7580K Cache, 35M Buf, 956K Free
Swap: 1024M Total, 1007M Used, 17M Free, 98% Inuse


  PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
67195 mysql      2   0 53472K  5212K poll   637:38  1.76%  1.76% mysqld
67595 root       2   0  4132K  1540K select 345:01  0.78%  0.78% perl
  169 root       2   0  6124K  3056K sbwait 373:19  0.10%  0.10% natd
  297 root       2   0  2348K   480K select  44:23  0.00%  0.00% flow-capture
93419 clamav     2   0 27944K  4392K poll    15:51  0.00%  0.00% clamd
24505 root       2   0  4428K  2204K accept   3:14  0.00%  0.00% perl
  186 root       2   0  1028K   320K select   1:29  0.00%  0.00% syslogd
86680 root     -22   0   330M  7280K swread   0:59  0.00%  0.00% perl5.00503
  335 root       2   0  4408K   152K select   0:43  0.00%  0.00% snmpd
94307 root       2   0  1532K   232K select   0:42  0.00%  0.00% tpop3d
97636 root     -22   0   296M  6420K swread   0:39  0.00%  0.00% perl5.00503
 3521 root     -22   0   295M  6312K swread   0:37  0.00%  0.00% perl5.00503
  197 root      10   0  1024K   192K nanslp   0:35  0.00%  0.00% cron
14059 root     -22   0   294M   130M swread   0:32  0.00%  0.00% perl5.00503
31221 www       18   0  8936K     0K lockf    0:07  0.00%  0.00% httpd
31219 root       2   0  7412K   160K select   0:06  0.00%  0.00% httpd
39975 www       18   0  8760K  3052K lockf    0:06  0.00%  0.00% httpd
39976 www       18   0  8924K  2928K lockf    0:05  0.00%  0.00% httpd

#ps -wwaux | grep spamd
root     55927  0.0  0.9 23840 2184  ??  Is    4:45PM  
0:01.68 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.00503)
nobody   86680  0.0  3.4 337708 8744  ??  DL    9:58PM   
0:58.71 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.00503)
nobody   97636  0.0  2.9 303424 7444  ??  DL   10:37PM   
0:39.30 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.00503)
nobody    3521  0.0  2.8 301636 7232  ??  DL   10:58PM   
0:36.86 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.00503)
nobody   14059  0.0 48.7 300904 124792  ??  DL   11:37PM   
0:32.21 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.00503)
nobody   16765  0.0  2.5 23920 6352  ??  DL   11:47PM   
0:00.11 /usr/local/bin/spamd -a -c -d -r /var/run/spamd.pid (perl5.00503)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.