I have been fighting one of five WordPress sites on my server that keeps timing out or otherwise stalling. During which, the site creates the maximum number of allowable php-cgi.exe threads. Neither these threads nor the w3wp.exe processes uses much or any CPU power while stalled. I'm guessing the threads get stuck waiting for something but never get shut down.
Some insight would be appreciated.
I have checked the server logs and php54_errors.log files. The only item related to the site was a time out of wincache.dll. This was not consistent but I disabled it none the less. Now it still fails and no meaning full errors are reported. (Ugg).
Environment:
- Server 2008 r2
- IIS 7.5
- php 5.4.9
- Fast CGI
- WinCache 1.3.4
- WP 3.5.1
- Custom template (not mine) and 4600+ posts
- Current active plugins:
- BWP Google XML Sitemaps (replaced older plugin)
- Configure SMTP (now also disabled since I started the message)
- Disqus Comment System
- Google Analytics for WordPress (replaced older plugin)
- W3 Total Cache (replaced WP super cache)
Tests and trials:
- replaced plugins with ones known to support larger sites
- disabled many plugins not necessary to the site
- disabled wincache (for this site only, supposedly) php_info shows both Opcode cache and File cache as disabled but Process Explorer shows php_wincache.dll in a Wait:WrQueue state for threads.
- recycled app pool every 60 minutes. Still timed out so now set to 15 minutes. This was done just to stabilize the site while I figure out why it's acting up.
- reduced instances of php-cgi to 10 (it climbed upward of 30 at one pont)
Four other popular but smaller WordPress sites run fine on the server. I have used them to compare and this site has nearly identical environment.