Does anyone know why tcpserver would do this?
It seems to be randomly hanging on incoming connections, about 1 in every 10:
Connection closed by foreign host.
adam@orbicus:~$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <25910.965424763@orbicus>
quit
+OK
Connection closed by foreign host.
adam@orbicus:~$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <25912.965424764@orbicus>
quit
+OK
Connection closed by foreign host.
[a bunch more times]
then... randomly, this will happen:
adam@orbicus:~$ telnet localhost 110
Trying 127.0.0.1...
[hangs]
Logs show nothing out of the ordinary:
@40000000398b36852712097c tcpserver: status: 1/40
@40000000398b368527154d6c tcpserver: pid 25910 from 127.0.0.1
@40000000398b3685271c9c84 tcpserver: ok 25910 localhost:127.0.0.1:110
:127.0.0.1::3755
@40000000398b368605ccc39c tcpserver: end 25910 status 256
@40000000398b368605cd486c tcpserver: status: 0/40
@40000000398b36861a2ae01c tcpserver: status: 1/40
@40000000398b36861a324a8c tcpserver: pid 25912 from 127.0.0.1
@40000000398b36861a39dc0c tcpserver: ok 25912 localhost:127.0.0.1:110
:127.0.0.1::3757
@40000000398b368633f6a29c tcpserver: end 25912 status 256
@40000000398b368633f7276c tcpserver: status: 0/40
Here is the command I'm using to run tcpserver:
adam@orbicus:~$ cat /var/qmail/supervise/qmail-popup/run
#!/bin/sh
PATH=$PATH:/var/qmail/bin:/usr/local/bin
exec /usr/local/bin/softlimit -m 2000000 \
tcpserver -R -H -v -x/etc/tcp.pop3.cdb -u0 0 110 qmail-popup
orbicus /bin/checkpassword qmail-pop3d Maildir 2>&1
Any ideas? I've already recompiled both qmail and ucspi-tcp. We had some
disk problems recently so I wanted to make sure they weren't damaged somehow.
--Adam