Movatterモバイル変換


[0]ホーム

URL:


Problem with asyncore and Python2.0

Craig Findlaycraigf at ilid.com.au
Tue Apr 17 02:07:25 EDT 2001


   I have just installed Python2.0 on a box running OpenBSD2.8   Now a simple asyncore based server that was running happily on thebox under Python 1.6, dies whenever a client tries to connect. (Theserver runs a proprietary protocol which is probably not importanthere) Now for the strange part.   If I start the server from the console or from a remote SSHsession, while I am logged on the server runs fine and clients canconnect to it successfully.   However, If I then log off the console or the SSH session, the nexttime a client tries to connect, the process dies silently.   The same thing happens if I start the server from the rc.localscript when the box boots.   I have tried putting in lots of print and syslog statements in thescript to try to find the point at which this happens but I can'twhich leads me to suspect that it is the underlying sockets layer. Thescript does not seem to be throwing an exception.   I cannot understand why the script works while I am logged on tothe console or via SSH.Any ideas?Craig


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp