Lots of CLOSE_WAIT sockets, nginx+php (WordPress site)
Benjamin Pineau
ben at zouh.org
Thu Feb 25 17:50:23 MSK 2010
Vicente Aguilar a écrit :
> tcp 324 0 10.10.10.10:80 66.249.68.247:36979
> ESTABLISHED -
> tcp 113 0 127.0.0.1:80 127.0.0.1:39229
> CLOSE_WAIT -
> tcp 335 0 10.10.10.10:80 65.55.207.102:47057
> ESTABLISHED -
> tcp 116 0 10.10.10.10:80 83.170.113.102:60149
> ESTABLISHED -
> tcp 413 0 10.10.10.10:80 81.52.143.26:51658
> CLOSE_WAIT -
> tcp 117 0 10.10.10.10:80 83.170.113.102:56117
> CLOSE_WAIT -
Out of curiosity, did you try switching the event module to
anything but the default (epoll) ?
ie. something like:
events {
use select;
}
The accumulating non-empty Recv-Qs and the pending CLOSE_WAITs (ie.
close() never triggered on server side) behaviors are typical
symptoms for races conditions when using an edge-triggered I/O
interface...
More information about the nginx
mailing list