Bug #74716 [Opn->Fbk]: Opcode crash 32bit nts php-cgi.exe on busy site.

From: Date: Tue, 07 May 2019 16:21:07 +0000
Subject: Bug #74716 [Opn->Fbk]: Opcode crash 32bit nts php-cgi.exe on busy site.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220746@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74716&edit=1 ID: 74716 Updated by: cmb@php.net Reported by: vbgamer45 at gmail dot com Summary: Opcode crash 32bit nts php-cgi.exe on busy site. -Status: Open +Status: Feedback Type: Bug Package: opcache Operating System: Windows 2012 PHP Version: 7.1.5 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Well, PHP-7.1 will not receive any normal bug fixes, so the question is whether you experience these issues with any of the actively supported[1] PHP versions also. If so, please try one of the snapshots[2] which include a possible fix in a test environemnt (these are dev versions which are not meant for production). [1] <https://www.php.net/supported-versions.php> [2] <https://windows.php.net/downloads/snaps/ostc/opcache-aslr/> Previous Comments: ------------------------------------------------------------------------ [2017-08-15 17:10:24] codemonkey at qoqoro dot com We have observed similar crashes with PHP 7.1.6, 7.1.7 and 7.1.8 on Windows 7, Windows Server 2008 R2 and Server 2012. Disabling the PHP opcode cache appears to help. ------------------------------------------------------------------------ [2017-06-08 19:53:34] vbgamer45 at gmail dot com Just remembered these two servers had php 32bit ------------------------------------------------------------------------ [2017-06-08 18:59:22] vbgamer45 at gmail dot com Description: ------------ I have two very busy windows servers 2012 and 2008 and the opcode cache seems to fail over time and leads to it crashing and unexpected PHP behavior such as scripts executing running out of memory. Using PHP 7.1.5 64bit nts running as Fast CGI under Apache. I have had to disable the opcode cache on my busiest server where it would help the most. I get bunch of windows event viewer logs such as Windows event viewer Faulting application name: php-cgi.exe, version: 7.1.5.0, time stamp: 0x59121ec5 Faulting module name: php_opcache.dll, version: 7.1.5.0, time stamp: 0x59122237 Exception code: 0xc0000005 Fault offset: 0x0000eeaa Faulting process id: 0x2814 Faulting application start time: 0x01d2dd94eddefaf1 Faulting application path: C:\php\php-cgi.exe Faulting module path: C:\php\ext\php_opcache.dll Report Id: 80b75dfe-4988-11e7-80ba-002590270887 Faulting package full name: Faulting package-relative application ID: Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: php-cgi.exe P2: 7.1.5.0 P3: 59121ec5 P4: php_opcache.dll P5: 7.1.5.0 P6: 59122237 P7: c0000005 P8: 0000eeaa P9: P10: PHP.ini Settings [opcache] opcache.enable = 1 opcache.interned_strings_buffer=32 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1 opcache.memory_consumption=128 opcache.max_accelerated_files=10000 opcache.max_wasted_percentage=10 opcache.validate_timestamps=1 opcache.use_cwd = 1 opcache.file_cache = "c:/php/opcode" opcache.mmap_base = 0x20000000 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74716&edit=1

« previous php.bugs (#220746) next »