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

NetBSD / cmdline: retry on EBUSY (fix #2250) #2421

Merged
merged 1 commit into from
Jun 6, 2024
Merged

Conversation

giampaolo
Copy link
Owner

Summary

Description

Process.cmdline() sometimes fail with EBUSY. It usually happens for long cmdlines with lots of arguments. In this case retry getting the cmdline for up to 50 times, and return an empty list as last resort.

`Process.cmdline()` sometimes fail with EBUSY. It
usually happens for long cmdlines with lots of
arguments. In this case retry getting the
cmdline for up to 50 times, and return an empty
list as last resort.
@giampaolo giampaolo merged commit 4b1a054 into master Jun 6, 2024
25 of 28 checks passed
@giampaolo giampaolo deleted the netbsd-cmdline-ebusy branch June 6, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NetBSD] EBUSY on cmdline()
1 participant