[Zope-dev] Runaway processes

Nikolay Kim fafhrd at datacom.kz
Thu Dec 6 00:32:45 EST 2007


> 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 system (for 
> both, `FileStorage` and `ZeoClientStorage`). I have not verified these 
> results or tried to figure out why it is hanging, but I can see the problem 
> for `FileStorage`.

i have to create new zeo storage for each child to make forking server 
work. i think for forking server we need long running childs




More information about the Zope-Dev mailing list