8000 `uv` processes can keep running in background · Issue #35475 · servo/servo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
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

uv processes can keep running in background #35475

Open
Loirooriol opened this issue Feb 15, 2025 · 4 comments
Open

uv processes can keep running in background #35475

Loirooriol opened this issue Feb 15, 2025 · 4 comments
Labels
C-untriaged New issues that haven't been triaged yet

Comments

@Loirooriol
Copy link
Contributor

I was trying to update uv. I closed all Servo-related things, but still failed:

$ sudo snap refresh astral-uv 
error: cannot refresh "astral-uv": snap "astral-uv" has running apps (uv), pids: 3889658,4039704
$ ps 3889658 4039704
    PID TTY      STAT   TIME COMMAND
3889658 ?        S      0:00 /home/oriol/src/servo/.venv/bin/python3 -c from multiprocessing.resource_tracker import main;main(7)
4039704 ?        Sl   1082:41 /home/oriol/src/servo/target/release/servo --hard-fail -u Servo/wptrunner --ignore-certificate-errors -z http://web-platform.test:8000/css/css-flexbox/animation/flex-basis-content-crash.html --user-stylesheet /home/oriol/src/servo/resources/ahem.css --pref dom_imagebitmap_enabled=true --pref dom_offscreen_canvas_enabled=true --pref dom_shadowdom_enabled=true --pref dom_xpath_enabled=true --pref dom_intersection_observer_enabled=true --pref dom_resize_observer_enabled=true --pref layout_columns_enabled=true --pref layout_flexbox_enabled=true --prefs-file /home/oriol/src/servo/resources/wpt-prefs.json --certificate-path /home/oriol/src/servo/tests/wpt/tests/tools/certs/cacert.pem -x
@Loirooriol Loirooriol added the C-untriaged New issues that haven't been triaged yet label Feb 15, 2025
@mrobinson
Copy link
Member

Looks like this might be an Ubuntu snap issue?

@mrobinson
Copy link
Member

Did you happen to be running WPT tests at the time? The thing about Ubuntu snap is that they cannot be updated unless all processes that the snap provides have finished shutting down. You might be able to work around this issue by installing a deb version of uv.

@Loirooriol
Copy link
Contributor Author

No, I closed everything related to Servo. I guess it was from a previous time but the process didn't shut down correctly.

@sagudev
Copy link
Member
sagudev commented Feb 16, 2025

I think the core issue is that wpt runs do not get killed off properly (queue worker becomes zombie?), so unrelated to uv or snaps. I saw this way before introduction of uv (I think it's related to force ending test-wpt, but I might be wrong).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-untriaged New issues that haven't been triaged yet
Projects
None yet
Development

No branches or pull requests

3 participants
0