Sporadic opcache crash with apache and php-cgi.exe
Nessuno ha ancora preso questa issue.
- Lingua principale
- C
- Stelle
- 40.4k
- Fork
- 8.1k
- Merge medio
- 2g 13h
- PR unite (30g)
- 96
Descrizione
Description
We recently updated our Project from PHP 7.1.6 to 8.2. Since the switch we are sporadically experiencing opcache crashes.
With PHP 7.1.6 we did not experience any opcache issues. The server hardware and opcache configuration stayed the same.
In the windows event log we see the following:
Faulting application name: php-cgi.exe, version: 8.2.3.0, time stamp: 0x63eb5a8b
Faulting module name: php_opcache.dll, version: 8.2.3.0, time stamp: 0x62949a01
Exception code: 0xc0000005
Fault offset: 0x00000000000100b3
Faulting process id: 0x1e568
Faulting application start time: 0x01d9a3013fdeff1f
Faulting application path: D:\wap\php\php-8.2.3-nts-Win32-vs16-x64\php-cgi.exe
Faulting module path: D:\wap\php\php-8.2.3-nts-Win32-vs16-x64\ext\php_opcache.dll
Faulting package full name:
Faulting package-relative application ID:
The opcache config is loogking like this (php.ini):
[opcache]
opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.revalidate_path=1
opcache.save_comments=1
opcache.file_cache=D:\wap\php\opcache
I also tried PHP 8.2.7 with Apache VS17 and had the same problem.
Crash dump and analysis pdf:
php-cgi.exe_230623_.zip
opcache-crash-analysis_php-cgi.exe_230623_.pdf
PHP Version
8.2.3 NTS
Operating System
Windows Server 2019; Apache httpd 2.4.56-win64-VS16
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Iniziare esaminando il dump dell’arresto anomalo di php-cgi.exe e il PDF di analisi forniti, quindi analizzare il percorso opcache utilizzato con Apache su Windows nelle versioni di PHP 8.2 e nella configurazione indicate. Il lavoro sarà considerato completato quando sarà stata identificata una causa riproducibile e sarà stata documentata una risoluzione verificata per l’arresto anomalo sporadico di php_opcache.dll.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- apache, php
- Ambito
- backend, operating-systems, performance
- Tipo di issue
- Bug
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100