-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Multiple stability and compatibility issues JIT and file caching and preloading. #18300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you try other values from |
I tried |
Can you obtain a stack trace from a core dump? https://bugs.php.net/bugs-generating-backtrace.php |
I will try to get a stack dump later if/when I have time. |
Description
The following code:
php.ini for php-fpm
/usr/local/preload.php
Resulted in this output:
Error code 500 from roundcube.
Additionally. a completely different application on the same server, gallery3, failed to run. If I disable JIT, or disable the preload.php, both applications work.
But I expected this output instead:
Both applications work with JIT disabled OR with no preload.php being run.
Also, opcache.file_cache is completely incompatible with JIT. This is only a subset of the issues I have observed with JIT and memory and file caching. I suggest considering file caching and preloading so that only PHP byte code is cached and JIT machine code is stored separtely in transient memory.
PHP Version
PHP 8.4.5 (fpm-fcgi) (built: Apr 6 2025 02:20:48) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.5, Copyright (c) Zend Technologies
with Zend OPcache v8.4.5, Copyright (c), by Zend Technologies
Operating System
SuSE Linux
The text was updated successfully, but these errors were encountered: