My performance problems explained (I hope)! My startup script had been running as root and using nice -5 to run srcds_run at a higher priority than normal. On my newest system I am not running it as root so I had to make changes and learn some sudo magic. I ended up changing my script to use renice -5 and not nice -5. But there are threads and renice does not renice the threads. This seems to be causing the main process to use a lot of CPU! Even with zero players the CPU load is 60-95%.
When I don't renice the process the CPU load is normal. I can even get it back to normal by doing renice 0. On my system that does not have this problem I am using: nice -n -5 screen -d -m -S css1 ./srcds_run +maxplayers 21 +map breakfloor +log on -secure -tickrate 33 +port 27015 But that changes the nice on other processes that don't need to be changed. So when I reworked my script I only renice srcds_i686. It seemed better to only renice srcds_i686. [EMAIL PROTECTED]:/BigFS/css1$ sudo renice -5 8363 8363: old priority 0, new priority -5 [EMAIL PROTECTED]:/BigFS/css1$ ps -elyL|grep i686 S UID PID PPID LWP C PRI NI RSS SZ WCHAN TTY TIME CMD R 1000 8363 8352 8363 0 76 -5 69044 37611 - pts/2 00:02:05 srcds_i686 S 1000 8363 8352 8364 0 79 0 69044 37611 futex_ pts/2 00:00:00 srcds_i686 S 1000 8363 8352 8367 2 75 0 69044 37611 futex_ pts/2 00:05:27 srcds_i686 Oh, this renice -5 problem does not exist with the pre-beta. Not sure why. Hopefully now that I don't renice -5, my performance problems will be gone. Valve, you have my permission to make the beta live! :) Guy } -----Original Message----- } From: [EMAIL PROTECTED] [mailto:hlds_linux- } [EMAIL PROTECTED] On Behalf Of Ryan Veltidi } Sent: Saturday, June 09, 2007 9:32 PM } To: [email protected] } Subject: Re: [hlds_linux] Source Engine Beta Update } } Those are just anonymous, they only remove the admin name not the } entire line from appearing. } } On 6/9/07, Munra -hlds <[EMAIL PROTECTED]> wrote: } > IN the mani_server.cfg there is a section called (the Newest Version } 1.2) } > Just Change all the 0 zeros to ones } > // } > } ************************************************************************** } *** } > // Module : Admin action messages } > // } > // Desc : This section defines which admin actions will be anonymous to } > // non-admins on your server. If the option is set to 1 then the action } > // will not be shown to non-admins, if set to 0 then all players will } > // see which admin kicked/slayed/banned/etc a player. } > // } > } ************************************************************************** } *** } > ----- Original Message ----- } > From: "Ryan Veltidi" <[EMAIL PROTECTED]> } > To: <[email protected]> } > Sent: Saturday, June 09, 2007 8:13 PM } > Subject: Re: [hlds_linux] Source Engine Beta Update } > } > } > True, and that's what Mani says is the reason. But we do a special } > "Admin Night" / "Map Night" on Friday nights where we give tons of } > things, and change around health, slap to 1 health, etc, etc. It's the } > only night our server is 100% full at around 40-50 players, and } > everybody enjoys it. So, most people don't consider it abuse. It just } > annoys people that their chat is being obstructed by all those } > commands. } > } > And sometimes it takes too long to @rcon ma_give or rcon through } console, } > etc. } > } > } > On 6/9/07, Guy Watkins <[EMAIL PROTECTED]> wrote: } > > I assume because a lot of admins would abuse that. By telling the } players } > > what evil the admins are doing they can decide it they want to stay on } > > your } > > server. } > > } > > } -----Original Message----- } > > } From: [EMAIL PROTECTED] [mailto:hlds_linux- } > > } [EMAIL PROTECTED] On Behalf Of Ryan Veltidi } > > } Sent: Saturday, June 09, 2007 6:11 PM } > > } To: [email protected] } > > } Subject: Re: [hlds_linux] Source Engine Beta Update } > > } } > > } The only thing that I did not like about Mani was that it would } always } > > } tell the server whenever I used an admin command. I never understood } > > } why player X has to know that I slapped/slayed player Y. If this was } > > } an option (or editable source!) in SourceMod, I would certainly } switch } > > } right away. } > > } } > } > _______________________________________________ } > 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

