-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
Periodic hanging of server #1238
Comments
So it looks like there might be a continuous higher CPU usage when things hang. I don't belive that there's any scripts that should cause high CPU, but open to investigating if someoneo can guide me on how to identify possible causes. |
Could you try to make a profile to see where the CPU is used? You can follow these instructions: https://mercure.rocks/docs/hub/debug |
Can you also try updating your FrankenPHP version? From your PHP version it looks like you're still on 1.1, latest release is 1.3.3 |
Odd. My Dockerfiles reads… FROM dunglas/frankenphp:1.2-php8.3.7 AS frankenphp_upstream … but will upgrade to 1.3. |
OK. I've now updated the service to I've just tried running the services:
go:
image: 'golang'
command:
- go
- tool
- pprof
- -http=:8080
- http://php:2019/debug/pprof/heap … but I got the error…
Any suggestions on a better way to access the profiles (& what I'm looking for)? Or should I just upload them to here? This should be done whilst the site is down, I'm assuming? |
Ah. I've managed to get a trace file using |
Anyone able to advise on this? |
I've not had a frankenphp container freeze yet, but the mercure one does, about twice a week at the moment, I have to restart the container to get it to run again. Unfortunately then Im always in firefight mode right then, as paying users expecting services back up, but I promise to try a few moments of debugging next time it happens. |
Have you tried setting your |
Is the trace from running the |
The trace might help if the hanging is related to mercure I think, but it would probably need to be done during the hanging. |
Noted. I'll bear this in mind if this happens again. Thanks. |
What happened?
We have a new website runnning using Franken PHP. Which is working great, most of the time, but every now & then it just hangs, and doesn't start working until I restart the FrankenPHP container.
I'm not sure where to look for any useful log info, so please advise if you need more info, and how to get it.
Build Type
Docker (Debian Bookworm)
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
No response
The text was updated successfully, but these errors were encountered: