node-red / node-red-docker

Repository for all things Node-RED and Docker related
Apache License 2.0
469 stars 382 forks source link

Define niceness of the process - High priority #366

Closed thalesmaoa closed 2 months ago

thalesmaoa commented 1 year ago

I'm running the nodered docker container. I noticed that decrease priority is easy with docker commands. However, increase priority I must use nice. Is there a way to implement it inside the container?

$ ps -axl | grep node-red
4  1000  4123  4054  20   0 254804 129280 -     Rl   ?         18:09 node-red

Now, it is set to 0. I want to set it to -19.

dceejay commented 1 year ago

I don't think you can set this within the container... but it's more of a docker question than Node-RED so the experts on docker may know different.