[php-src] Issue #13598: opcache.interned_strings_buffer = 4096 is ignored and using default (PHP8) + segfault (PHP5)
| From: | ShaiMagal | Date: | Tue, 05 Mar 2024 13:56:41 +0000 |
| Subject: | [php-src] Issue #13598: opcache.interned_strings_buffer = 4096 is ignored and using default (PHP8) + segfault (PHP5) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246511@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13598
Author: ShaiMagal
### Description
Hi,
if I set opcache.interned_strings_buffer = 2048 or other lower value everything is fine. (working
well)
If I set opcache.interned_strings_buffer = 4096 and reload PHP FPM I got problem.
Two cases:
PHP FPM 8.3.3 - ignoring value and set for default value 8 (no error log info in syslog or php fpm
log)
PHP FPM 5.6.40 - segfault (I know, obsolete version, only for context - if I set lower value, no
problem here) - here is the log from syslog php 5.6
Mar 5 14:06:03 s08 kernel: [5656531.610602] show_signal_msg: 6 callbacks suppressed
Mar 5 14:06:03 s08 kernel: [5656531.610604] php-fpm5.6[924861]: segfault at 30 ip 00005609add607d1
sp 00007ffdb3329e30 error 4 in php-fpm5.6[5609adbc6000+242000]
Mar 5 14:06:03 s08 kernel: [5656531.610612] Code: 19 48 01 c3 48 89 d8 48 8d 4a 01 48 c1 e0 05 48
01 d8 48 0f be 1a 48 01 c3 48 89 d8 48 c1 e0 05 48 01 d8 48 0f be 19 48 01 c3 <48> 8b 47 30 89
da 23 57 04 48 8b 2c d0 48 85 ed 74 5d 45 89 ef eb
Environment:
Ubuntu 22 LTS
physical memory 1TB
opcache.memory_consumption = 25000
I didn't have oportunity to test PHP 7.x but in every PHP version it's not working. 2
possible options:
- use default 8
- segfault
Do you need more informations?
Thank you.
### PHP Version
8.3.3
### Operating System
Ubuntu 22.04 LTS