I’m seeing a massive spike of nginx connections in read state, which
appears
to be related to fastcgi upstream connections [1]. Usually I’ll have 0.6
avg
and ~25 max connections in read state, but with 0.8.15/0.7.62 I’ve seen
34.0
avg and 52.4 max… and it looks like my fastcgi upstream doesn’t like
that
very much.
Thoughts?
Thanks,
Jeff
[1] I reverted to proxy_pass and the read state connections disappeared.
On Tue, Sep 15, 2009 at 08:35:41PM +1000, Jeff W. wrote:
Hi all,
I’m seeing a massive spike of nginx connections in read state, which appears
to be related to fastcgi upstream connections [1]. Usually I’ll have 0.6 avg
and ~25 max connections in read state, but with 0.8.15/0.7.62 I’ve seen 34.0
avg and 52.4 max… and it looks like my fastcgi upstream doesn’t like that
very much.
Thoughts?
The read state is just reading request (not including body).
This state is before any fastcgi interaction.
I’m seeing a massive spike of nginx connections in read state, which appears
to be related to fastcgi upstream connections [1]. Usually I’ll have 0.6 avg
and ~25 max connections in read state, but with 0.8.15/0.7.62 I’ve seen 34.0
avg and 52.4 max… and it looks like my fastcgi upstream doesn’t like that
very much.
Ouch, looks like I spoke too soon – it’s happening again without
fastcgi in
active use. Here’s what the connections in read state chart looks like:
There could be a slight lagging correlation with the active
connections
chart, showing spikes of connections left in the read state about a
minute
after similar spikes in active connections… but it’s definitely not a
one-to-one relationship, even excluding the static files being served.
There could be a slight lagging correlation with the active connections
chart, showing spikes of connections left in the read state about a minute
after similar spikes in active connections… but it’s definitely not a
one-to-one relationship, even excluding the static files being served.
Many reading states may indicate some network issues.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.