[Tutor] weird socket errors on linux with asyncore

Lawrence Wang lawrence at pantherexpress.net
Mon Aug 13 04:40:01 CEST 2007


apologies if this doesn't belong on tutor.

i have a long-running script that manages a bunch of sockets with asyncore,
opening 600 connections every 30 seconds for short transactions, and every
now and then (like anywhere from twice an hour to once every few hours) i
get this weird error: "filedescriptor out of range in select()". i found a
bug report that stated that this was an issue with python 2.4.3, so i
upgraded to 2.5.1 -- but it's still happening. anyone seen this before?

thanks in advance for any help you can provide.

--lawrence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070812/90140273/attachment.html 


More information about the Tutor mailing list