Lots of CLOSE_WAIT sockets, nginx+php (WordPress site)
mdounin at mdounin.ru
Sun Feb 21 22:54:46 MSK 2010
On Sun, Feb 21, 2010 at 11:19:48AM +0100, Vicente Aguilar wrote:
> I have a WordPress-mu site (a couple personal and friends'
> blogs, very light traffic) which I migrated some months ago from
> lighttpd+php-fcgi to nginx+php-fcgi. Ever since the migration
> the site sometimes goes down, I never had the time to look into
> it and just programmed a script that monitored the site and
> restarted everything when it went down.
> We're going to start using WP-mu at work so I've been looking
> into it lately and the problem seems to be browser-server
> connections stuck on the CLOSE_WAIT state. With netstat -nap I
> get loads of these:
> $ netstat -nap | grep CLOSE_WAIT
> tcp 1 0 10.10.10.10:80 184.108.40.206:52132
> CLOSE_WAIT 27672/nginx: worker
What does nginx -V show? What's in config?
More information about the nginx