[Backgroundrb-devel] worker starting twice

Brian Lucas blucasco at gmail.com
Tue Mar 13 18:57:09 EDT 2007

Hi Jack, I'm experiencing the same problem and wrote about it here earlier.
I wonder if it has something to do with thread_pool size or concurrent
threads running in brb?



Date: Tue, 13 Mar 2007 16:06:58 +0100
From: "Jack Nutting" <jnutting at gmail.com>
Subject: [Backgroundrb-devel] worker starting twice
To: backgroundrb-devel at rubyforge.org
	<f84841020703130806v11497ea9webbd12fb30557cf9 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi gang,

Thanks to other help I've gotten on this list, I've got backgroundrb
up and running using postgres alongside my rails app.  I've designed
the system to have several eternally-running workers that periodically
poll the database to see if there's any work for them to do, and set
things up in the config file to make them restart quickly if any of
them should crash.  One odd thing I've noticed is that one of my
workers, with the key "mr", seems to start twice (without the first
one having completed).  I've got some logging that occurs when each

20070313-15:45:17 (5594) Starting WorkerLogger
20070313-15:45:17 (5595) In ResultsWorker
20070313-15:45:21 (5595) MbReceiver mr started.
20070313-15:45:21 (5595) Sender s started
20070313-15:45:22 (5595) MbSender ms1 started
20070313-15:45:22 (5595) MbSender ms2 started
20070313-15:45:22 (5595) Receiver r started
20070313-15:45:30 (5595) MbReceiver mr started.

More information about the Backgroundrb-devel mailing list