The problem is... You can't start (or restart) a process with negative priority (that is high priority) without root privileges, and you wont run hlds with root privileges!! :). So the whole idea is:
a)Unprivileged user starts the process. b)Root user checks and renice the process. > > Well, if server crashes, you normaly run a restart script. > This one renices the process after server has been started. :) > > BoNeLeSS schrieb: > > > Because your server may crash. > > > > > >>Why should i renice the process every 5 minutes? > >>I change the priority of the process one time and i am fine ;) > >> > >>Ho Chaw Ming schrieb: > >> > >> > >>>This is a multi-part message in MIME format. > >>>-- > >>>[ Picked text/plain from multipart/alternative ] SPRI > >> > >>simply "renice" > >> > >>>the process every 5 minutes. So it's pretty much the same. > >> > >>On actual usage, it can be tricky to configure. For game servers, > >>lowering the priority can mean that a server has to wait longer for > >>information to be processed and introduce lag to your game servers. > >> > >>>On top of that, if a game servers demand more processing > >> > >>cycles (example if you set x number of game servers on the same > >>priority level) than what the CPU can offer, renicing it > won't help at > >>all despite it being processed first. > >> > >>>In short, it's not a solution at all usually for the CPU > >> > >>issues for CS. > >> > >>> ----- Original Message ----- > >>> From: RiGo > >>> To: [EMAIL PROTECTED] > >>> Sent: Thursday, June 17, 2004 4:10 AM > >>> Subject: Re: [hlds_linux] system priority script for linux > >>> > >>> > >>> If you are running debian linux, simply use "renice > >> > >>-priority -pid" > >> > >>> [EMAIL PROTECTED] schrieb: > >>> > >>> > This is a multi-part message in MIME format. > >>> > -- > >>> > [ Picked text/plain from multipart/alternative ] > > this is the > >>> coolest script I have ever came across lol. > >>> > > >>> > http://www.rfxnetworks.com/spri.php > >>> > > >>> > simple to install, simple to configure, runs on a cron > >> > >>job however often you > >> > >>> > need it to. Hope you guys find it as usefull as I have. > > > > > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the > list archives, please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux