SPDY/1.3.4: strange connection buildup

Tom van der Woerdt info at tvdw.eu
Mon Aug 13 10:40:07 UTC 2012


Op 8/13/12 12:26 PM, Valentin V. Bartenev schreef:
> On Monday 13 August 2012 14:11:41 Tom van der Woerdt wrote:
>> Op 8/13/12 12:07 PM, Valentin V. Bartenev schreef:
>>> On Monday 13 August 2012 13:12:18 Tom van der Woerdt wrote:
>>>> Hi,
>>>>
>>>> I've attached two Munin screenshots that show a strange issue I've been
>>>> having with nginx. I'm running the 1.3.4 version with the SPDY patch
>>>> (latest, 51) and it really looks like nginx sometimes forgets to close
>>>> connections.
>>> [...]
>>>
>>> In case of SPDY these numbers are not real connections. It also counts
>>> SPDY-streams. And it's pretty common when a browser opens about 10-20
>>> streams per page.
>>>
>>> But it is not ruled out, that there's may be a problem with the counting.
>> If streams are counted instead of connections then the number is even
>> more wrong.
> Streams + connections.
>
>> A stream gets closed immediately after the response has been
>> sent. My server has no "slow" streams so there should be maybe 1 or 2
>> streams visible on the graph, not 250.
>>
> Could you check the error log for segfault alerts? If worker process dies then
> counters will stay in a wrong state.
>

[root at server nginx]# cat error.log* | grep alert
2012/08/12 18:52:18 [alert] 25293#0: worker process 32049 exited on 
signal 11
2012/08/10 23:02:13 [alert] 25293#0: worker process 16308 exited on 
signal 11
2012/08/09 17:55:50 [alert] 25293#0: worker process 25294 exited on 
signal 11

[root at server nginx]# cat error.log* | grep emerg
2012/08/12 18:52:18 [emerg] 12943#0: eventfd() failed (38: Function not 
implemented)
2012/08/12 21:58:39 [emerg] 6416#0: eventfd() failed (38: Function not 
implemented)
2012/08/12 23:46:04 [emerg] 7651#0: eventfd() failed (38: Function not 
implemented)
2012/08/13 00:43:46 [emerg] 880#0: eventfd() failed (38: Function not 
implemented)
2012/08/10 17:14:45 [emerg] 16308#0: eventfd() failed (38: Function not 
implemented)
2012/08/10 23:02:13 [emerg] 32049#0: eventfd() failed (38: Function not 
implemented)
2012/08/09 10:43:42 [emerg] 25294#0: eventfd() failed (38: Function not 
implemented)
2012/08/09 17:55:50 [emerg] 5345#0: eventfd() failed (38: Function not 
implemented)

[root at server nginx]# cat error.log* | grep error | grep -v "redirection 
cycle" | grep -v "timed out" | grep -v "upstream" | grep -v "No such 
file" | grep -v "basic authentication" | grep -v "password mismatch"
-- nothing --

Tom



More information about the nginx-devel mailing list