Ok, I've traced the code down and I think that there is a good chance
that the OBJ_DEAD fix that Alan described may solve the problem.
What I think is happening is that a process context is holding a PIP
count on the object, then deallocating the object and creating an
interlock situation.
There is a way we can find out for sure. For any of you with processes
stuck in objtrm, see if you can gdb the kernel and get a backtrace
of that process to see if it might be in a state where a previous
call context is holding a PIP count on the object.
gdb -k /kernel /dev/mem
^^
works better if this is a debug kernel but it doesn't
have to be. It does have to be the kernel that is currently
running.
proc <PID> (e.g. proc 222)
^^^^
gdb's default radix is 10, but sometimes
people change it to 16 so if it complains,
you may be typing the number in in the
wrong radix.
back
Note: the process cannot be swapped out, so if you've had a process
stuck in objtrm for a long time try doing as "ps axfl" to force it's
upages in and then gdb should be able to backtrace it. The 'f' in the ps
does that.
-Matt
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message