Andrew Azarov <[EMAIL PROTECTED]> added the comment: tested:
Python 2.5.2 (r252:60911, Jun 24 2008, 16:40:26) [GCC 4.2.1 20070719 [FreeBSD]] on freebsd7 FreeBSD tomcat 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 expt -> o read -> fo Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "/usr/local/lib/python2.5/threading.py", line 446, in run self.__target(*self.__args, **self.__kwargs) File "test.py", line 13, in server data = conn.recv(1024, socket.MSG_OOB) error: (22, 'Invalid argument') and: Python 2.5 (r25:51908, Jun 25 2007, 16:00:15) [GCC 3.4.2 [FreeBSD] 20040728] on freebsd5 FreeBSD timcat 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat Sep 9 03:32:05 MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 expt -> o read -> fo Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python2.5/threading.py", line 460, in __bootstrap self.run() File "/usr/local/lib/python2.5/threading.py", line 440, in run self.__target(*self.__args, **self.__kwargs) File "test.py2", line 13, in server data = conn.recv(1024, socket.MSG_OOB) error: (22, 'Invalid argument') and: Python 2.4.3 (#1, Jun 23 2006, 10:54:52) [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 FreeBSD comanchee-girl 4.9-RELEASE-CMN-1.1 FreeBSD 4.9-RELEASE-CMN-1.1 #4: Mon Apr 26 02:11:27 MSD 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CMN i386 expt -> o read -> fo Exception in thread Thread-1: Traceback (most recent call last): File "/usr/local/lib/python2.4/threading.py", line 442, in __bootstrap self.run() File "/usr/local/lib/python2.4/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "test.py", line 13, in server data = conn.recv(1024, socket.MSG_OOB) error: (22, 'Invalid argument') All versions are stable and working in production. Except 7th version the servers are loaded (la 0.2 to 3) with http/mysql/mail daemons. Seems like a bug in python socket usage of freebsd for long time. ---------- nosy: +Ikinoki _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3277> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com