Displaying 20 results from an estimated 7000 matches similar to: "Production deployment?"
2006 Nov 22
4
Error when starting bgrdb
Hi,
I get this error when starting bgdrb using "rake  
backgroundrb:start" (on a Mac using bgdrb 0.2.0):
/Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/backgroundrb/server/lib/ 
backgroundrb_server.rb:33:in `format_message'': undefined method  
`strftime'' for "2006-11-22T12:34:18.524572 ":String (NoMethodError)
         from /usr/lib/ruby/1.8/logger.rb:320:in
2006 Aug 23
5
Singleton-like Worker
Hello there,
I need a Worker Class to be Singleton-like, that means there must be at
maximum one Instance at a time. When a new Request is made to create another
worker of this type, it should return and wait for the other instance to be
destroyed.
what i need to do: i have a worker who needs to do sth with java and
openoffice, and it seems when i have more tha one worker simultaneously,
2006 Jul 25
1
bgdrb hangup
Hi,
i had a little problem a few minutes ago. somehow the backgroundrb process
got mad and consumed all the cpu power available, i think it got an endless
loop. i dont know why, no exceptions were thrown.
could this be an issue of bgdrb or ruby or rails (as i load the rails
environment)
-- 
Michael Siebert <info at siebert-wd.de>
www.stellar-legends.de - Weltraum-Browsergame im
2006 Aug 01
2
making backgroundrb cron
Hello,
i need to have some jobs scheduled in the background and executed at
specific times. I wanted to make a worker who does that - and it works a
little bit - but i had an enlightment... why not make bgdrb itself play that
role? i mean, the MiddleMan has already everything needed! a timer thread,
currently used only for deleting old workers and the workers itself. since
im not familiar with
2006 Sep 01
1
install backgroundrb
Hi 
This may be a repeat question on the list, but I could not find an answer.
I cannot install backgroundrb via the usual svn method as the firewall does not permit it. Is there a place where I can download the latest version please?
Thank you 
David
 				
---------------------------------
Get your own web address for just $1.99/1st yr. We''ll help. Yahoo! Small Business.
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i  
deploy (using capistrano) my app to a production server, i have to  
ssh into the box and manually
stop and start backgroundrb to get it to load my workers.
  this is my basic setup
i have 2 workers:
lib/workers/mp3_worker.rb  => takes a hash of params to downsample an  
mp3
lib/workers/flv_worker.rb  =>  takes a has of
2006 Aug 19
1
Setting the process priority?
Is it possible to make the process priority higher for backgroundrb?
Thank You,
Ben Johnson
E: bjohnson at contuitive.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20060819/7a2e6d1b/attachment.html
2006 Aug 26
2
Dreamhost issues
Hi there!
I just have discovered this wonderful plugin a few days ago and I uploaded a
little test to my Dreamhost account. I simply got a worker that resizes an
image that the user uploads.
So this morning I launched the BackgrounDRb server on my account with the
rake task and began to upload some test images. The server daemon has been
executing until a few minutes ago, I suppose because of
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys,
In the readme for Backgroundrb it says that windows support has been 
depcreated for this version, but then it goes on to mention how to use 
it in Windows.  So I''m not sure if it should be running on windows or 
not, so I''ll ask anyway.  Also, I''m new to ruby and I''m also new to 
server administration, so I apologize if my questions are pretty
2006 Aug 08
1
Problem installing the plugin...
Hi,
    I am running ruby 1.8.4 rails 1.1 on Mac OSx and I am getting the
following error installing the plugin. Any ideas ? ( BTW This is a brand new
rails app )
Thanks !!
ruby script/plugin install svn://rubyforge.org/var/svn/backgroundrb --force
subversion/libsvn_wc/lock.c:630: (apr_err=155007)
svn: ''/Users/fgaliana/work/samples/fred/vendor/plugins'' is not a working
copy
2007 Feb 02
7
logging problem in production
Greetings all;
I''ve just moved my app into production and BackgrounDRb is writing to development.log.  The backgroundrb.yml file specifies production, as does environment.rb.  
A little background (no pun intended ;-0 )  I''m using the ''old'' version of backgroundrb for session management.  In the app, whenever a visitor changes pages I record the time in a db
2006 Sep 14
1
Status of your worker pool
On Sep 14, 2006, at 10:25 AM, Michael Siebert wrote:
> Hey Ezra,
> how is the status of your worker pool? i need some thing like this  
> ASAP and i can''t get David Lemstra''s QueueWorker to work, so: whats  
> the status? do you have some "beta" lying around on your hard  
> drive? I dont want to spend my time on that if you''re coming up  
>
2006 Jul 31
1
MySQL too many connections?
Does any have any idea why I would get:
Mysql::Error: Too many connections
I am creating new threads in my background process. I know  
allow_concurrency is set to true. Does this create a new database  
connection when a new thread is created? Because what I''m doing is  
similar to this:
@threads[model.id] = Thread.new do
end
I also kill off these threads and over write some of the
2007 Mar 12
7
Capistrano Hanging on Deployment
Hello ~
I am using the Capistrano recipe outlined in this post to restart my
backgroundrb server:
http://rubyforge.org/pipermail/backgroundrb-devel/2007-February/000718.html
My Version:
~~~~~~~~~~~~
task :before_restart, :roles => :app do
   restart_backgroundrb
end
task :start_backgroundrb, :roles => :app do
   sudo "nohup
2007 Mar 04
2
BgDRb blocking in ActiveRecord
Hi Folks,
I''ve got a tiny little problem using MySQL-backed ActiveRecord in my  
worker class. Sometimes it just blocks infinitely when I try to  
access it. I don''t know whether it is in AR itself or in the SQL  
driver. It just stops doing anything, logging nothing, no exceptions  
are raised. I don''t know if it matters that I call the worker''s  
methods via
2006 Oct 24
5
deployment issues?
Thanks to many of you, I''ve got my session management working with BackGrounDRb.  Very cool.  So now I need to deploy it.  I''m on a shared hosting plan (at a2hosting in case that matters).  Are there any issues I should expect to have to deal with in getting them to deploy the plugin?  Anything special I need to do?  I''m wondering in particular about the ''start
2006 Aug 24
5
Unable to start with Capistrano...
I''ve created a couple of tasks in my deploy.rb file for starting and
stopping backgroundrb on the remote server.  The stop task runs fine
and kills the process. And the start task *seems* to run successfully,
but backgroundrb is never started on the remote host.
Has anyone had success with this?  Here are my deploy tasks:
desc ''Start backgroundrb server (default
2007 Jun 04
2
backgroundrb scheduler
I''ve been having a terrible time with the backgroundrb scheduler.  The
issues I''m having is that the scheduled actions aren''t ran at all and if
they do, the process stays around forever.  I''m using the backgroundrb as a
nightly cron to run some accounting operations.
questions:
1. How can I have the process destroyed after the worker completes?
2.  Any idea on
2007 Mar 05
4
nil object / slave server problem
I''m just getting started wtih backgroundrb, and unfortunately hit a
snag right away...  I''m running the latest releases of rails,
backgroundrb, slave and daemons.
I created a simple worker class, using the generator, which currently
does nothing but print the arguments that are passed to do_work.  I''m
running backgroundrb using ''./script/backgroundrb
2006 Jun 21
4
one more suggestion for backgroundrb
this:
Index: script/backgroundrb/lib/backgroundrb.rb
===================================================================
--- script/backgroundrb/lib/backgroundrb.rb     (revision 16)
+++ script/backgroundrb/lib/backgroundrb.rb     (working copy)
@@ -29,7 +29,11 @@
     # the log via @logger
     def initialize(args)
       @logger = BACKGROUNDRB_LOGGER
-      Thread.new { do_work(args) }
+