Displaying 12 results from an estimated 12 matches for "masonhale".
2007 Jan 22
7
Yet Another Problem with BackgroundRB
Hi!
My cron-based worker is being indeed invoked by backgroundRB at
correct times. But... After several runs it can no longer find DB
columns! The same query, which was running OK an hour ago starts to
throw MySQL error about unkown column in where clause. If I restart
backgroundrb it works for some time but stops working after several
invocations.
Has anyone epxerienced the similar beahviour?
2007 Jan 29
4
loading C extension in worker causes bus error on OS X only
In all likelihood, this doesn''t have anything to do with backgroundrb,
but I''m stuck so I thought someone might be able to help.
I have a pretty simple C extension that I built into a gem and have
installed on my system. It works fine when required from rails
(1.2.1).
But when I have a Backgroundrb worker class use the extension (under
os x), I get:
2007 Dec 18
9
Long-running pages cause mongrel time-outs
Hi all,
We use mongrel behind apache (using mod_proxy_balancer) to run an internal
app for our business. Lately we''ve been seeing frequent errors from some of
our mongrel processes.
[Sun Dec 16 08:48:47 2007] [error] [client <CLIENT1>] (70007)The timeout
specified has expired: proxy: error reading status line from remote server
127.0.0.1, referer:
2007 Jan 04
10
Intermittent "can''t convert Float into Hash" and results.rb
Hi,
I''m using backgroundrb 0.2.1 in a production environment and for most
parts I''m very happy. We are using it to do some heavy video editing on
the server side and it works great except that under, what seems heavy
load the below problem happens intermittently.
The problem has only happened 5 times out of over 500 runs by our
backgroundrb worker.
This is the code in our
2006 Dec 08
2
trouble using ActiveRecord classes
I''ve been trying unsuccessfully for the better part of today to write a
worker that can use by ActiveRecord model classes.
The bizarre thing is that worker just stops at the point accessing the
database connection. An exception isn''t raising, it just dies.
My worker class is below, I''ve interspersed log messages throughout to try
to determine where it is dying.
=====
2007 May 15
6
Behaviour of pool_size setting
Hi,
I have backgroundrb running to decouple the execution of massive
business logic from an ActionWebservice request. The service is designed
to take some configuration parameters and fire a lot of background
workers to do the requested work. Due to performance reasons I want to
limit the number of workers to a maximum number of 30. But when I start
a configuration that requires for example
2007 Mar 13
5
worker starting twice
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
2007 Mar 04
6
Backgroundrb spiking CPU after first run on Mongrel cluster
I''ve been troubleshooting this problem for several hours now and haven''t
been able to figure out what''s wrong. I have two boxes, dev and prod, both
are identical except that prod uses Ruby 1.8.5 and dev uses 1.8.4. Both are
running Slave 1.2.0, Daemons 1.0.5, and Backroundrb 0.2.1.
The behavior I''m seeing is this. When I first start Backgroundrb, this is
what
2007 Jan 15
2
Backgroundrb keeps spawning processes
Hi!
I''ve just a created a really simple rails scheduled worker for
backgroundrb to start playing with :
class SessionCleanerWorker < BackgrounDRb::Worker::RailsBase
def do_work(args)
logger.info "SessionCleaner> started"
CGI::Session::ActiveRecordStore::Session.destroy_all( [''updated_at
<?'', 120.minutes.ago] )
2007 May 22
4
Recommendations for eternally-running backgroundrb workers?
I''ve got some workers that I want to have running all the time. Right
now I''m just launching them manually, by requesting a special page in
my rails app that includes lines like:
MiddleMan.new_worker(:class=> :receiver, :job_key=>:r,
:args=>{:sleep_time=>10})
This strikes me as a really weak way to fire up my workers. I
basically want to automate things so
2007 Apr 18
5
[BUG] worker stopping abruptly
I have been facing this damn ugly issue since quite sometime.
So this worker reads RSS feed from Yahoo news and stores it in a DB.
The worker is scheduled to run at every 40 minutes and my
background_schedules.yml looks like this:
feed_worker:
:class: :feed_worker
:job_key: :feed_worker_key
:worker_method: :do_work
:trigger_args:
:start: <%= Time.now + 5 %>
2006 Dec 14
0
feature request: config option to toggle scheduled jobs based on environment
I have BackgrounDRb configured to handle two cases of long-running tasks:
(1) on-demand user triggered requests for some action, and (2) scheduled
background running of tasks on a predetermined schedule.
In my particular case, we have a publication task that can take several
minutes to perform. Users can setup a regular publication schedule, or can
hit a ''publish now'' button to