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 orsenthil
Recipients orsenthil, pitrou
Date 2011-05-26.05:19:52
SpamBayes Score 0.0047403574
Marked as misclassified No
Message-id <1306387193.28.0.997527138067.issue12184@psf.upfronthosting.co.za>
In-reply-to
Content
socketserver.ForkingMixin class has a collect_children method, that waits for the children to exit.
But, that waits for any child process and not just the ones spawned the socketserver alone.

            try:
                pid, status = os.waitpid(0, 0)
            except os.error:
                pid = None

This is performance lag and can be improved. The collect_children can only wait/collect it's own children.
History
Date User Action Args
2011-05-26 05:19:53orsenthilsetrecipients: + orsenthil, pitrou
2011-05-26 05:19:53orsenthilsetmessageid: <1306387193.28.0.997527138067.issue12184@psf.upfronthosting.co.za>
2011-05-26 05:19:52orsenthillinkissue12184 messages
2011-05-26 05:19:52orsenthilcreate