Re: "server accept() threw an exception" in log

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/25/2011 03:47 AM, Malthe Borch wrote:
> I had many of these in the instance log; googling around, I found
> this:
> 
> https://mail.zope.org/pipermail/zope/2002-September/122392.html
> 
> But it seems the patch attached to a post in that thread never made
> it to the repo. It's now almost ten years later, so this sort of
> incident must be pretty rare. The question remains, should the patched
> be applied?

I don't think so.  Dieter's patch was for an ancient, oddball Solaris
case where the 'accept()' failure was "permanent", and so he wanted to
raise the exception to kill the Zope process.  The original code is from
medusa, with the explcit comment::

            # linux: on rare occasions we get a bogus socket back from
            # accept.  socketmodule.c:makesockaddr complains that the
            # address family is unknown.  We don't want the whole server
            # to shut down because of this.




Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7PpSgACgkQ+gerLs4ltQ4woQCgwN5X/trOVD8YuGOFcrPu8ytB
r7IAoMTYZQxanHRgNU8tlEY70cL/i3s5
=30ue
-----END PGP SIGNATURE-----

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.