postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: Postfix locking up, not accepting connections

Re: Postfix locking up, not accepting connections / smtp not sending emails out

From: Wietse Venema <wietse_at_nospam>
Date: Fri Oct 29 2010 - 17:23:30 GMT
To: Postfix users <postfix-users@postfix.org>

> > On 10/29/2010 05:43 PM, lst_hoe02@kwsoft.de wrote:
> > > Maybe another instance of this problem?
> > > http://tech.groups.yahoo.com/group/postfix-users/message/269786
> >
> > Even though at some point postfix stopped at EPOLL_WAIT...

The main loop in the master is as follows:

forever {
    set an alarm for 1000s
    do an EPOLL_WAIT for up to 500s and handle any child process
        events, or short-term timer requests that are implemented
        around the EPOLL_WAIT timer.
    respond to sighup (the sighup flag is set by a signal handler)
    respond to sigchld (the sigchld flag is set by a signal handler)
}

It would be worthwhile to see what strace reports when you leave
it running. If strace reports nothing in 500s then EPOLL_WAIT is
not working. If strace reports nothing after 1000s then the alarm
timer is also not working.

        Wietse