PHP-CGI.exe在IIS上崩溃


PHP-CGI.exe crash on IIS

我在Windows 2008环境中的IIS 6.1上运行多个SugarCRM站点。数据库位于 SQL 2008 R2 服务器上。我们运行的是启用了 Fast-CGI 的 PHP 5.3.26。Wincache 1.3.4.0 也已启用。

当站点负载过重时,似乎php-cgi.exe崩溃,(20 +用户)我设法调试了一个崩溃的php-cgi.exe实例,这是我发现的-

In php cgi__PID__17080__Date__03_15_2015__Time_01_14_04PM__478__Second_Chance_Exception_C0000005.dmp the assembly instruction at kernel32!InterlockedIncrement+9 in C:'Windows'SysWOW64'kernel32.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to write to memory location 0x00000001 on thread 0

Thread report
Thread 0 - System ID 15852
Entry point   php_cgi+656a 
Create time   15/03/2015 10:02:43 
Time spent in user mode   0 Days 00:00:25.031 
Time spent in kernel mode   0 Days 00:00:40.406 
This thread is not fully resolved and may or may not be a problem.     
Further analysis of these threads may be required.
Function kernel32!InterlockedIncrement+9 
php_wincache!get_module+c592 
php5!php_pdo_stmt_delref+efb6 

我不确定上面的调试是什么意思。谁能建议错误的含义以及如何防止它发生?

谢谢

不再支持 PHP 5.3。 而且,因此,PHP 5.3上的WinCache也不再受支持。但是,适用于PHP 5.3的WinCache的最后一个版本是1.3.6.3,可在此处获得。 它包含多项性能和稳定性改进。

如果您迁移到 PHP 5.4,则可以选择更新的 WinCache 版本,这些版本更加稳定,并具有新功能,例如函数重新路由和减少对系统页面文件的依赖。