Re: tcpserver: status: 120/120
Asif Iqbal <vadud3 <at> gmail.com>
2012-02-04 02:44:36 GMT
On Fri, Feb 3, 2012 at 8:40 PM, Andy Bradford
<amb-sendok-1330911659.fbmioobiocpoaipnkikb <at> bradfords.org> wrote:
> Thus said Asif Iqbal on Fri, 03 Feb 2012 02:56:56 EST:
>
>> I am seeing all 120 incoming connections are staying filled up.
>
> Why are they staying filled up? There are many reasons why this could be
> happening. Is the server under a Denial of Service attack? Or, is it
> just a few hosts that seem to be holding the connection open longer than
> they should? Use tcpdump (or recordio) to find out what's happening.
> It's possible that some spammer just has a broken SMTP client and is not
> QUITing in a suitable amount of time.
>
> Before you start applying patches and potential solutions, you need to
> identify the actual problem.
I also noticed multiple greylite process was running for long time, like below.
(iqbala)@qmail:~$ ps -eo pid,etime,args | grep g[r]ey
12909 03:34:35 /usr/local/bin/greylite /var/qmail/bin/qmail-smtpd
It should not be running longer than few seconds when system working correctly
So far, only quick fix was rebooting the mailserver.
Here is how the qmail-smtpd starts
(iqbala)@qmail:~$ cat /service/qmail-smtpd/run
#!/bin/sh
(Continue reading)