[Backgroundrb-devel] CPU/Memory usage of BackgroundDrb
gethemant at gmail.com
Thu Feb 5 05:26:58 EST 2009
I doubt there would be a problem with bdrb. However I would suggest
you to run your program with ruby-prof or use one of the memory
Try to reduce the case and paste your worker code.
On Wed, Feb 4, 2009 at 10:56 PM, Christian Billen
<cbillen at warmlyyours.com> wrote:
> Good morning list,
> We are a new user of BackgroundDrb and we use it to run specific cron-like
> jobs at certain times of the day
> What we've been noticing is that even when no jobs are running,
> backgrounddrb will be running and 'humming' . This happen as soon as
> background drb is started. Notice the CPU usage for it and packet worker
> will be between 4% to 7%
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 22523 heatwave 20 0 284m 134m 1292 S 3 6.6 0:01.94 ruby
> 22524 heatwave 20 0 99.7m 41m 3200 S 1 2.0 0:01.68 packet_worker_r
> My packet gem is at this release:
> packet (0.1.14)
> My backgrounddrb is at this release:
> Running on ubuntu 8.10 x86 on slicehost
> Here's our backgrounddrb.xml, i've tried with or without debug, as you can
> see the script are only running once a day.
> :ip: 0.0.0.0
> :port: 11006
> :debug_log: true
> :trigger_args: 0 30 21 * * * *
> :trigger_args: 0 0 22 * * * *
> :trigger_args: 0 30 22 * * * *
> :trigger_args: 0 0 6 * * * *
> :trigger_args: 0 30 6 1 * * *
> Can anyone shed some light on how to debug or is this cpu usage normal?
> Thank you
> Christian Billen
> Director of IT
> Warmlyyours.com, inc.
> Phone: (800) 875-5285 ext.800
> Fax: (847) 550-2600
> Email: cbillen at warmlyyours.com
> Honeywell authorized licensee
> 2 Corporate Dr., Suite 100
> Long Grove, Illinois 60047
> Visit the WarmlyYours website at: www.warmlyyours.com
> 24/7 Installation Support • Lifetime Technical Assistance • Free Design
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the system manager.
> Please note that any views or opinions presented in this email are solely
> those of the author and do not necessarily represent those of the company.
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
More information about the Backgroundrb-devel