zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

CLI Crashing #141

Open laurinkeithdavis opened 10 years ago

laurinkeithdavis commented 10 years ago

We have 2 production servers, one runs IIS and FastCGI and works fine. The other is using php-win.exe and run's CLI scripts only. Opcache fails on the CLI server about 10% of the time:

Faulting application name: php-win.exe, version: 5.5.4.0, time stamp: 0x523a093e Faulting module name: php_opcache.dll, version: 5.5.4.0, time stamp: 0x523a1211 Exception code: 0xc0000005 Fault offset: 0x0000a770 Faulting process id: 0xe00 Faulting application start time: 0x01cec68ac439747a Faulting application path: C:\PHP\php-win.exe Faulting module path: c:\php\ext\php_opcache.dll Report Id: 022736aa-327e-11e3-a2bc-bcaec521c84d

laurinkeithdavis commented 10 years ago

Could it be using php-win.exe? Should I switch to php.exe?

laurinkeithdavis commented 10 years ago

Just to confirm, I disabled Opcache for CLI (opcache.enable_cli=0) about 2 weeks ago, and no errors.

dstogov commented 10 years ago

Could you please try to generate crash backtrace according to this instruction https://bugs.php.net/bugs-generating-backtrace-win32.php

laurinkeithdavis commented 10 years ago

Well, I've attempted to do this, but nothing is being captured. I've used the tool before (for similar php.exe issue.) I'm trying to capture php.win.exe. Do you think that matters? Anyway, I'm not sure what I am doing wrong.

laurinkeithdavis commented 10 years ago

This issue prevents us from using Opcache on the CLI - any ideas on how to generate the backtrace correctly?