[php-src] Issue #7915: php_opcache crash - memory access violation
| From: | jjdunn | Date: | Sun, 09 Jan 2022 14:43:02 +0000 |
| Subject: | [php-src] Issue #7915: php_opcache crash - memory access violation | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238906@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7915
Comment Author: jjdunn
ok - this is helpful. (BTW - so far it has not crashed again. I will post the opcache-debug output
as/when it does).
Per the previous comment, I've reduced the
opcache.memory_consumption from 512 to
80.
One more question: does it *reserve* this much memory? In other words, if I have a web-app, plus 22
CLI processes with separate opcache_id's, will I be reserving 23 * 80 = 1840MB (nearly 2GB) of
memory? Or is the memory_consumption merely an upper-limit, after which it switches
to the file-cache ?