-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]: generate defunct headless_shell #34230
Comments
Hi! The issue tracker is reserved for bug reports and feature requests. For anything else, such as questions or getting help, please see: If you believe there's a bug within Playwright, please provide a more minimal reproduction case. Try removing the server aspects from this, and reproduce it with a plain script that doesn't use FastAPI. |
Make sure to use an init manager when using Docker, see our docs here. Otherwise it ends up in defunct processes. Thats a known issue Docker has. We should probably move it from So you put |
This works for me, thanks! |
Version
1.49.0
Steps to reproduce
make docker-build
make docker-run
curl "http://localhost:5000/pdf/url?url=https://www.google.com"
Expected behavior
I expected that no zombie processes would remain.
Actual behavior
Below is a video of testing after creating a new Ubuntu 24.04.1 instance on AWS EC2. This issue can always be reproduced.
Screencast.from.2025.01.07.15.18.47.webm
Additional context
There is no issue when running without Docker.
Environment
The text was updated successfully, but these errors were encountered: