Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue742598

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:SocketServer timeout, zombies
Type:Stage:
Components:Library (Lib)Versions:Python 2.6
process
Status:closedResolution:accepted
Dependencies:Superseder:
Assigned To: akuchlingNosy List: akuchling, pilcrow
Priority:normalKeywords:patch

Created on2003-05-23 21:11 bypilcrow, last changed2022-04-10 16:08 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
sockserv-timeout.diffpilcrow,2003-05-23 21:11sockserv-timeout.diff
Messages (2)
msg43828 -(view)Author: Michael Pomraning (pilcrow)Date: 2003-05-23 21:11
Patch adds class variable 'timeout' to BaseServer, andmethods await_request and handle_timeout.  Backwardscompatible API -- timeout is None by default, meaningawait_request jumps directly to get_request and nevercalls handle_timeout.Facilitates periodic server bookkeeping (check configfiles, intervalic logging, etc.), if you supply yourown serve loop.Additionally, ForkingMixin sets timeout to 300 seconds,and overrides handle_timeout to call collect_children. Upshot:  n zombies linger in process table until 5minutes pass or new request arrives, whichever comes first.docstring updates, too(s/reuse_address/allow_reuse_address, etc.)-Mike
msg60191 -(view)Author: A.M. Kuchling (akuchling)*(Python committer)Date: 2008-01-19 16:35
Committed to Python 2.6 inrev. 60080.  Thanks for your contribution!Whenever you find time, it would be nice if you could sign and submit a Python contributor agreement; please seehttp://www.python.org/psf/contrib/ for the forms.
History
DateUserActionArgs
2022-04-10 16:08:52adminsetgithub: 38542
2008-01-19 16:35:27akuchlingsetstatus: open -> closed
resolution: accepted
messages: +msg60191
2003-05-23 21:11:34pilcrowcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp