Bugs item #1448058, was opened at 2006-03-11 15:19 Message generated for change (Settings changed) made by nnorwitz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1448058&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Threads Group: Python 2.5 >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: aix-d (aix-d) Assigned to: Nobody/Anonymous (nobody) Summary: problems with too many sockets in FreeBSD Initial Comment: When there are about 200 sockets, or so, i'm getting errors: "unable to select on socket" We are running multithread application, for each thread there is one socket. TRACEBACK contains: r = self.connection.recv(1024) error: unable to select on socket. This error appeared after fixing this problem: http://sourceforge.net/tracker/index.php?func=detail&aid=1429585&group_id=5470&atid=105470 Python version: 2.5a0 (trunk, Mar 8 2006, 18:28:30) OS version: FreeBSD 6.1-PRERELEASE Soon we will make program that will reproduce this error if needed. ---------------------------------------------------------------------- Comment By: aix-d (aix-d) Date: 2006-03-22 11:32 Message: Logged In: YES user_id=1449422 Thank you very much! It was fixed by increasing FD_SETSIZE. ---------------------------------------------------------------------- Comment By: Neal Norwitz (nnorwitz) Date: 2006-03-13 23:37 Message: Logged In: YES user_id=33168 What is the value of FD_SETSIZE? Perhaps you should increase this value before including any headers on FreeBSD? If you are using a lot of sockets, you may prefer to use poll() instead of select() as poll() doesn't have the FD_SETSIZE limitation. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1448058&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com