flock experience

pythonhda pythonhda at yahoo.com.replacepythonwithlinux
Tue Jan 14 20:15:33 CET 2003

If you're on a *nix system, do you have access to syslogd?
It's not hard to create a log file just for your program and python has a module (syslog) for it.

On Tue, 14 Jan 2003 00:47:16 +0000
Robin Becker <robin at jessikat.fsnet.co.uk> wrote:

> has anybody good experience using file locking in python. I have the
> typical problem of opening a log file for a short time (cgi environment)
> in a multiprocess world. So far I think we have been lucky, but our 8
> machine front end is contracting to one machine, just for us, so the
> collision probabilities are rising. I see there's a recipe in the pcb,
> but what happens to locked out processes etc etc.
> -- 
> Robin Becker

More information about the Python-list mailing list