> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of [email protected]
> Sent: Sunday, December 20, 2009 1:09 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] Help needed: rsyslog with ommail hang on network
> outage
> 
> On Sun, 20 Dec 2009, Oleg M?rk wrote:
> 
> > Hello,
> >
> > On Sun, Dec 20, 2009 at 1:10 AM,  <[email protected]> wrote:
> >> rsyslog does do async queuing by default, but only up until the
> point
> >> where the queue is full. At that point it defaults to blocking until
> there
> >> is more space in the queue.
> >
> > Thanks for the answer. But why does ommail hang when SMTP server is
> > unavailable? If I understand correclty with ActionResumeRetryCount
> > equal by default to 0 it should timeout and then give up sending the
> > message?
> 
> I don't know. I haven't messed with the retry/fail mechanisms.
> 
> however, remember that it takes time to fail, during that time more
> messages arrive, if some of those try to send messages they then take
> time
> to fail......

I will soon be out for xmas break (until early January) and have some
assignments before I go, so I can unfortunately not look into this case.
However, I guess that the connection to the SMTP server hangs, that is the
connection setup does neither abort nor succeed so that the connect() hangs -
which is beyond the control of rsyslog core's retry mechanism. Other than
that, I have no good clue so far. A debug log may help, but I can't promise
to look at it before mid-january.

Rainer

> 
> David Lang
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to