Skip to content

ext/opcache: opcache.interned_strings_buffer per FPM pool crashed on … - #23309

Draft
devnexen wants to merge 3 commits into
php:PHP-8.4from
devnexen:gh23288
Draft

ext/opcache: opcache.interned_strings_buffer per FPM pool crashed on …#23309
devnexen wants to merge 3 commits into
php:PHP-8.4from
devnexen:gh23288

Conversation

@devnexen

Copy link
Copy Markdown
Member

…restart.

Fix #23288

The directive was still accepted once the shared interned string table had been sized from the master php.ini, so a diverging pool value made the next restart run accel_interned_strings_restore_state() against a table that was never allocated. Reject post-startup changes like opcache.memory_consumption and gate the restore on the shared table state instead of the per-process directive.

…restart.

Fix php#23288

The directive was still accepted once the shared interned string table
had been sized from the master php.ini, so a diverging pool value made
the next restart run accel_interned_strings_restore_state() against a
table that was never allocated. Reject post-startup changes like
opcache.memory_consumption and gate the restore on the shared table
state instead of the per-process directive.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant