Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2003 01:29:31 -0400
From:      "Craig Reyenga" <creyenga@connectmail.carleton.ca>
To:        <freebsd-current@freebsd.org>
Subject:   Renice idle process to -20 causes hang.
Message-ID:  <001b01c30959$57a694a0$0200000a@fireball>

next in thread | raw e-mail | index | archive | help
While running a samba benchmark, I tried 'renice -n -20 10' (pid 10 is idle
thread) to see what would happen. Turns out that this operation isn't
illegal, and the system hung accordingly. The benchmark timed out soon
after, and the console started displaying this message:

swap_pager: indefinite wait buffer: device: ad0s1b, blkno: 776, size: 4096

over and over, although not rapidly. I'm not sure what to blame; perhaps
setpriority() should return [EINVAL] or something. I can provide more info,
upon request.

-Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c30959$57a694a0$0200000a>