Asked by:
IIS 10 and Wordpress getting crashes

Question
-
User-1170642558 posted
We have a multiple web server configuration for Wordpress. There are two servers. Getting a crash on one of the web servers which is bringing the site down. It happened again a couple days ago. This is what I am seeing in the error log. The other web server doesn't seem to have this problem, but should have the same config. Not sure how to resolve?
Log Name: Application
Source: Application Error
Date: 7/16/2020 3:21:14 PM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: GPS1-IIS01B.AGC01.com
Description:
Faulting application name: php-cgi.exe, version: 7.3.7.0, time stamp: 0x5d1cbd86
Faulting module name: php_wincache.dll, version: 2.0.0.8, time stamp: 0x5d03eb6a
Exception code: 0xc0000005
Fault offset: 0x0000000000010283
Faulting process id: 0x1dd0
Faulting application start time: 0x01d65ba63f65aaa5
Faulting application path: C:\Program Files\PHP\v7.3\php-cgi.exe
Faulting module path: C:\Program Files\PHP\v7.3\ext\php_wincache.dll
Report Id: 1923a297-2137-45b8-84ad-ed6679536868
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-16T19:21:14.475638800Z" />
<EventRecordID>342191</EventRecordID>
<Channel>Application</Channel>
<Computer>GPS1-IIS01B.AGC01.com</Computer>
<Security />
</System>
<EventData>
<Data>php-cgi.exe</Data>
<Data>7.3.7.0</Data>
<Data>5d1cbd86</Data>
<Data>php_wincache.dll</Data>
<Data>2.0.0.8</Data>
<Data>5d03eb6a</Data>
<Data>c0000005</Data>
<Data>0000000000010283</Data>
<Data>1dd0</Data>
<Data>01d65ba63f65aaa5</Data>
<Data>C:\Program Files\PHP\v7.3\php-cgi.exe</Data>
<Data>C:\Program Files\PHP\v7.3\ext\php_wincache.dll</Data>
<Data>1923a297-2137-45b8-84ad-ed6679536868</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>Thursday, July 16, 2020 8:31 PM
All replies
-
User690216013 posted
Sounds like a crash (access violation) caused by 2.0.0.8 version of php_wincache.dll when running on PHP 7.3.7.
You might report to DropPhone , with a reproducible sample,
https://forums.iis.net/t/1242776.aspx?+Pre+Release+WinCache+for+PHP+7+3+and+PHP+7+4alpha1
Thursday, July 16, 2020 8:48 PM -
User-1170642558 posted
Still getting this issue on the one web server so bumping this thread. It will crash maybe once a week then I need to recycle the App Pool. I added a post to the other thread you sent but didn't get a reply.
Looking around it sounds like I might need to change some of the settings, particularly to FastCGI, These are my settings... any recommendations on these? Also I changed the AppPool to recycle every 240 minutes.
Tuesday, August 4, 2020 5:45 PM -
User-35708584 posted
PHP 7.3.7 ?
Thursday, August 13, 2020 5:14 PM -
User413363883 posted
Did you set the Environment Variables Collection setting for PHP_FCGI_MAX_REQUESTS to the same value as instance MaxRequests ? Interesting that you have it monitoring php.ini without a path shown. That's not what I see on ours. Do you have a job running in php that takes 6 minutes, like a huge wordpress backup job or something? If not that's excessive.Tuesday, September 22, 2020 11:37 PM -
User-1220428692 posted
I am getting the exact same error.
Windows Server 2019.
PHP 7.4.11
When this crashes, it knocks the website offline for several minutes.
Tuesday, October 27, 2020 3:32 AM