[issue12502] 100% cpu usage when using asyncore with UNIX socket
Benjamin Ash
report at bugs.python.org
Mon Feb 4 17:08:24 CET 2013
Benjamin Ash added the comment:
Hi Charles-François,
I am using a recent version of Python-2.7 that does in fact contains this patch http://hg.python.org/cpython/rev/16bc59d37866:
python-2.7.3-4.fc16.x86_64 (Fedora 16)
The CPU usage spikes after I make the initial client connection to the socket.
I am able to reproduce the issue using the attached script 'asyncore_test.py', and any of the following:
- simple asyncore.dispatcher_with_send client.
- simple asyncore.dispatcher client.
- a direct socket.socket() connection.
Not sure what might be going wrong here. Any help would be most appreciated.
Thanks,
-ben
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12502>
_______________________________________
More information about the Python-bugs-list
mailing list