Closed Javdu10 closed 10 months ago
System timers used by PHP to handle max_execution_time
etc are a limited resource, and it looks like the stress test reached the limit.
Can you try to increase the limit using ulimit -i
?
It should also be possible to improve timer management directly in PHP. It's on my todo list!
Thank you for your reply, indeed changing to unlimited prevents the container from crashing and sends the container to 100% CPU, requests correcly timeout on the stress test
Hello!
I was happily testing frankenphp, but I figured that sometimes if I run a K6 load test, the docker container crashes and the last message in the console I have is :
and sometimes :
K6 script ran with
k6 run --vus 10000 --duration 30s script.js
I am running the docker container from
dunglas/frankenphp:sha-b04326e-php8.2-alpine
behind cloudflare tunnels, my/app/public/index.php
is :During load test the machine seems to be stable in resource usage, then boom
Please let me know if any other information is needed