-
Notifications
You must be signed in to change notification settings - Fork 887
CODER_PROC_PRIO_MGMT puts noise in logs when processes exit before renicing #14651
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
Comments
@aaronlehmann how often do these logs show up? There's some logic to suggest that these should be limited to one a minute. Just making sure there isn't more than one bug to fix. |
Here's what I see when I run:
There isn't much else actively logging to the workspace log, so this tends to be the biggest source of logs even if it it is rate-limited. |
@sreya: Not sure if 2.15.3 is supposed to have the complete set of fixes for this, but with that release I'm seeing a lot of messages like this:
|
@aaronlehmann 🤦 I missed something dumb. Do you want a fix now or would you be open to wait a couple of weeks? I'm going to be redoing this feature from the ground up and it'll eliminate any issues related to spam. |
@aaronlehmann I merged #15071 in case you want to opt for the patch |
No worries... as a fellow Go programmer, I've definitely made this same mistake more than once. If it's not a lot of work to make a patch release, or you end up doing a 2.15.4 anyway for other reasons, I think this fix would be nice to have. I'd also be interested in getting #14678 if there is an upcoming patch release. |
Let me check with @stirby, I'll go ahead and get it cherry-picked in case we do 👍 |
@aaronlehmann I expect us to patch 2.15 next week with a few fixes, adding this to the list. |
CODER_PROC_PRIO_MGMT
seems to have a race when processes exit before the agent has a chance to renice it. This leads to a lot of noise in workspace logs:The text was updated successfully, but these errors were encountered: