?? server accept() threw an exception ??
With Zope 2.4.4b2 on Linux: After some days up, at a very low charge, zope stopped to work, it was not available anymore through the apache proxy, and writed this many times to the log: """ 2002-09-08T14:25:54 PROBLEM(100) ZServer warning: server accept() threw an exception """ -- __o _ \<_ (_)/(_) Saludos de Julián -.- DVD-record Tools for linux http://www.freesoftware.fsf.org/dvdrtools/
=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz?= writes:
After some days up, at a very low charge, zope stopped to work, it was not available anymore through the apache proxy, and writed this many times to the log:
""" 2002-09-08T14:25:54 PROBLEM(100) ZServer warning: server accept() threw an exception """ I have seen similar behaviour under Solaris. But there, it was an infinite loop filling the log file very quickly up to the 2 GB limit.
I patched the code to let Zope die in case of an "accept" exception. As it is immediately restarted, this seems a not too bad approach. Dieter
=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz?= writes:
After some days up, at a very low charge, zope stopped to work, it was not available anymore through the apache proxy, and writed this many times to the log:
""" 2002-09-08T14:25:54 PROBLEM(100) ZServer warning: server accept() threw an exception """ I have seen similar behaviour under Solaris. But there, it was an infinite loop filling the log file very quickly up to the 2 GB limit.
I patched the code to let Zope die in case of an "accept" exception. As it is immediately restarted, this seems a not too bad approach.
Dieter
i'm having this problemm too.. from 2.3.x until now (2.5.1) on linux not sure what the cause is.. since it's random. what i'm doing now is watching over stupid.log and restarting.. a not too good an approach. so, can i have a look at your patch plese? :) thanks p/s - finding the cause or who's affected might be interesting
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
test
Bakhtiar Abdul Hamid writes:
...
2002-09-08T14:25:54 PROBLEM(100) ZServer warning: server accept() threw an exception """ I have seen similar behaviour under Solaris. But there, it was an infinite loop filling the log file very quickly up to the 2 GB limit.
I patched the code to let Zope die in case of an "accept" exception. As it is immediately restarted, this seems a not too bad approach. ... so, can i have a look at your patch plese? :) Patch attached.
Dieter --- ZServer/medusa/http_server.py~ Wed Jan 9 18:33:50 2002 +++ ZServer/medusa/http_server.py Mon Sep 9 19:14:55 2002 @@ -631,6 +631,10 @@ # address family is unknown. We don't want the whole server # to shut down because of this. self.log_info ('warning: server accept() threw an exception', 'warning') + raise # reraise to let Zope die; this error can cause an infinite + # loop quickly filling the log file + # as Zope is restarted automatically (beware, not on Windows!) + # the death should not be a big problem return except TypeError: # unpack non-sequence. this can happen when a read event
Aha, interesting. Could you provide us with the patch ?? The "strange" thing is that I am under Linux over Intel Platform. Most of the comments about this kind of error are about Solaris, not Intel. On Sun, 8 Sep 2002, Dieter Maurer wrote:
=?ISO-8859-1?Q?Juli=E1n_Mu=F1oz?= writes:
After some days up, at a very low charge, zope stopped to work, it was not available anymore through the apache proxy, and writed this many times to the log:
""" 2002-09-08T14:25:54 PROBLEM(100) ZServer warning: server accept() threw an exception """ I have seen similar behaviour under Solaris. But there, it was an infinite loop filling the log file very quickly up to the 2 GB limit.
I patched the code to let Zope die in case of an "accept" exception. As it is immediately restarted, this seems a not too bad approach.
Dieter
-- __o _ \<_ (_)/(_) Saludos de Julián -.- DVD-record Tools for linux http://www.freesoftware.fsf.org/dvdrtools/
participants (3)
-
Bakhtiar Abdul Hamid -
Dieter Maurer -
Julián Muñoz