What does the -Nice command do ? Is it necessary too change ? Regards
Andy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pat Sebring Sent: 10 May 2004 18:57 To: [EMAIL PROTECTED] Subject: RE: [hlds_linux] Chokes... >> Do you run multiple instances of hlds on that server? No, I currently do not. Other wise I would probably only nice it 10 or "nice -10 hlds_amd". >> ok, in your edit you are setting 19 (nice -19 <cmd>). to set -19 you >> must be root and the syntax is 'nice -n -19 <cmd>'. Ok, I'm running freebsd 5.2 with the 8.0 linux base(had some issues with the debian base) with a fairly vanilla install. I have seperate users with permissions only to run certain game servers (utserver, cstrike and bf1942). Those users are not part of the wheel group nor have any more privileges(and in most cases less) than a standard shell account. Here's the difference though, I login under my personal account which is part of wheel (thus a super user), then I su cstrike. The su command only changes user, home directory and shell but the rest of the environment is unchanged. So in general it's run as super user though the actual user account doesn't necessarily have the privileges. vvvv PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 3378 cstrike 20 19 657M 269M pause 53.7H 2.00% 2.00% hlds_amd Again here are the only changes I made to the hlds_run script: if test 1 -eq $PID_FILE_SET && test -n "$PID_FILE"; then HL_CMD="nice -19 $HL $PARAMS -pidfile $PID_FILE" else HL_CMD="nice -19 $HL $PARAMS" fi This might not be the best way to do it but try logging in with a super user account and "su [hlserver account]" then run the process niced. thanks, monkey13 www.hostage-down.net _______________________________________________ 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