amavis-user October 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: [AMaViS-user] Amavisd Stop Responding

[AMaViS-user] Amavisd Stop Responding

From: Hook <soygarfio_at_nospam>
Date: Thu Oct 28 2010 - 19:04:11 GMT
To: amavis-user@lists.sourceforge.net

Hi List

I am using Amavisd-new latest, and Postfix 2.7.0.

>From time to time, the mail queue starts growing and must disable amavis to release it.

I tried several configs, maxprocs, etc. and still failing.

I just add loglevel=3 to amavisd, trying to catch the error.

And got this:

Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) ESMTP: NOTICE: client broke the connection without a QUIT ()
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) Requesting process rundown after 21 tasks (and 17 sessions)
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) TempDir removal: empty tempdir is being removed: /var/lib/amavis/tmp/amavis-20101028T104522-01082
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) load: 42 %, total idle 141.884 s, busy 104.628 s
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) smtp session rundown all sessions, idle 1.8 s, smtp:[127.0.0.1]:10025, state ehlo
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) smtp session rundown, sending QUIT
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) smtp cmd> QUIT
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) smtp resp to QUIT: 221 2.0.0 Bye
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) smtp session rundown, closing session smtp:[127.0.0.1]:10025
Oct 28 10:49:28 fobos amavis[1082]: (01082-17-2) Amavis::Out::SMTP::Session close, disconnecting
Oct 28 13:44:47 fobos amavis[11575]: logging initialized, log level 3, syslog: amavis.mail
Oct 28 13:44:47 fobos amavis[11575]: Valid PID file (younger than sys uptime 2 23:11:00)
Oct 28 13:44:48 fobos amavis[817]: Net::Server: 2010/10/28-13:44:47 Server closing!
Oct 28 13:44:48 fobos amavis[11575]: Waiting for the process [817] to terminate
....
Oct 28 10:54:09 fobos postfix/smtp[1431]: E29111783EC: to=<marazul-costaatlantica@gesell.com.ar>, relay=127.0.0.1[127.0.0.1]:10024, delay=301, delays=0.45/0/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Oct 28 10:54:15 fobos postfix/smtp[1432]: 491BB178431: to=<pancho@gesell.com.ar>, relay=127.0.0.1[127.0.0.1]:10024, delay=300, delays=0.18/0/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Oct 28 10:54:16 fobos postfix/smtp[1607]: BC0F3178422: to=<microtek@gesell.com.ar>, relay=127.0.0.1[127.0.0.1]:10024, delay=303, delays=3.1/0.01/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Oct 28 10:54:21 fobos postfix/smtp[1439]: EE18D177EAE: to=<santinebao@gesell.com.ar>, relay=127.0.0.1[127.0.0.1]:10024, delay=301, delays=1.3/0/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Oct 28 10:54:21 fobos postfix/smtp[1610]: DB199178439: to=<mmcoletta@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=300, delays=0.04/0.01/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
....
The configs are:

main.cf:
--------
# Interface al AMaVIsd-new, si comento, lo anulo.
content_filter = smtp-amavis:[127.0.0.1]:10024
max_use = 12

master.cf:
----------
####################
# AMaVIs interface #
####################
#
smtp-amavis unix - - n - 12 smtp
    -o smtp_data_done_timeout=120
    -o disable_dns_lookups=yes

127.0.0.1:10025 inet n - n - - smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o mynetworks=127.0.0.0/8
    -o strict_rfc821_envelopes=yes
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000

50-user:
--------
$max_servers = $ENV{MAXPROC} || 12;
$log_level = 3;

Can some explain to ma whats wrong?

Regards

Andres.-

      

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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