Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 20:02:30 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-current@freebsd.org, freebsd-emulation@freebsd.org
Subject:   process stuck in DE state
Message-ID:  <4173F726.5060408@icyb.net.ua>

next in thread | raw e-mail | index | archive | help

The hanging application runs in linux emulation.

$ ps ax -O wchan | fgrep 970
970 fdlhol  p4  DE     0:00,09 strmqcsv WAS_node_si_server_sb4_si

$ fstat -p 970
USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
mqm      strmqcsv     970 root /             2 drwxr-xr-x     512  r
mqm      strmqcsv     970   wd /usr     1555303 drwxrwxr-x     512  r
mqm      strmqcsv     970 text /usr     1536473 -r-sr-s---    7630  r
mqm      strmqcsv     970    0 /dev         10 crw-rw-rw-    null  r
mqm      strmqcsv     970    1 /dev         10 crw-rw-rw-    null rw
mqm      strmqcsv     970    2 /dev         10 crw-rw-rw-    null rw
mqm      strmqcsv     970    3* pipe c7076408 <-> c7af0158      0 rw
mqm      strmqcsv     970    4* pipe c7af0158 <-> c7076408      0 rw

ipcs -a | fgrep 970
m  65561  286838271 --rw-rw-rw-      mqm      mqm      mqm      mqm
 1   8192    970    974 18:47:11 18:47:11 18:47:11

This happens from time to time, I can not reproduce this at will, so it
looks like a concurrency issue. As I understand this happens in kernel
fdfree().
I use 5.2.1-release, so maybe it was fixed later, but I can not install
-current (or 5.3 beta) at the moment.
Is there anything I can do to avoid this problem and help debug it?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4173F726.5060408>