[tpop3d-discuss] has anyone seen such behaviour with tpop3d 1.5.1? (hanging)

Arkadiusz Miskiewicz arekm at pld-linux.org
Tue, 2 Sep 2003 09:54:33 +0200


The problem is that tpop3d after working for a while hangs. I mean new=20
connection seems be accepted but nothing more happens:

[arekm@mobarm arekm]$ telnet myhost.pl pop3
Trying xx.110...
Connected to myhost.pl.
Escape character is '^]'.
(and hangs here)

on server processes looks like this
[root@gucio root]# ps ax -O wchan | grep tpop
 8568 schedu S ?        00:00:03 /usr/sbin/tpop3d -f /etc/tpop3d.conf
17345 schedu S ?        00:00:01 /usr/sbin/tpop3d -f /etc/tpop3d.conf
19009 schedu S ?        00:00:00 /usr/sbin/tpop3d -f /etc/tpop3d.conf
19013 schedu S ?        00:00:00 /usr/sbin/tpop3d -f /etc/tpop3d.conf

Server has load ~ 1.0.

Config:
listen-address:=20
0.0.0.0(host.pl);tls=3Dstls,/etc/openssl/certs/host.crt,/etc/openssl/certs/=
host.key=20
\                =20
0.0.0.0(host.pl);tls=3Dimmediate,/etc/openssl/certs/host.crt,/etc/openssl/c=
erts/host.key

append-domain: yes
auth-pam-enable: no
auth-passwd-enable: no
auth-mysql-enable: yes
auth-mysql-mail-group: mail
auth-mysql-database: sys_
auth-mysql-hostname: db.host.pl
auth-mysql-username: user
auth-mysql-password: pass
auth-mysql-pass-query: SELECT=20
'/var/mail/$(local_part)',concat('{plaintext}',user.passwd),'mail','bsd' FR=
OM=20
user LEFT JOIN
user_pop ON user.id=3Duser_pop.id WHERE user.login=3D'$(local_part)' AND=20
user.active=3D1 AND user_pop.active=3D1

It's tpop3d 1.5.1 with fork fix patch applied from cvs=20
(http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/tpop3d-fork.patch?rev=3D1.=
1).

The problem is that I can't trace it down since it's production system. For=
=20
now I've downgraded tpop3d to 1.4.2. Note that 1.4.2 doesn't hang.

Has anyone seen similar behaviour on Linux (2.4.21 with O(1) scheduler, gli=
bc=20
2.2.5)?
=2D-=20
Arkadiusz Mi=B6kiewicz    CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux