Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 1999 12:17:48 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Wes Peters <wes@softweyr.com>
Cc:        Stefan Bethke <stefan.bethke@hanse.de>, Kris Kennaway <kkennawa@physics.adelaide.edu.au>, "Ueda, Kazukiyo" <kueda@jupiter.qse.tohoku.ac.jp>, hackers@FreeBSD.ORG
Subject:   Re: Seti project / stats reset, new version available
Message-ID:  <19990518121747.A61302@dan.emsphone.com>
In-Reply-To: <37419AF0.93569574@softweyr.com>; from "Wes Peters" on Tue May 18 10:53:04 GMT 1999
References:  <224739.3136033369@d225.promo.de> <37419AF0.93569574@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 18), Wes Peters said:
> Stefan Bethke wrote:
> > Would you suggest a different default nice level, then, and what
> > should it be?
> 
> RTP_PRIO_IDLE of course.  See rtprio(2).
> 
> > One can easily modifiy ${PREFIX}/etc/rc.d/setiathome.sh to run it
> > -with nice 100, and I'm open to making a level other that 1 the
> > -default.
> 
> In that case, make the start script run it at idprio:
> 
> 	idprio setiathome
> 
> Phew!  That was tough, huh?  ;^)

Problem is that idprio isn't safe.  I used to idprio the rc5client, but
within a day or do the machine would lock up.  Rc5client would get a
lock on the root of the filesystem at idprio, and if there was another
process running at 100% CPU, rc5client would never get a chance to
unlock, causing all the other processes on the system to hang.

See PR kern/5641.

	-Dan Nelson
	dnelson@emsphone.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990518121747.A61302>