Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

"server accept() threw an exception" in log

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


mborch at gmail

Nov 25, 2011, 12:47 AM

Post #1 of 2 (114 views)
Permalink
"server accept() threw an exception" in log

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?

\malthe
_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 )


tseaver at palladion

Nov 25, 2011, 6:24 AM

Post #2 of 2 (102 views)
Permalink
Re: "server accept() threw an exception" in log [In reply to]

-----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 tseaver [at] palladion
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 - Zope-Dev [at] zope
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 )

Zope dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.