search for: plugthegap

Displaying 6 results from an estimated 6 matches for "plugthegap".

2008 Mar 31
3
UK Daylight Savings
A quick fix for anyone running into this problem: load_schedule was crashing cron_trigger.rb#160, and I found that for triggers like "0 20 5 * * * *" it was putting in 32 for the date (even though its Mon Mar 31 04:16:21 BST 2008). Something to do with switching to day light savings I think, which concludes after 2am. I patched it by adding day = 31 if day == 32 on the line before.
2007 Oct 24
28
random cpu spikes, EBADF errors
In May I had problem with mongrels suddenly consuming huge cpu resources for a minute or two and then returning to normal (load average spikes up to 3.8and then back down to a regular 0.2 over the course of 5 minutes, then again 1/2 hour later. or 4 hours later, no predictable rhythm). I posted to Litespeed forums because I thought the problem was there but didn''t get far. And a week
2008 Jan 09
1
Saving server
Hi all, If I modified the server script with i=0 begin BackgrounDRb::MasterProxy.new() rescue => e #some code to email notice of error i +=1 retry if i < 5 end would that work / be wise? (vs checking up on the process externally via cron, and restarting it if it crashes) thanks, zacha -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 May 07
1
Mongrel and EBADF error consuming resources
In the last few weeks I''ve noticed the load average spiking up for 5 minutes at a time (2-3.5 on a system that usually runs around 0.5-1.5). Looking closer I found that one mongrel process and litespeed are at the top, and using strace I''ve found that they''re passing the file below, seems to get stuck on single file/EBADF error. It happens with a number of different
2007 Dec 20
1
updating to 1.0
Hey, in 1.0 how do I delete a worker from the inside (in 0.2 it was self.delete)? I need them to delete themselves after they''ve finished their work. thanks, Zach -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20071220/2ff974f4/attachment.html
2008 Jan 03
7
Delete a busy worker
I thought I could delete a busy worker by calling MiddleMan.delete_worker, but doesn''t seem to end. I believe this was possible in 0.2, is it not in 1.0? thanks, Zach -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080103/0c701f29/attachment.html