[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: startx setting the nice level to 5?



On Tue, Jul 13, 2004 at 09:46:34PM +0100, Sam Halliday wrote:
> Matthias Czapla wrote:
> > I just noticed that lots of my process run at nice level 5. When I login
> > at the VC the nice level is 0 as it should and all console programs
> > inherit this nice value as they should. But when I startx everything
> > from thereon and including the shell that is executing the startx
> > script has a nice value of 5. The startx script and all the files
> > under /etc/X11 don't contain the string "nice" so I really don't know
> > where this is coming from. Has anybody a clue?
> 
> binary files can also set the nice value using the syscall nice()...
> perhaps the
> XFree86 binary does this and everything inherits.

Mmh, firstly the X server is not supposed to let the clients inherit
its nice value, secondly it could not do it anyway because the server
and the Xsession script are two distinct childs of xinit. And how
should the nice value get back up two levels to the startx script?

Regards
Matthias



Reply to: