Ofer Inbar:
> Wietse Venema <[EMAIL PROTECTED]> wrote:
> > Ofer Inbar:
> > > Victor Duchovni <[EMAIL PROTECTED]> wrote:
> > > > Your queue manager is crashing.
> > > [...]
> > > > Queue manager re-starts.
> > > 
> > > Is that a bug?  Should it handle this situation more gracefully?
> > 
> > No, you should not restart the queue manager willy-nilly.
> 
> Right.  But when we had "too many" smtp processes, and memory got
> scarce, qmgr was in effect restarting itself willy-nilly every few
> minutes.  It might have been due to memory scarcity & swapping, or
> something else correlated with that.  It stopped happening when we
> reduced the number of smtp processes.
> 
> So my question is, in those conditions, isn't the fact that qmgr
> crashes and restarts every few minutes, a bug?

Could you be bothered to look at the error message?

And no, this is not a bug. When a Postfix process requests a resource
and the kernel has run out of that resource, then the Postfix
process frees up whatever resources it has and restarts after some
delay. This is better than everyone screwing over the system by
hanging on to its resources and thereby making the problem worse.

This is basic deadlock recovery strategy.

        Wietse

Reply via email to