-
Notifications
You must be signed in to change notification settings - Fork 7.9k
JIT cause 100% cpu usage #11736
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
I think this will be pretty much impossible to debug and fix without having a reproducer or at least more info about where it goes wrong. |
looks like #11609 - @iluuu1994 do you know offhand if it'd be relevant to php 8.1.20 as indicated here? |
@maaarghk I don't think this is related, as this reverting the tracing counter handlers was only added in 8.2. |
what tool should i use to get relevant trace? some trace logs from stuck workers
|
Do you have a script that reliably reproduces the problem, or is it unrelated to a script? |
we use symfony 5.4 + overblog/GraphQLBundle
logs from workers without slow log
in normal state requests are finished in less than second |
same behaviour on php 8.2 |
same behaviour on php 8.1.19, symfony 6.3.4 Same, word for word we using k8s and after deploy ~1 in 20 pods use 100% cpu @andrii29 may be you resolve issue? |
here is our opcache config
|
@smepti nope( |
Description
The following code:
Resulted in this output:
But I expected this output instead:
Hello,
after enabling JIT, our application start perform better (~10% faster). But, some php-fpm pods (~1 in 20) after start use all available cpu and timeout the requests. After pod restart, everything back to normal. Without JIT everything is ok and cpu utilization is at normal value.
Regards
PHP Version
PHP 8.1.20
Operating System
Debian GNU/Linux 10 (buster) docker container on Amazon Linux 2
The text was updated successfully, but these errors were encountered: