Doc #71353 [Com]: Missing documentation about opcache.mmap_base
| From: | mattficken@php.net | Date: | Thu, 14 Jan 2016 10:38:54 +0000 |
| Subject: | Doc #71353 [Com]: Missing documentation about opcache.mmap_base | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-13101@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71353&edit=1
ID: 71353
Comment by: mattficken@php.net
Reported by: brjann at gmail dot com
Summary: Missing documentation about opcache.mmap_base
Status: Open
Type: Documentation Problem
Package: opcache
Operating System: Windows Server 2008 R2
PHP Version: 7.0.2
Block user comment: N
Private report: N
New Comment:
To clarify, you have a PHP process that exits immediately on startup? or sometime later? With
0xFFFFFFFE?
Do you have several processes exiting at about the same time?
Opcache.mmap_base directive is to deal with an issue we fixed in 7.0.x where PHP exits immediately
on startup with 0xC000005.
I want to be sure that issue hasn't reappeared.
Since that issue is fixed, we don't need opcache.mmap_base directive documentation.
But since you asked, opcache.mmap_base directive is Memory Address that needs to be free in all the
php processes using opcache.
Your issue sounds like a separate issue from what opcache.mmap_base directive is for helping with...
Previous Comments:
------------------------------------------------------------------------
[2016-01-12 18:39:00] brjann at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/opcache.configuration
---
The documentation about opcache.mmap_base runtime configuration is insufficient and it is difficult
to find other sources on the web.
I've had repeated and intermittent problems with Server Error 500 with the message that FastCGI
exited unexpectedly with error code 0xFFFFFFFE. Googling this did not help. The Event Viewer in
Windows revealed that it was OpCache that crashed with error 487. Further googling got me here
https://support.zend.com/hc/en-us/articles/203838576-Zend-Enabler-Error-Could-not-locate-a-free-PHP-process-
Although the error message was not relevant i tried setting opcache.mmap_base = 0x20000000 as
suggested.
The error has since then disappeared.
It would be useful if this was stated in the documentation to save other PHP users time.
Best wishes,
Brjánn Ljótsson
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71353&edit=1