[ZODB-Dev] ZEO Connection and fork
Dieter Maurer
dieter at handshake.de
Wed Sep 8 15:48:34 EDT 2004
Thomas Guettler wrote at 2004-9-8 11:13 +0200:
>What happens if you fork a process which has an connection
>to a zodb over a socket file?
I was concerned about this, but nothing bad happened.
Of course, the forked process should not use the connection
(but open a new one).
>Each worker process calls connection.sync() before the
>start and commit() or abort() at the end.
I think, it should not do that.
>Serveral processes use the same file descriptor.
>Does ClientStorage syncronize the access?
Almost surely not.
--
Dieter
More information about the ZODB-Dev
mailing list