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 profiles (bleakhouse).
Try to reduce the case and paste your worker code. On Wed, Feb 4, 2009 at 10:56 PM, Christian Billen <[email protected]> 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: > 1.1 > > 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. > :backgroundrb: > :ip: 0.0.0.0 > :port: 11006 > :debug_log: true > :schedules: > :order_shipped_worker: > :complete_orders: > :trigger_args: 0 30 21 * * * * > :reconcile_committed_items: > :trigger_args: 0 0 22 * * * * > :check_for_receipts: > :trigger_args: 0 30 22 * * * * > :exchange_rates_worker: > :get_exchange_rates_for_today: > :trigger_args: 0 0 6 * * * * > :get_all_exchange_rates: > :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: [email protected] > > WarmlyYours > 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 > Service > 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 > [email protected] > http://rubyforge.org/mailman/listinfo/backgroundrb-devel > -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org _______________________________________________ Backgroundrb-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/backgroundrb-devel
