Displaying 20 results from an estimated 10000 matches similar to: "Did BackgrounDRb change my apps behavior?"
2008 Nov 20
1
Stopping bdrb from another process gets the process killed
Hi, I''ve been having some issues integrating bdrb on a cruisecontrolrb
server
It''s related to the way we stop the bdrb server. The thing is, right now
when we stop the process we are killing the parent of the group of the
process. This is ok if you''re running script/backgroundrb stop directly from
the console, but if I''m running this from another process,
2008 Apr 03
2
Two Rails Apps, One Backgroundrb Server?
This might be a really simple question, with a simple solution. I
have two rails apps running on the same box. Right now I am starting
two Backgroundrb servers (11006 and 11007). Wondering if it might be
possible to run only one and have the second app point to the first
app''s server?
TIA,
Kit
2007 Feb 14
1
Scheduling in backgroundrb not working
Hi ,
How do i schedule a job that can send emails at intervals of time
using backgroundrb and rails
For testing When i hit the controller i''m able send the emails.
but that is not i intend to do .....
I want to use backgroundrb and rails in which i''ll schedule a job
for every 5 minutes/ 1 minute or so..... to send an email
But when i write
2006 Aug 24
1
ActionMailer doesn''t work in backgroundrb
I am pretty confident that mailers do not work in backgroundrb. Can
anyone confirm this? Because when I try to do
Notifier.deliver_some_method I get an error saying it cant find the
templates for my email. The funny thing is that when I run script/
runner Notifier.deliver_some_method it works just fine. Any ideas?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
O: 800-341-6826
M:
2008 May 23
0
Backgroundrb-devel Digest, Vol 24, Issue 7
Hi, all. Just wondering if anyone has tried using the Paperclip file
upload plugin with Backgroundrb. My current implementation uses
attachment_fu - I save the file initially to the file system without
generating thumbs, then a bdrb process picks up that file, generates
thumbs, and saves to S3. This works fine and dandy, the only hitch is
I want to save image metadata in the same table
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2010 Jan 12
1
Rails after_initialize block doesn't seem to be run in the backgroundrb context
Hi all,
Just had an interesting production failure while updating my Rails
application - a bunch of code previously in config/environment.rb was
put into config/initializers. That resulted in me having to wrap some
code in config/environments/production.rb into an after_initialize
do ... end block
When backgroundrb was run against that code, the setup done in that
after_initialize block
2008 Jan 03
5
Start script not working when run via Rake
Hi there
I''m using the latest release (r300) and ''script/backgroundrb start'' works
perfectly when executed on the server, but when put inside a Rake task, it
doesn''t launch the worker processes.
The Rake task is as follows:
task :start_backgroundrb do
run "cd #{current_path} && ./script/backgroundrb start"
end
When I run this task, the
2006 Sep 15
2
unable to figure out how to get backgroundrb.yml to be used when starting backgroundrb
i ran rake backgroundrb:setup and modified the default
config/backgroundrb.yml file as:
---
port: "22223"
timer_sleep: 60
load_rails: true
environment: production
host: localhost
database_yml: config/database.yml
acl:
deny: all
allow: localhost 127.0.0.1
order: deny,allow
and my database.yml
production:
adapter: mysql
database: chip2_production
username: xxxxx
password:
2006 Jul 03
0
Fwd: Models and Backgroundrb
Seems this mail did not make it to the list for some reason. It
contains my solution for the problem with login_engine without having
to load the whole Rails environment.
Begin forwarded message:
> From: G?nter Ladwig <gladwig at gmx.de>
> Date: 22. Juni 2006 23:51:18 MESZ
> To: backgroundrb-devel at rubyforge.org
> Subject: Re: [Backgroundrb-devel] Models and Backgroundrb
2008 Jan 09
0
BackgrounDRb 1.0.1 release available now
Hi Folks,
I am glad to announce a 1.0.1 release of BackgrounDRb library. It has
numerous fixes and some nice feature updates, so please upgrade.
Code:
http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/
Updates and Fixes:
* Fixed issue with Mysql Lost connections
* Message debugging can be disabled now with ''debug_log'' option in
configuration file( :debug_log: false)
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 -
2006 Dec 04
1
no method error when starting backgroundrb
I just installed backgroundrb on our server. When tryin to start via
script/backgroundrb i get a no method error.
./script/backgroundrb start
/home/tom/ralf_dev/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:34:in
`format_message'': undefined method `strftime'' for "2006-12-04T15:53:
23.419225 ":String (NoMethodError)
from
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
2006 Jul 31
1
Starting backgroundrb from rails and restarting with rails
Hi,
I have my rails sites tricked out with capistrano, and backgroundrb, so
I can easily use the ant tasks, but I would like to be able to start and
stop backgroundrb from within rails.
I have a few reasons for this:
1. Using fastcgi, backgroundrb would start under the apache user and the
same mod_security context as apache, instead of my developer account
which has many more privileges.
2.
2007 Jul 10
0
backgroundrb.ppid
Howdy,
I''m trying to use monit with backgroundrb,
but it seems that backgroundrb.ppid isn''t holding the id of the
backgroundrb task.
jodi at soup/var/www/the-soup/current $ cat log/backgroundrb.ppid
23182
jodi at soup/var/www/the-soup/current $ ps -efl
1 S deploy 23184 1 0 75 0 - 27056 stext 11:27 ?
00:00:04 backgroundrb
1 S deploy 23186 23184 0 76
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)
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
2008 Apr 04
0
Can''t get backgroundrb to work with rails plugin ''batched_sql_fu''
Trying to use backgroundrb to process and insert a large list of bulk
records, but when I try to use it with the batched_sql_fu plugin
installed in vendor/plugins, I get the following error:
---SNIP---
/Users/jdonalds/Sites/3dial_ads/config/../vendor/plugins/
batched_sql_fu/lib/batched_sql_fu/active_record.rb:22:in
`alias_insert_sql_to_batched_version!'': undefined method
2007 Feb 20
2
rails 1.2.1, locomotive and backgroundrb
Hi
I just tried to move my project to rails 1.2.1 on my locomotive
development setup. It seems that backgroundrb is not willing to start
up anymore. If I switch locomotive back to 1.1.6, everthing is fine.
This is the error I get while attempting to start backgroundrb:
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/