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
[email protected]
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-hackers" in the body of the message