Hi,

I have a postfix mail receiving server. On this I have setup amavisd-new 2.6.4 
(with Spamassassin 3.3.1 and ClamAV).

Earlier I have 2 (default) amavisd-new processes running.

Recently when more of my mails started to go into Postfix deferred queue, I 
increased the number of amavisd-new processes to 4 and did the corresponding 
changes in /etc/amavisd.conf and master.cf for number of processes (changed 
'maxproc') .

My machine config is as : 4GB RAM,  AMD Opteron (tm) Processor 885 @ 2.6 GHz

Since then my CPU utilization shows 100% and one of the amavisd processes seems 
to be stuck and I had to restart amavisd to resolve this issue. But this 
reoccurs again after a short span of time.

Here is the output from amavisd-nanny ,  You can see one of the process that is 
always stuck in "content checking just started".

States legend:
  A  accepted a connection
  b  begin with a protocol for accepting a request
  m  'MAIL FROM' smtp command started a new transaction in the same session
  d  transferring data from MTA to amavisd
  =  content checking just started
  G  generating and verifying unique mail_id
  D  decoding of mail parts
  V  virus scanning
  S  spam scanning
  P  pen pals database lookup and updates
  r  preparing results
  Q  quarantining and preparing/sending notifications
  F  forwarding mail to MTA
  .  content checking just finished
  sp space indicates idle (elapsed bar is showing dots)

PID 00613: 00613-10      0:00:01 =S
PID 00865: 00865-04      0:01:37 =========:=========:=========:===S>
PID 01198:               0:00:24 .........:.........:....
PID 01288: .             0:00:22 .........:.........:..

PID 00613: 00613-10      0:00:03 =SSS
PID 00865: 00865-04      0:01:39 =========:=========:=========:===S>
PID 01198:               0:00:26 .........:.........:......
PID 01288:               0:00:24 .........:.........:....

PID 00613: 00613-10      0:00:05 =SSSSS
PID 00865: 00865-04      0:01:41 =========:=========:=========:===S>
PID 01198:               0:00:28 .........:.........:........
PID 01288:               0:00:26 .........:.........:......

PID 00613: 00613-10      0:00:08 =SSSSSSF
PID 00865: 00865-04      0:01:43 =========:=========:=========:===S>
PID 01198:               0:00:30 .........:.........:.........:
PID 01288:               0:00:28 .........:.........:........

PID 00613: .             0:00:10 .........:
PID 00865: 00865-04      0:01:45 =========:=========:=========:===S>
PID 01198:               0:00:32 .........:.........:.........:..
PID 01288:               0:00:30 .........:.........:.........:

PID 00613:               0:00:12 .........:..
PID 00865: 00865-04      0:01:47 =========:=========:=========:===S>
PID 01198:               0:00:35 .........:.........:.........:.....
PID 01288:               0:00:32 .........:.........:.........:..

PID 00613:               0:00:14 .........:....
PID 00865: 00865-04      0:01:49 =========:=========:=========:===S>
PID 01198:               0:00:37 .........:.........:.........:.....
PID 01288:               0:00:34 .........:.........:.........:....

PID 00613:               0:00:16 .........:......
PID 00865: 00865-04      0:01:51 =========:=========:=========:===S>
PID 01198:               0:00:39 .........:.........:.........:.....
PID 01288:               0:00:36 .........:.........:.........:.....

PID 00613:               0:00:18 .........:........
PID 00865: 00865-04      0:01:53 =========:=========:=========:===S>
PID 01198:               0:00:41 .........:.........:.........:.....
PID 01288:               0:00:38 .........:.........:.........:.....

PID 00613:               0:00:20 .........:.........:
PID 00865: 00865-04      0:01:55 =========:=========:=========:===S>
PID 01198:               0:00:43 .........:.........:.........:.....
PID 01288:               0:00:40 .........:.........:.........:.....



Is it a problem?

Also if it is so , why is this happening and what changes/fixes I need to do to 
circumvent this problem?

Thanks in advance
Ashish Sharma

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to