Displaying 20 results from an estimated 4000 matches similar to: "Backgroundrb-devel Digest, Vol 24, Issue 7"
2008 May 21
3
Does backgroundrb support SSL?
Does backgroundrb support SSL like drb? I was unable to find any sample
configurations including SSL. Any help would be appreciated, thanks. -jim
salinas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080521/9588825a/attachment.html>
2008 May 21
2
Schedule write errors?
My BackgrounDRb server intermittently bails out with the following exception
in the middle of a long running task running on a Worker sub classed
from BackgrounDRb::MetaWorker (the point at which it raises this exception
is different each time it runs)
/opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:145:in
`schedule_write'': You have a nil object when you
2008 May 29
0
How to know the environment (development/test/production) inside a worker - FIXED
Hi Guys,Looks like I have to do this in backgroundrb.yml
:backgroundrb:
:ip: 0.0.0.0
:production:
:backgroundrb:
:port: 11008 # use port 11008
:environment: production
That is, have an entry for "environment: production" under :production:,
This seems to have fixed the issue.
Regards
Sarat
On 5/29/08, Sarat Kongara <saratkongara at gmail.com> wrote:
>
>
2008 May 30
5
Upper limit to number of jobs queued by BDRb?
I use BDRb to process RSS feeds for users on my site (http://feedflix.com).
I have a batch job that queries the DB for records that haven''t been updated
in the last so many hours and kicks off a background job for each of them.
If N records are returned by the DB, N background jobs gets queued and get
done serially. As long as N is 255 or under, everything works like a charm.
2008 Apr 03
0
Packet error on startup
Hi,
New BackgrounDrb user struggling for a couple of days to
get things up an going.
System:
Ruby 1.8.6
Packet 0.1.5
chronic 0.2.3
BackgrounDrb 1.0.3 (downloaded 4/02/08 and 4/03/08)
I installed the packet and chronic gems as per instructions.
I used git to download BDrb as per instructions and ran the
rake setup script.
When I run script/backgroundrb from my rails app main
directory, I get
2008 Jun 15
0
What does this error mean?
Below is the content of my backgroundrb_server_11007.log
This seems to happen in a non-repeatable way - so every 2 days or sometimes
after 4-5 days, my b/g process dies with this error. Is this something
anyone else has seen - any fixes?
Thanks,
Raghu
===============true
/usr/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:145:in
`schedule_write'': You have a nil object when
2008 Jun 06
1
Unexpected NameError when invoking task on worker
Hi, I''m brand new to BackgrounDRb and trying to figure out the setup.
I cloned the git repository today as listed on the BackgrounDRb website.
Starting out with a very basic worker, but BackgroundDRb is crashing
on a NameError. Any help to resolve this issue would be greatly
appreciated! Thank you in advance!!
I am also attaching a text file with the output below since it might
be
2007 Nov 30
1
backgroundrb not cleaning up tmp files?
I just had an interesting issue on a production system that has been
running nicely for about a year. There were approximately 10,000
backgroundrb temp files in the /tmp directory. It looks like
backgroundrb wasn''t cleaning them up.
I noticed it with the following error:
DRb::DRbConnError: drbunix:///tmp/backgroundrb.20015/
backgroundrb_logger_0_0.101544829808665 -
2007 Apr 23
0
backgroundrb and REXML issue
Hi,
I have an application that receives XML files, and then hands each one
off to a backgroundrb worker to parse and store the info. Everything
was working, until I needed to support a larger character set. So I
added the following to the top of my XML files: <?xml version="1.0"
encoding="ISO-8859-1"?>
Adding this worked fine when I tested it without using
2007 May 22
0
BackgroundRb Server not responding
Hey,
I have scheduled script that is not working very well. It will only run
once or twice before I have to restart the server to get it running again.
If I try to the worker manually after it has stopped exceuting the schedule
I get this in the server log:
20070522-07:33:36 (5030) Connection reset by peer - (DRb::DRbConnError)
20070522-07:33:36 (5030) /usr/local/lib/ruby/1.8/drb/drb.rb:566:in
2007 Jan 30
1
Backgroundrb weirdness with multiple mongrels
Hi list,
I''m having some issues getting backgroundrb to play nice with more than
one mongrel. When I run my app on a single mongrel instance it works
fine.
I have two different problems show up in my backgrounrb_server.log. The
top of the backtrace is shown here:
20070130-12:03:03 (92473) failed to find slave socket - (RuntimeError)
20070130-12:03:03 (92473)
2007 Apr 27
0
Backgroundrb running under cygwin - having issue with Railsbase workers
Hello all,
We''re currently running version .1.x in our environment. We would like to
move to .2.x to take advantage of some of the improvements made running in a
multi-process environment. We deploy to a linux environment but develop
locally in Windows. I''m aware that a number of people have reported the
ability to run .2.x of backgroundrb inside cygwin, and for the most part,
2007 Jun 16
1
BackgrounDRB and Sqlite3 / Autotest / Memory_test_fix Issues
Hello all.
I am using BackgrounDRB with "great happiness and joy", however, I am
running into one problem in that when I am running my tests with
autotest using Sqlite3 3.3.17 I am getting
"ActiveRecord::StatementInvalid" exception inside of the
sqlite_adapter.rb:360 which is checking for an empty structure.
I thought it might be the version of Sqlite, so I upgraded to 3.3.17
2008 Jan 14
3
problem with backgroundrb
hi, i am using drb and it is working fine on my local pc on windows..
and after uploading the code to the server it was working for
sometime but now it gives me error every time i invoke the process..
error---
uninitialized constant EmailWorker::Notifier - (NameError)
/usr/lib64/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/
dependencies.rb:477:in `const_missing''
2008 Apr 12
0
Startup error
Hi all,
I''m new to this list (and pretty new to backgroundrb). I''d like to
jump in with a question, I hope you don''t mind.
I''m trying to get my site working with backgroundrb to sent mail. It''s
pretty basic stuff and I got it working pretty fast on my local
machine (os x leopard). Unfortunately, when I try to deploy to my
production machine I
2008 May 30
1
Packet error on startup suddenly.
Hello, I''ve been using backgroundrb successfully for months now, but
suddenly I''m getting the error below when trying to start it up. I did
some searching and I see that someone posted about it last month:
http://rubyforge.org/pipermail/backgroundrb-devel/2008-April/001685.html
Anyone have any idea what could have happened? I made no changes to
the code or configs, but I did
2006 Nov 29
0
BackgrounDRb 0.2.1 Release
It''s that time again friends. skaar has been at it again and has
greatly improved the stability of the new system. And Ara Howard has
helped a ton by working with us on the slave library to iron out the
wrinkles./ The results is a lot nicer backgroundrb for everyone.
I have to say another huge thanks to skaar. He has singlehandedly
wrote almost all of this new version and many
2006 Jun 12
0
BackgrounDRb New Release
Hey Folks-
I have just pushed a new release of BackgrounDRb to rubyforge. It
has some nice new features to allow for usage of your ActiveRecord
Models within your worker classes. I also added a config file for
setting hosts and ports and if you want to load rails or not.
Please have a look and let me know if anyone runs into any issues.
If you already have an older version installed then you
2007 Jan 27
0
Debugging stale backgroundrb
Hi!
As you might remember I''m having a problem of backgroundrb stopping
calling my workers after some period of time. I tried adding logging
to backgroundrb source code but it didn''t help. So, after digging
through internet I''ve found several gdb tools and here''s what I''ve
discovered:
After attaching to a backgroundrb ruby process it turns out that it
2007 Apr 04
6
Exception when doing DRb remote calls from a BackgrounDRb worker
Hello,
I am trying to make DRb calls to a external server from a backgrounDRb
worker, but I''m getting always the next exception when I make the remote
call.
> ERROR:
> drbunix:///tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051
> - #<Errno::ENOENT: No such file or directory -
>