Red Hat Bugzilla – Bug 948025
SocketServer doesn't handle syscall interruption
Last modified: 2016-04-18 06:16:49 EDT
Description of problem: SocketServer's handle_request function uses "select" call to handle io, but sending POSIX signal will result in 'Interrupted system call' exception raised. Version-Release number of selected component (if applicable): python-2.6.6-36.el6.x86_64
This is the old dreaded EINTR bug Further details can be found here http://bugs.python.org/issue7978 It's fixed in Python 2.7 http://hg.python.org/cpython/rev/97a0c6230ece/ The impact on us is that all our users are getting intermittent crashes in various applications. It's hurting our workflow.
Created attachment 764491 [details] Proposed patch - wrapper for select.select
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-1582.html