Re: [Zope-dev] Runaway processes

2007-12-14 Thread Chris Withers
Andreas Jung wrote: About 6 months to 1 year ago, I have read reports about experiments on using Zope directly from "mod_python" in the Zope mailing list. Since Zope provides a WSGI interface you can run Zope within almost all WSGI-enabled enviroment. Am I right in thinking this is exactl

Re: [Zope-dev] Runaway processes

2007-12-08 Thread Andreas Jung
--On 8. Dezember 2007 19:41:29 +0100 Dieter Maurer <[EMAIL PROTECTED]> wrote: Dieter Maurer wrote at 2007-12-7 19:53 +0100: Stephan Richter wrote at 2007-12-5 17:47 -0500: ... requiring killing long running request processing ... After a little more thoughts, I think that the most promi

Re: [Zope-dev] Runaway processes

2007-12-08 Thread Dieter Maurer
Dieter Maurer wrote at 2007-12-7 19:53 +0100: >Stephan Richter wrote at 2007-12-5 17:47 -0500: >> ... requiring killing long running request processing ... After a little more thoughts, I think that the most promissing and efficient way would be to let requests be handled by a persistent ZEO clie

Re: [Zope-dev] Runaway processes

2007-12-07 Thread Dieter Maurer
Stephan Richter wrote at 2007-12-5 17:47 -0500: > ... >On Unix-like systems, we can use `os.fork()`. The advantage of this approach >is that I can use OS system calls to kill the process. However, ZODB database >storages cannot be shared between processes. Nikolay Kim has done some >preliminary

Re: [Zope-dev] Runaway processes

2007-12-06 Thread Stephan Richter
Hi Jim, first of all, thanks a lot for your quick response. On Thursday 06 December 2007, Jim Fulton wrote: > - You should avoid runaway processes. :)  I'm actually quite serious. Yes, we are trying hard. :-) We are currently using lovely.remotetask to export those calls even to a different se

Re: [Zope-dev] Runaway processes

2007-12-06 Thread Jim Fulton
Some high-level drive-by comments: - You should avoid runaway processes. :) I'm actually quite serious. - You can run multiple processes and monitor their progress -- killing processes that are stuck. zc.z3monitor provides some output that makes this pretty straightforward. - It might be

Re: [Zope-dev] Runaway processes

2007-12-05 Thread Stephan Richter
On Wednesday 05 December 2007, Stephan Richter wrote: > On Unix-like systems, we can use `os.fork()`. The advantage of this > approach is that I can use OS system calls to kill the process. However, > ZODB database storages cannot be shared between processes. Nikolay Kim has > done some preliminary

Re: [Zope-dev] Runaway processes

2007-12-05 Thread Nikolay Kim
> On Unix-like systems, we can use `os.fork()`. The advantage of this approach > is that I can use OS system calls to kill the process. However, ZODB database > storages cannot be shared between processes. Nikolay Kim has done some > preliminary experiments and found that `db.open()` locks the

[Zope-dev] Runaway processes

2007-12-05 Thread Stephan Richter
Hi everyone, I have a problem and I am hoping that it has been solved already by someone or that I will get some input on at least.I apologize for the lengthy E-mail in advance, but I wanted to provide a detailed discussion as a starting point. Zope is designed to have very short-lived transact