[AMaViS-user] amavis process consuming >1GB RAM

This is a discussion on [AMaViS-user] amavis process consuming >1GB RAM within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello, from time to time, our antivirus systems suffer from exhaustion of all available RAM. I'm trying to find ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-22-2005
Pavel Urban
 
Posts: n/a
Default [AMaViS-user] amavis process consuming >1GB RAM

Hello,

from time to time, our antivirus systems suffer from exhaustion of all
available RAM. I'm trying to find out what's going on.

10:07:31 up 41 days, 15 min, 3 users, load average: 3.87, 3.31, 2.51
154 processes: 150 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 40.6% 0.0% 6.0% 0.2% 0.4% 121.6% 30.4%
cpu00 22.5% 0.0% 3.3% 0.0% 0.3% 62.3% 11.3%
cpu01 18.1% 0.0% 2.7% 0.3% 0.1% 59.2% 19.1%
Mem: 2057208k av, 2046108k used, 11100k free, 0k shrd, 5028k
buff
1579648k actv, 299888k in_d, 30684k in_c
Swap: 4192956k av, 1112300k used, 3080656k free 145564k
cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
16250 amavis 17 0 1457M 1.3G 344 R 21.3 66.2 1:15 1 amavisd
25205 amavis 15 0 42888 29M 2596 S 4.3 1.4 0:13 1 amavisd
4666 mysql 16 0 30404 10M 1124 S 3.5 0.5 195:58 0 mysqld
26359 amavis 15 0 38684 25M 2332 D 3.1 1.2 0:02 1 amavisd
26488 amavis 16 0 38992 25M 2220 S 3.1 1.2 0:04 0 amavisd
26260 amavis 15 0 40524 28M 2296 D 2.1 1.4 0:03 0 amavisd
26815 amavis 17 0 17244 11M 1772 S 1.7 0.5 0:14 1 amavisd
22328 amavis 17 0 17356 10M 1736 S 1.1 0.5 0:13 0 amavisd
22172 amavis 17 0 17252 11M 1768 S 0.9 0.5 0:16 1 amavisd
7 root 15 0 0 0 0 SW 0.7 0.0 74:56 0 kswapd
27148 amavis 17 0 17248 11M 1852 S 0.7 0.5 0:09 1 amavisd
28369 postfix 15 0 1272 1272 964 S 0.3 0.0 0:00 1 cleanup
20526 clamav 15 0 62816 7724 488 S 0.1 0.3 1904m 1 clamd



[root@antivir4 spamassassin]# strace -p 16250
Process 16250 attached - interrupt to quit
pread(35, "\0\0\0\0\1\0\0\0\343\374\0\0\0\0\0\0\0\0\0\0\250\ 0p\1\0"...,
4096, 265170944) = 4096
pread(35,
"\0\0\0\0\1\0\0\0\6)\1\0\277\230\0\0\0\0\0\0>\0$\v \0\2\341"...,
4096,311451648) = 4096
open("/var/spool/amavis/.spamassassin/auto-whitelist.lock.antivir4.iol.cz.16250",
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0700) = 36
ioctl(36, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffb1b8) = -1 ENOTTY
(Inappropriateioctl for device)
_llseek(36, 0, [0], SEEK_CUR) = 0
fstat64(36, {st_mode=S_IFREG|0700, st_size=0, ...}) = 0
fcntl64(36, F_SETFD, FD_CLOEXEC) = 0
<several minutes of no output>

Anybody has an idea? We've got Clamav and SA on this system, too -
Clamav as standalone process with IP socket communication, SA via Amavis
with some additional rules from SARE project.

Please, tell me where to look/what to post. Thanks!

RH ES 3 Linux, amavisd-new-2.2.0, spamassassin-3.0.1, clamav-0.83

--
************************************************** *********************
Pavel Urban (pavel.urban@ct.cz)
IOL system disaster
Internet OnLine, www.iol.cz (owned by Czech Telecom, www.ct.cz)
************************************************** *********************
Vegetables should not operate electronic equipment.
Computer Stupidities, http://rinkworks.com/stupid/
************************************************** *********************


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:04 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0