similar to: Backgroundrb spiking CPU after first run on Mongrel cluster

Displaying 20 results from an estimated 200 matches similar to: "Backgroundrb spiking CPU after first run on Mongrel cluster"

2007 Feb 15
2
Multiple Processes Spawned from mongrel_rails start ?
Hello, I have mongrel 1.0.1, rails 1.2.2 ruby 1.8.5 running on Centos 4.4. When I execute the mongrel_rails start -d I see that 3 processes are spawned. See below: [root at ccc aaa]# mongrel_rails start -d [root at ccc aaa]# ps -def |grep mong root 2743 1 9 07:14 ? 00:00:01 /usr/bin/ruby /usr/bin/mongrel_rails start -d root 2744 2743 0 07:14 ? 00:00:00
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
I have a scheduled worker that runs every minute, checking for new eBay auctions to post. If it finds an auction, then it posts it. If there are no auctions in the database that are queued up, it simply does nothing. I got the worker to finally run as a scheduled worker, every minute. However, after about 30-45 scheduled runs, it simply stops running. My backgroundrb_schedules.yml file: ------
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin
2007 Nov 18
3
mongrel_cluster on OS X 10.5 Leopard
So, Leopard server has been great, most everything I need is here. Thanks to a nice example here: http://www.cyberarmy.net/library/article/1722/ I was even able to sort out using Mongrel with Apache 2. All works out of the box, except mongrel_cluster. The gem just won''t install. I could really use some guidance here. I did try the darwinports mongrel_cluster install from here:
2006 Aug 29
13
restart - `exec'': Operation not supported
I''m using the latest Mongrel (0.3.13.4) and restarting causes Mongrel to die. From mongrel.log: ** USR2 signal received. ** Restarting with arguments: ruby /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails start -C config/mongrel.yml /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:142:in `exec'': Operation not supported - ruby
2006 Jun 16
5
BackgrounDRb / Testing Error: uninitialized constant BackgrounDRb
I''m digging into BackgrounDRb and having some problems testing a worker class. The following line in my test (created from script/generate worker Test) throws an error: worker = TestWorker.new(:test_string => "testing...") Error: /activesupport/lib/active_support/dependencies.rb:123:in `const_missing'': uninitialized constant BackgrounDRb (NameError) from
2007 May 04
5
Problems with mongrel_cluster 1.0.1.1 on FreeBSD
I''m running FreeBSD 6.1 and installed the 1.0.1.1 mongrel_cluster prerelease. I had a problem with the mongrels not stopping, and it turns out it''s because ps is reporting my processes as just [ruby18] instead of someting more like "mongrel_rails start -d ......." Not sure why it''s doing that, but it is. Any ideas? For the time being I just changed line
2009 Mar 16
2
Rsyncd and Environmental Paths
I have this in my rsync.conf [backup] path = /home/$USER/backup use chroot = no monge symlinks = no uid = wendell gid = wendell read only = no list = yes auth users = wendell secrets file = /etc/rsyncd.secrets But rsync doesn't seem to interpret the $USER. I've also tried this with $HOME and '~' with no luck. I want to be able to back up to the
2008 Jul 26
4
Mongrel on Ruby 1.8.6 w/ patchlevel 279 (Win)
Hi, I can''t install Mongrel on Ruby 1.8.6 (patchlevel 279), using Windows XP. My environment: C:\ruby18>gem environment RubyGems Environment: - RUBYGEMS VERSION: 1.2.0 - RUBY VERSION: 1.8.6 (2008-07-17 patchlevel 279) [i386-mingw32] - INSTALLATION DIRECTORY: c:/ruby18/lib/ruby/gems/1.8 - RUBY EXECUTABLE: c:/ruby18/bin/ruby.exe - EXECUTABLE DIRECTORY: c:/ruby18/bin -
2006 Mar 20
7
FreeBSD Performance Tip
A small note to all the FreeBSD folks about Ruby performance. While trying to tune Mongrel to run faster on FreeBSD I was stumped as to why it was so horribly slow compared to Linux. Linux on the same machine was getting about 800 req/sec, and FreeBSD was maybe pushing 23 req/sec. Pathetic. I managed to tweak the thread model in Mongrel and get FreeBSD up to about 210 req/sec but still that
2007 Jun 06
2
struggling with stability
Greetings all, Unit tests are passing, but I''m having mucho problems getting brb to run without exceptions for more than 6 hours. I''m seeing a mixture of the following 2 exceptions: 20070605-11:26:56 (21497) failed to find slave socket - (RuntimeError) 20070605-11:26:56 (21497) /usr/local/lib/ruby/gems/1.8/gems/ slave-1.2.1/lib/slave.rb:435:in `initialize''
2008 Mar 28
5
Upgrading from older version - how?
Hi there, We''ve been using previous version of bdrb (drb based one) for a while and it was running relatively OK. We recently attempted to upgrade to the new version to keep up / use supported version but we ended up reverting to the older version. Here are the things that moved us to revert : 1) With the workers we never manage to pass this error: '''' You have a nil
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi, I''m using Mini Magick and that attachment_fu plugin to resize images that the user uploads. Everything looks okay in my code, but I get a core dump every time an image is uploaded. The file successfully posts to the application, I can see that the original file gets copied into the folder correctly. It appears that it dumps immediately after that. I''m using Mongrel behind
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) } +
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
2009 Feb 22
16
Strange error when running rails 2.3 on ruby 1.9.1 on FreeBSD
I am trying to run rails on FreeBSD 7.1. I''ve already installed Ruby 1.9.1 (from ports), apache, passenger (edge version from git), Rails 2.3 RC 1 (using gem --source like described on the weblog.rubyonrails.org). Everything installed smoothly and I am able to run ruby 1.9.1 programs. The problem is when I try to run rails. It fails with this error: [grzesiu@cratan ~/.gem/ruby/1.9/gems]$
2010 Feb 03
7
could not find rmagick locally or in a repository
I unzipped simple captcha in vendor/plugins Then I did >rake simple_captcha:setup Gave error: rake aborted! no such file to load -- RMagick2.so SO I thought Rmagick has to be installed. So downloaded 2.12.0 binary gem for Ruby 1.8.6 DT 2009-10-04 16:05 RMagick-2.12.0-ImageMagick-6.5.6-8-Q8.zip Unzipped the file Ran ImageMagick-6.5.6-8-Q8-windows-dll.exe It installed the program in
2006 Sep 11
8
fckeditor works, but i cant get my buttons back...
I am going to bet this is a mongrel issue,because this doesn''t happen under webrick. Anyway, I was able to get fckeditor: http://www.fckeditor.net/ to work under rails: http://www.joshuamcharles.com/xhtml/fckrails.php i even saw the part about adding "1. Adding a YAML configuration file. For example, create $(RAILS_ROOT)/config/mongrel_mime.yml with the contents: xml:
2007 Dec 07
2
Server is not a class with mongrel
Hello... I am trying to switch to mongrel from webrick to get rid of the . puppetmaster is FreeBSD 6.2 with ruby, puppet, and mongrel all from ports (latest as of this morning). I get "Server is not a class". --verbose, --debug do not spit out any useful info. puppet-0.22.4 ruby-1.8.6.111_1,1 ruby18-bdb46-0.6.2 ruby18-gems-0.9.4 rubygem-daemons-1.0.8 rubygem-fastthread-1.0
2006 Aug 02
2
Mongrel crashes whenever an exception is raised
Hi all, I have a rails app running on mongrel on freebsd using mongrel 0.3.13.3 with ruby 1.8.4. Mongrel dies every time the application generates an exception. I have the same setup running on a linux box without any problems. Mongrel crashes with the following error: Bus error (core dumped) And the following message in /var/log/message kernel: pid 57638 (ruby), uid 0: exited on signal 10