[Buildbot-devel] SlaveLock across several slaves on same computer?

Nicolas Alvarez nicolas.alvarez at gmail.com
Tue Jan 5 18:51:38 UTC 2010


Marcus Lindblom wrote:
> I'm about to setup the third and fourth slave prcocess on two slave
> computers respectively, and I was thinking that a SlaveLock that is
> system wide (SystemLock?) would be good to have here. (We're already
> getting timeouts in some multithreading tests due to interference.)
> 
> Since Python doesn't seem to have a named system-wide mutex (AFAICT), I
> would implement it as a kernel Mutex on Windows (these are system-wide
> and not process-local as critical sections are) and via a lock-file (or
> whatever you guys use ;) on unixy systems.
>
> [...]
>
> P.S. I suppose a MasterSystemLock could also be useful as we'll be
> running five master processes on the same server.

I "solve" this problem by running only one master, and only one slave per 
computer.

-- 
Nicolas

(I read mailing lists through Gmane. Please don't Cc me on replies; it makes 
me get one message on my newsreader and another on email.)





More information about the devel mailing list