[AMaViS-user] Time out cause

This is a discussion on [AMaViS-user] Time out cause within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello, I'm using Amavisd-new+MySQL+Postfix platform. I saw some message in maillog: status=deferred (delivery temporarily suspended: ...


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 06-03-2008
Rocco Scappatura
 
Posts: n/a
Default [AMaViS-user] Time out cause

Hello,

I'm using Amavisd-new+MySQL+Postfix platform.

I saw some message in maillog:

status=deferred (delivery temporarily suspended: conversation with
127.0.0.1[127.0.0.1] timed out while receiving the initial server
greeting)

Moreovere I tried to lauch amavisd-nanny but I get:

# /usr/local/src/amavisd-new-2.5.3/amavisd-nanny
process-id task-id elapsed in elapsed-bar (dots indicate idle)
or state idle or busy
BDB no dbN 1: Unknown locker ID: 4a19cd No such file or directory at
/usr/local/src/amavisd-new-2.5.3/amavisd-nanny line 122.
exited

I have the following 'db' package installed:

# rpm -qa | grep db
dbus-1-0.60-33.2
db-4.3.29-15.2
gdb-6.4-19.10
dbus-1-mono-0.60-33.2
dbus-1-python-0.60-33.2
db-devel-4.3.29-15.2
gdbm-1.8.3-243.2
db-utils-4.3.29-15.2
dbus-1-glib-0.60-33.2
gdbm-devel-1.8.3-243.2

I can't figure out what it can be the cause as I have the same software
installed on a different macchine and all works fine..

Moreover, could be the two anomalies related?

TIA,

rocsca

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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
  #2 (permalink)  
Old 06-04-2008
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Time out cause

Rocsca,

> status=deferred (delivery temporarily suspended: conversation with
> 127.0.0.1[127.0.0.1] timed out while receiving the initial server
> greeting)


Is postfix trying to open more connections to amavisd
than there are amavisd child processes ($max_servers) running?
Is this a pre-queue filtering setup?

> Moreovere I tried to lauch amavisd-nanny but I get:
>
> # /usr/local/src/amavisd-new-2.5.3/amavisd-nanny
> process-id task-id elapsed in elapsed-bar (dots indicate idle)
> or state idle or busy
> BDB no dbN 1: Unknown locker ID: 4a19cd No such file or directory at
> /usr/local/src/amavisd-new-2.5.3/amavisd-nanny line 122.


The BerkeleyDB::Hash::new failed, it reported 'Unknown locker ID: 4a19cd'
as a primary error (the 'No such file or directory' might be bogus).

> # rpm -qa | grep db
> dbus-1-0.60-33.2
> db-4.3.29-15.2
> gdb-6.4-19.10
> dbus-1-mono-0.60-33.2
> dbus-1-python-0.60-33.2
> db-devel-4.3.29-15.2
> gdbm-1.8.3-243.2
> db-utils-4.3.29-15.2
> dbus-1-glib-0.60-33.2
> gdbm-devel-1.8.3-243.2
>
> I can't figure out what it can be the cause as I have the same software
> installed on a different macchine and all works fine..
>
> Moreover, could be the two anomalies related?


Don't know, could be related if both problems show up at the same
time. If a database would end up in a permanently-locked state, the
'conversation with 127.0.0.1 timed out while receiving the initial
server greeting' could also be a symptom. Amavisd log might be
able to tell more. Trying db 4.4.20 or later might help too.

Mark

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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
  #3 (permalink)  
Old 06-05-2008
Rocco Scappatura
 
Posts: n/a
Default Re: [AMaViS-user] Time out cause

> > status=deferred (delivery temporarily suspended: conversation with
> > 127.0.0.1[127.0.0.1] timed out while receiving the initial server
> > greeting)

>
> Is postfix trying to open more connections to amavisd than
> there are amavisd child processes ($max_servers) running?
> Is this a pre-queue filtering setup?
>


Yes, I have a pre-queue filtering setup.

I have no idea if Postfix has reached the number of connections equal to
$max_servers.. :-( But I think that this is normally done..

> > Moreovere I tried to lauch amavisd-nanny but I get:
> >
> > # /usr/local/src/amavisd-new-2.5.3/amavisd-nanny
> > process-id task-id elapsed in elapsed-bar (dots

> indicate idle)
> > or state idle or busy
> > BDB no dbN 1: Unknown locker ID: 4a19cd No such file or

> directory at
> > /usr/local/src/amavisd-new-2.5.3/amavisd-nanny line 122.

>
> The BerkeleyDB::Hash::new failed, it reported 'Unknown locker
> ID: 4a19cd'
> as a primary error (the 'No such file or directory' might be bogus).


Infact..

> > # rpm -qa | grep db
> > dbus-1-0.60-33.2
> > db-4.3.29-15.2
> > gdb-6.4-19.10
> > dbus-1-mono-0.60-33.2
> > dbus-1-python-0.60-33.2
> > db-devel-4.3.29-15.2
> > gdbm-1.8.3-243.2
> > db-utils-4.3.29-15.2
> > dbus-1-glib-0.60-33.2
> > gdbm-devel-1.8.3-243.2
> >
> > I can't figure out what it can be the cause as I have the same
> > software installed on a different macchine and all works fine..
> >
> > Moreover, could be the two anomalies related?

>
> Don't know, could be related if both problems show up at the
> same time. If a database would end up in a permanently-locked
> state, the 'conversation with 127.0.0.1 timed out while
> receiving the initial server greeting' could also be a
> symptom. Amavisd log might be able to tell more. Trying db
> 4.4.20 or later might help too.


OK. I have reloaded amavisd-new and all has continued to works
correctly. It seems a 'one-time' problem. But anyway it coulb be pretty
nice to point the cause. The main disease was that I didn't be aware
that amavisd-new didn't work at all. The postfix active queue has
reached an huge number of messages.

So, now, I have found a way to monitor the status of amavisd-new,
watching the size of Postfix queues and the latency of messages..

Thanks,

rocsca

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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:32 AM.


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