Subject: Re: Processes auto-nicing to 4
To: None <macbsd-general@NetBSD.ORG>
From: Allen Briggs <email@example.com>
Date: 06/19/1995 09:04:38
> Anyway, my question: While porting GCC 2.6.3, olwm, xlock, and a few
Don't mess with gcc--2.7.0 will be out real soon now, and will build
cleanly and happily on m68k-apple-netbsd1.0A (actually, m68k-*-netbsd*). ;-)
> Is this feature documented anywhere? I have searched around but couldn't
> find anything. Can it be disabled? Is it indeed a feature, or something
> very wierd on my machine?
If you set the nice value to something other than zero or run the server
as root, this won't happen. It's a feature of the scheduler. Here's
the comment from the scheduler's source:
* Check if the process exceeds its cpu resource allocation.
* If over max, kill it. In any case, if it has run for more
* than 10 minutes, reduce priority to give others a chance.
This isn't a problem for 386 owners because XFree86 servers run setuid.
Allen Briggs - end killing - firstname.lastname@example.org ** MacBSD == NetBSD/mac68k **