[FreeBSD 5.3-RC2] Processes STILL hanging in unkillable state
gte990t at mail.gatech.edu
Sun Jul 3 00:47:37 GMT 2005
The following patch, sent to me from David Xu by way of Marc Ramirez, seems to
fix the "unkillable process" problem:
RCS file: /home/ncvs/src/sys/kern/kern_thread.c,v
retrieving revision 1.205
diff -u -r1.205 kern_thread.c
--- kern_thread.c 4 Nov 2004 22:13:16 -0000 1.205
+++ kern_thread.c 5 Nov 2004 04:23:24 -0000
@@ -832,11 +832,10 @@
* maybe other inhibitted states too?
- * XXXKSE Is it totally safe to
- * suspend a non-interruptable thread?
- if (td2->td_inhibitors &
- (TDI_SLEEPING | TDI_SWAPPED))
+ if ((td2->td_flags & TDF_SINTR) &&
+ (td2->td_inhibitors &
+ (TDI_SLEEPING | TDI_SWAPPED)))
On Tuesday 02 November 2004 09:00, you wrote:
> Jason Harmening wrote:
> > I just upgraded to 5.3-RC2, and I'm still running into the problem where
> > processes will hang in an unkillable state. In particular, this happens
> > for me with OpenOffice under a heavy load. 'ps' reports the state as
> > 'TL' and 'top' reports the state as STOP. Neither kill -CONT nor kill
> > -KILL will work.
> Same here. With OpenOffice and Java under high load.
freebsd-current at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-threads