Author: W B Hacker Date: To: exim users Subject: Re: [exim] refused: too many connections
Andrew Johnson wrote: > I'm having an issue with Exim 4.63 on a Centos server. Exim will run fine
> for a few days then all of a sudden start reporting that there are too many
> connections.
>
>
>
> smtp_accept_max is currently 500
>
> queue_run_max is currently 50
>
>
>
> When I do a netstat -anp there are only a handful of actual connections to
> Exim, but a ps shows 500+ processes.
>
>
>
> exiwhat responds saying that just about all the processes running are
> accepting connections from various addresses.
>
>
>
> I do have an av_scanner set up using F-Secure
>
>
>
> Any thoughts on why I get a misleading message, and why its stopping me
> accepting email ?
>
>
>
> -Andy-
>
>
>
Not necessarily 'misleading'. Just not on the same time-base for
averaging, and not related to total bytes flowing.
Those exim children are probably only getting a byte or three every now
and then. Symptom resembles zombots hanging on the teat.
Check for how many unique IP there are.
I limit max_per to TWO, and drop really early on rDNS fail, so never see
anything even remotely close to what you've described.