Closed soullivaneuh closed 2 months ago
I'm using dunglas/frankenphp:1-php8.2 and can't reproduce this error. My ini configs:
# opcache settings
RUN echo "opcache.enable=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.enable_cli=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.memory_consumption=512" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.interned_strings_buffer=32" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.max_accelerated_files=100000" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.validate_timestamps=0" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.revalidate_freq=5" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.fast_shutdown=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.enable_file_override=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.save_comments=1" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.optimization_level=0x7FFFBFFF" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
RUN echo "opcache.jit_buffer_size=256M" >> $PHP_INI_DIR/conf.d/docker-php-ext-opcache.ini
@sneycampos Unfortunately, the crash occurs after a certain amount of try. We navigate on multiple pages of the project website, then it suddenly crash, without any log.
We are currently using the following image: dunglas/frankenphp:1.2.0-php8.2.19
We will try to create a reproducible case on a separated repository later.
Updated base image to dunglas/frankenphp:1.2.4-php8.2.22
. It looks the error disappears. We can also see some JIT related bugfixes on the PHP changelog: https://www.php.net/ChangeLog-8.php#8.2.22
May you confirm that?
Good news! Let's close for now. Feel free to reopen if the problem appears again.
What happened?
Possibly related to https://github.com/dunglas/frankenphp/issues/309.
Steps to reproduce
opcache.jit_buffer_size
opcache.revalidate_freq
option value (5 seconds on the sample)Current behavior
Silent crash of the frankenphp application
Opcache configuration
Build Type
Docker (Debian Bookworm)
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
I don't have any relevant log to share. I only deducted the issue come from JIT because I was not able to reproduce the problem when deactivating it.