|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2015-10-19 14:30 UTC] maly at myq dot cz
Description: ------------ Same description as a bug #70652 (https://bugs.php.net/bug.php?id=70652). The described behaviour appears in version 5.6.10 and also in snapshot rc76fd64 (http://windows.php.net/downloads/snaps/php-5.6/rc76fd64/php-5.6-nts-windows-vc11-x86-rc76fd64.zip) EventLog contains errors of following type: Faulting application name: php-cgi.exe, version: 5.6.16.0, time stamp: 0x56243f5d Faulting module name: php_opcache.dll, version: 5.6.16.0, time stamp: 0x5578c3d4 Exception code: 0xc0000005 Fault offset: 0x0000233b Faulting process id: 0x39f8 Faulting application start time: 0x01d10a785d868a02 Faulting application path: C:\sw\PHP\PHP\php-cgi.exe Faulting module path: c:\sw\PHP\PHP\php_opcache.dll Report Id: 6b992b1c-83af-4301-92ff-293ff8caff77 Faulting package full name: Faulting package-relative application ID: PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 13:00:01 2025 UTC |
I have used default php ini configuration. The only diffs: - Extension path was directed to the same directory as php.exe - there was enabled only extension: zend_extension=php_opcache.dll - opcache settings: [opcache] opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=0 The PHP was executed via mod_fcgid in apache 2.2.29. Httpd.conf snippet: LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php FcgidWrapper "\"C:/sw/MyQ/php/php/php-cgi.exe\"" .php AddType application/x-httpd-php .php FcgidMaxProcesses 20 FcgidMaxRequestsPerProcess 490 # PHP has max_execution_time=300, add 10 here to be sure FcgidIOTimeout 310 # PHP has 20M, add 1M here to be sure FcgidMaxRequestLen 22020096 # Fix the opcache bug with tmp path FcgidInitialEnv TEMP "C:/WINDOWS/TEMP" FcgidInitialEnv TMP "C:/WINDOWS/TEMP I executed many requests using utility ab: ab -n 1000 -6 http://127.0.0.1/test.php Where the content of test.php was following: <?php $sec = 3; echo "waiting $sec s..."; for($i=0; $i < $sec; ++$i) { sleep(1); } echo "konec<br>"; echo "cekalo se $sec sekund"; phpinfo(); Note: The same behaviour appears even we use our internal php process manager. Our php process manager is simple tool which preloads php processes, it uses (our implementation of) fast cgi to communicate with php.