Mysql Hogging all system resources

Dan Nelson dnelson at allantgroup.com
Sat Apr 14 08:35:13 UTC 2007


In the last episode (Apr 13), Don O'Neil said:
> Nevermind on the "badly formatted number"... I specified the full path
> /usr/bin/nice and it worked ok this time :-)
> 
> However, I still want to know if there is a way to specify a nice
> level for an entire users processes.

If you create a login class in /etc/login.conf and set the priority
capability, then assign a user to that class in /etc/master.passwd (the
class field is the 5th one, it's usually empty), then their priority
(aka niceness) should get set then they log in.  Remember to use the
'vipw' command to edit the passwd file, and to run 'cap_mkdb
/etc/login.conf' to rebuild login.conf.db.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list