process priority sometimes fails #11986
Labels
team: workspace
Issue belongs to the Workspace team
type: improvement
Improves an existing feature or existing code
Bug description
The process priority plugin is sometimes only applied to some processes. In the following cases, the group of
504971
must have a nice value of -5.Probably depends on the time of this
sleep
gitpod/components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go
Line 59 in 44122f3
Steps to reproduce
It should be easier to reproduce if the waiting time before setting the process priority is very short.
gitpod/components/ws-daemon/pkg/cgroup/plugin_process_priority_v2.go
Line 59 in 44122f3
Workspace affected
No response
Expected behavior
In all cases, the nice value is set correctly.
Example repository
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: