Hello, I run a Garry's Mod server using SRCDS for linux. I have very recently created this server, and today I got complaints of a lot of lag, and it crashing too much. I tried to solve this by Exiting all of the programs I don't use while the server is running, and I also tried setting the NICE value to -20 in terminal. At first this worked, but now whenever the server restarts, the NICE value returns to normal. Because of it being the type of server it is, it will restart maybe once every hour.
I cannot constantly be tending the program, so that is where my question comes in. How can I make an application automatically set it's NICE value when started?
Thank you, and I hope this forum will help me in my exploration into the world of Ubuntu!
Bookmarks