Autor: John Jetmore Data: Para: exim-users Asunto: Re: [Exim] Is it just me, or can't exim count? :)
On Wed, 14 May 2003, Philip Hazel wrote:
> On Wed, 14 May 2003, Chris Knipe wrote:
>
> > 2003-05-13 00:30:19 SMTP connection from [195.92.249.251] (TCP/IP connection
> > count = 2)
> > ^^^^^^^ There is no previous connection logged, thus the counter should be
> > 1, and not 2...
>
> <strawgrasp>
> You aren't by any chance using inetd are you?
> </strawgrasp>
This is totally circumstantial, but we had problems on heavily trafficked
smail3 machines w/ the connection counter. At first we got away w/ it by
restarting the daemon once a night, but as our mail flow steadily
increased I had to take more drastic measures. I made it so when the
counter got w/in 5 of the max, I would run through the array (or list or
whatever the structure was) and manually count up the number of
connections. Then I'd reset the counter to my hand count. Here's an
example from yesterday's logs from one of my two smail servers (and
(*knock wood*) I should actualy get to decommission these servers next
month or so):
05/13/2003 02:14:47: WCS resetting smtp_accept_count from 195 to 114
Of course, actually _fixing_ the problem would have been more desirable,
but I couldn't find the problem in the time allotted.
I know that exim's code has been rewritten from it's smail3-offshoot days,
but it's still interesting...