zope hangs vs: Re: [Zope] ZServer Must Be Continually Re-Started: my Method to stop zope dead:

Tino Wildenhain tino@wildenhain.de
Fri, 11 May 2001 15:25:35 +0200

Hi Ben,

no this is completly different to your problem.
Dont know why these threads are intermixed.

The problem below is zope not responding to requests
but still beeing running.

Your problem is different:

zope stops running instantly.

So I expect something in your environment and/or python
version. Do you have a plain install or did you install
additionally products with zope?

Tino Wildenhain

--On Freitag, 11. Mai 2001 05:12 -0700 Ben Ocean <zope@thewebsons.com> 

> At 10:57 AM 5/11/2001 +0200, you wrote:
>> Hello
>> This thread is going around since several years now (and zope version).
>> I am aware of this problem because I encounter it since zope 0.9.xxx (or
>> was it 1.0.xx??) :-); and I would love to have a solution...
>> I only use zope basic functionality: Zserver + one postgreSQL adapter
>>   (Zpopyda at this time) and use some external methods , also some
>>   mailhost object. No Zclass or fancy products.
>> I am personally thinking that ONE of the problem is that there is no
>>   time-out on the Zserver socket, I think that if for some reason a
>>   request get stuck, the thread is never released. If you use all the
>>   thread pool, your server doesn't reply anymore.
> Would this cause the server to quit, as if I had entered the command
> ./stop? Also, I could write a cron script that checks to see if Zope is
> alive and if not re-starts it, and I could run that script every minute
> if  I wanted to, but that seems like a waste of resources and just plain
> silly.  Any better ideas?
> BenO
> _______________________________________________
> 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 )