Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
REE 2010.01 + Passenger 2.2.10 on Apache hangs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  18 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Steve Madsen  
View profile  
 More options Feb 24 2010, 12:04 pm
From: Steve Madsen <st...@lightyearsoftware.com>
Date: Wed, 24 Feb 2010 09:04:54 -0800 (PST)
Local: Wed, Feb 24 2010 12:04 pm
Subject: REE 2010.01 + Passenger 2.2.10 on Apache hangs
Monday morning I upgraded a production server to REE 2010.01 and
Passenger 2.2.10. Typical behavior for this server is 7-10 requests
per second, though only maybe 1 of those ends up in the Rails
application.

Over the next couple of days, I experienced symptoms similar to a SYN
flood attack, where I'd see 60-70 connections in TCP SYN_RECV state,
with all of the available Apache children running, many of them stuck
in W/"Sending Reply" state according to server-status. Fully stopping
and restarting Apache would fix the problem for a period of time, but
it'd come back within a couple of hours.

Last night I backed off to REE 2009.10 and Passenger 2.2.9 and the
site has been fine since. I can't do further testing at the moment
because I'm going out of town tomorrow and it's a production server.
When I come back I'd like to narrow down if it's Passenger (which I
suspect; Googling tells me that children stuck in W state is usually
due to a problematic module) or REE.

Has anyone else seen similar behavior after upgrading to 2.2.10 or
with REE 2010.01?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
silent (e)  
View profile  
 More options Feb 26 2010, 2:36 pm
From: "silent (e)" <matteed...@gmail.com>
Date: Fri, 26 Feb 2010 11:36:44 -0800 (PST)
Local: Fri, Feb 26 2010 2:36 pm
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
I experienced two Apache crashes after upgrading to 2.2.10 earlier
this week.  After downgrading back to 2.2.8 I've had no problems.
This server is running ...

ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-freebsd6.3]
Ruby Enterprise Edition 20090610
Server version: Apache/2.2.11 (FreeBSD)

I can't confirm that 2.2.10 was the problem but it started after
upgrading.  I don't have enough apache-fu to diagnose the way you did
so i'll be interested to know what you find out.

matte

On Feb 24, 9:04 am, Steve Madsen <st...@lightyearsoftware.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Ross  
View profile  
 More options Mar 1 2010, 8:58 am
From: Phil Ross <phil.r...@gmail.com>
Date: Mon, 1 Mar 2010 05:58:58 -0800 (PST)
Local: Mon, Mar 1 2010 8:58 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
On Feb 24, 5:04 pm, Steve Madsen <st...@lightyearsoftware.com> wrote:

> Over the next couple of days, I experienced symptoms similar to a SYN
> flood attack, where I'd see 60-70 connections in TCP SYN_RECV state,
> with all of the available Apache children running, many of them stuck
> in W/"Sending Reply" state according to server-status. Fully stopping
> and restarting Apache would fix the problem for a period of time, but
> it'd come back within a couple of hours.

> Has anyone else seen similar behavior after upgrading to 2.2.10 or
> with REE 2010.01?

We're seeing almost exactly the same problem with Passenger 2.2.10.
The only difference is the problems start immediately after restarting
Apache - each request immediately gets stuck in the W (Sending Reply)
state for a long time. passenger-status reports no or few active
requests.

We are now running Passenger 2.2.9 again, which is working without any
problems.

We're running Apache 2.2.3 on Red Hat Enterprise Linux 5.4 with Ruby
1.8.6p369. Our Passenger config is as follows:

Global config:
PassengerMaxPoolSize 8
PassengerMaxInstancesPerApp 7
PassengerPoolIdleTime 0
RailsAppSpawnerIdleTime 1200

Virtual host (the only Passenger vhost):
PassengerUseGlobalQueue on
PassengerMaxRequests 30000

Regards,

Phil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kamal Fariz  
View profile  
 More options Mar 2 2010, 12:25 am
From: Kamal Fariz <kamal.fa...@gmail.com>
Date: Mon, 1 Mar 2010 21:25:34 -0800 (PST)
Local: Tues, Mar 2 2010 12:25 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
I can confirm seeing this behavior on our production box. I upgraded
to 2.2.10 today after a mysterious Apache crash. Recalling that 2.2.10
fixed a file descriptor issue, I upgraded to it. After an hour,
haproxy took the app server out of rotation. I saw that there were
tons of httpd child processes while passenger-status itself showed no
active connections. A restart of Apache didn't help.

I downgraded to 2.2.9 and things are running again.

My config:

Ruby 1.8.6-p111 (non-REE)
Apache 2.2.3
Centos 5

Global config:
PassengerUseGlobalQueue On
PassengerMaxPoolSize 20
PassengerMaxInstancesPerApp 8
PassengerPoolIdleTime 0

vhost config:
PassengerHighPerformance on

Regards,
kamal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chuyeow  
View profile  
 More options Mar 2 2010, 12:43 am
From: chuyeow <chuy...@gmail.com>
Date: Mon, 1 Mar 2010 21:43:37 -0800 (PST)
Local: Tues, Mar 2 2010 12:43 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
I'm seeing the same problem too upgrading Passenger to 2.2.10 (REE is
2010.01). We run 3 servers on load-balancing were wondering why only 1
particular server which we commissioned later and so had 2.2.10 had
lots of timeouts when restarting. We're using Passenger 2.2.9 on the
other 2 servers.

I'll downgrade to 2.2.9 and report back but I suspect our timeout
problems will be gone.

Cheers,
Chu Yeow

On Mar 1, 9:58 pm, Phil Ross <phil.r...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 2 2010, 5:09 am
From: Hongli Lai <hon...@phusion.nl>
Date: Tue, 2 Mar 2010 11:09:36 +0100
Local: Tues, Mar 2 2010 5:09 am
Subject: Re: [phusion-passenger] Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs

On Tue, Mar 2, 2010 at 6:43 AM, chuyeow <chuy...@gmail.com> wrote:
> I'm seeing the same problem too upgrading Passenger to 2.2.10 (REE is
> 2010.01). We run 3 servers on load-balancing were wondering why only 1
> particular server which we commissioned later and so had 2.2.10 had
> lots of timeouts when restarting. We're using Passenger 2.2.9 on the
> other 2 servers.

> I'll downgrade to 2.2.9 and report back but I suspect our timeout
> problems will be gone.

I guess the file descriptor fixes caused some regressions.

Can those who can reproduce the problem run 'passenger-status
--show=backtraces' and post the output?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 2 2010, 6:13 am
From: Hongli Lai <hon...@phusion.nl>
Date: Tue, 2 Mar 2010 12:13:13 +0100
Local: Tues, Mar 2 2010 6:13 am
Subject: Re: [phusion-passenger] Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
I think I've found the cause of the problem. This should fix the problem:
http://github.com/FooBarWidget/passenger/commit/b8047d7567438d1d8a84e...
Can anybody confirm?

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scottie35  
View profile  
 More options Mar 2 2010, 6:44 am
From: Scottie35 <sc...@sott.net>
Date: Tue, 2 Mar 2010 03:44:42 -0800 (PST)
Local: Tues, Mar 2 2010 6:44 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
On Mar 2, 12:13 pm, Hongli Lai <hon...@phusion.nl> wrote:

> I think I've found the cause of the problem. This should fix the problem:http://github.com/FooBarWidget/passenger/commit/b8047d7567438d1d8a84e...
> Can anybody confirm?

So far, so good!

Before, I couldn't even get the site to load with 2.2.10 and the
latest REE. Now it's running just fine!

Thanks,
Scottie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scottie35  
View profile  
 More options Mar 2 2010, 7:43 am
From: Scottie35 <sc...@sott.net>
Date: Tue, 2 Mar 2010 04:43:08 -0800 (PST)
Local: Tues, Mar 2 2010 7:43 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs

On Mar 2, 12:44 pm, Scottie35 <sc...@sott.net> wrote:

> So far, so good!

Oops. Apache just bit the bullet. Back to 2.2.9!

From my Apache logs, looks like I got a ton of these:

[ pid=29278 file=ext/apache2/Hooks.cpp:727 time=2010-03-02
07:39:32.406 ]:
  Unexpected error in mod_passenger: Could not connect to the
ApplicationPool server: Broken pipe (32)
  Backtrace:
     in 'Passenger::ApplicationPoolPtr
Passenger::ApplicationPoolServer::connect()' (ApplicationPoolServer.h:
746)
     in 'int Hooks::handleRequest(request_rec*)' (Hooks.cpp:523)

Hope it helps!

Scottie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Ross  
View profile  
 More options Mar 2 2010, 8:51 am
From: Philip Ross <phil.r...@gmail.com>
Date: Tue, 2 Mar 2010 13:51:46 +0000
Local: Tues, Mar 2 2010 8:51 am
Subject: Re: [phusion-passenger] Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
On 2 March 2010 11:13, Hongli Lai <hon...@phusion.nl> wrote:

> I think I've found the cause of the problem. This should fix the problem:
> http://github.com/FooBarWidget/passenger/commit/b8047d7567438d1d8a84e...
> Can anybody confirm?

This seems to have fixed it for us.

Previously, most requests were getting stuck in the Sending Reply
state. Now, everything is working fine.

Thanks,

Phil


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 3 2010, 4:57 am
From: Hongli Lai <hon...@phusion.nl>
Date: Wed, 3 Mar 2010 01:57:49 -0800 (PST)
Local: Wed, Mar 3 2010 4:57 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
On Mar 2, 2:51 pm, Philip Ross <phil.r...@gmail.com> wrote:

> On 2 March 2010 11:13, Hongli Lai <hon...@phusion.nl> wrote:

> > I think I've found the cause of the problem. This should fix the problem:
> >http://github.com/FooBarWidget/passenger/commit/b8047d7567438d1d8a84e...
> > Can anybody confirm?

> This seems to have fixed it for us.

> Previously, most requests were getting stuck in the Sending Reply
> state. Now, everything is working fine.

> Thanks,

> Phil

Can anybody else test whether my patch is effective?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nash  
View profile  
 More options Mar 3 2010, 12:46 pm
From: Nash <n...@kabbara.us>
Date: Wed, 3 Mar 2010 09:46:40 -0800 (PST)
Local: Wed, Mar 3 2010 12:46 pm
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
Any ETA on when the next gem will be released with this fix? We're
about to update our production gems, but waiting on this to be
corrected.

Thanks.

-Nash

On Mar 3, 3:57 am, Hongli Lai <hon...@phusion.nl> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 3 2010, 3:56 pm
From: Hongli Lai <hon...@phusion.nl>
Date: Wed, 3 Mar 2010 21:56:48 +0100
Local: Wed, Mar 3 2010 3:56 pm
Subject: Re: [phusion-passenger] Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs

On Wed, Mar 3, 2010 at 6:46 PM, Nash <n...@kabbara.us> wrote:
> Any ETA on when the next gem will be released with this fix? We're
> about to update our production gems, but waiting on this to be
> corrected.

I want to release it as soon as a few more people confirm that the fix works.

--
Phusion | The Computer Science Company

Web: http://www.phusion.nl/
E-mail: i...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jonb  
View profile  
 More options Mar 4 2010, 4:25 pm
From: jonb <jon.bettc...@gmail.com>
Date: Thu, 4 Mar 2010 13:25:15 -0800 (PST)
Local: Thurs, Mar 4 2010 4:25 pm
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
Looks like the patch is working for me as well.  I'll be running some
stress tests today, but the hanging problems I was seeing in the first
few requests have gone away.

Thanks,

-Jon

On Mar 3, 12:56 pm, Hongli Lai <hon...@phusion.nl> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nash  
View profile  
 More options Mar 4 2010, 5:20 pm
From: Nash <n...@kabbara.us>
Date: Thu, 4 Mar 2010 14:20:17 -0800 (PST)
Local: Thurs, Mar 4 2010 5:20 pm
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
I just applied the patch in dev & staging and things seem to be
running OK.

But the thing is, when I first installed the gem, I did get some
hanging which later went away after restarting the servers a couple of
times.

So it's a little difficult for me to say with 100% confidence that
this change has fixed the problem.

But I do know that things are working fine after applying the patch.

Thanks.

-Nash

On Mar 3, 2:56 pm, Hongli Lai <hon...@phusion.nl> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leo baltus  
View profile  
 More options Mar 5 2010, 2:52 am
From: Leo baltus <leo.bal...@omroep.nl>
Date: Thu, 4 Mar 2010 23:52:12 -0800 (PST)
Local: Fri, Mar 5 2010 2:52 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
Hi Hongli,

On 2 mrt, 12:13, Hongli Lai <hon...@phusion.nl> wrote:

> I think I've found the cause of the problem. This should fix the problem:http://github.com/FooBarWidget/passenger/commit/b8047d7567438d1d8a84e...
> Can anybody confirm?

Yes, this fixed it for us as well.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongli Lai  
View profile  
 More options Mar 5 2010, 5:14 am
From: Hongli Lai <hon...@phusion.nl>
Date: Fri, 5 Mar 2010 02:14:58 -0800 (PST)
Local: Fri, Mar 5 2010 5:14 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
Thanks for the confirmations. I've pushed 2.2.11 to Gemcutter. Will
upload the tarball and post the announcement later today.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Leach  
View profile  
 More options Mar 5 2010, 11:09 am
From: John Leach <j...@brightbox.co.uk>
Date: Fri, 5 Mar 2010 08:09:32 -0800 (PST)
Local: Fri, Mar 5 2010 11:09 am
Subject: Re: REE 2010.01 + Passenger 2.2.10 on Apache hangs
On Mar 5, 10:14 am, Hongli Lai <hon...@phusion.nl> wrote:

> Thanks for the confirmations. I've pushed 2.2.11 to Gemcutter. Will
> upload the tarball and post the announcement later today.

We've seen this too - you fixed it before we even reported it, nice
work :)

Ubuntu Hardy packages available now:

http://blog.brightbox.co.uk/posts/passenger-2-2-11-packages-for-ubunt...

John.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »