That's interesting Scott. I was running Ruby 1.8.4, and first
noticed the problem when I upgraded to 1.8.6. I did some other
things at that same time though... I also added memcached (which I
connect to in environment.rb).
I recently tried having monit call a simple test controller / action
every 2 minutes on each mongrel. The controller doesn't access the
DB or memcache... it just renders "hello world" to the HTML.
Shouldn't help... but it does.
So far so good, the mongrels have stayed responsive for the last
couple days. Based on the fact that this fixed things, I'm thinking
it's some kind of timeout issue within mongrel.
-Pete
On May 7, 2007, at 7:07 AM, Michael D'Auria wrote:
I wouldn't upgrade to Ruby 1.8.6 unless my app was written for
Rails 1.2 as Ruby 1.8.6 requires Rails 1.2.3/
On 5/7/07, Scott Hodson <[EMAIL PROTECTED]> wrote:
Try upgrading to Ruby 1.8.6, my mongrels were hanging too until I
upgraded my ruby, gem and rails to the latest versions and it's all
working better now.
On 5/5/07, Michael P. Soulier <[EMAIL PROTECTED] > wrote:
On 05/05/07 Pete DeLaurentis said:
> Hi Mike,
>
> You're definitely hitting this more often then I am (about once per
> day).
>
> With monit, you can do an HTTP request and test the response, which
> is how I determined if it's hanged. Sounds pretty similar to what
> you're doing with cron.
>
> Which OS are you running + version of ruby? I'm on OpenSUSE 10.3,
> Ruby 1.8.5 , Rails 1.2, and Mongrel 1.0.1. I also run memcached,
> lighttpd, and pound. I'm running 6 mongrels using mongrel_cluster
> (the latest version).
I'm running a Linux VPS, which I think is RedHat based. ruby 1.8.4 and
mongrel 1.0.1, with Rails 1.2.2.
Mike
--
Michael P. Soulier < [EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users