This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Alexey.Agapitov
Recipients Alexey.Agapitov
Date 2011-07-05.17:25:36
SpamBayes Score 1.9145256e-09
Marked as misclassified No
Message-id <1309886737.55.0.564500561229.issue12502@psf.upfronthosting.co.za>
In-reply-to
Content
When using asyncore server with UNIX socket, I got 100% CPU usage.
I run modified code example from asyncore doc page.
This code was tested on two systems:

Ubuntu 10.04 2.6.32-32-generic #62-Ubuntu SMP

with two versions of Python:
Python 3.2 (r32:88445, Mar 29 2011, 08:55:36)

Python 3.2.1rc2 (default, Jul  5 2011, 20:33:19) Built from sources

and
Gentoo 2.6.36-hardened-r9 #6 SMP

with Python 3.1.3 (r313:86834, Mar 12 2011, 20:06:24)

I'm not sure, maybe it's because of the characteristics of UNIX socket?
History
Date User Action Args
2011-07-05 17:25:37Alexey.Agapitovsetrecipients: + Alexey.Agapitov
2011-07-05 17:25:37Alexey.Agapitovsetmessageid: <1309886737.55.0.564500561229.issue12502@psf.upfronthosting.co.za>
2011-07-05 17:25:36Alexey.Agapitovlinkissue12502 messages
2011-07-05 17:25:36Alexey.Agapitovcreate