Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 12:02:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 209421] Processes hangs in D state, suspfs or vofflock wchan under FreeBSD 10.X
Message-ID:  <bug-209421-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209421

            Bug ID: 209421
           Summary: Processes hangs in D state, suspfs or vofflock wchan
                    under FreeBSD 10.X
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: work+freebsd@vvv.kiev.ua
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Sometimes processes go to D state and never change to other states under
FreeBSD from 10.0 to 10.3. Than new and new processes go to D state until
server hangs at all. There is no disk activity at that time.

uname -a:
FreeBSD hostname 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25
02:10:02 UTC 2016     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GEN=
ERIC
 amd64

ps auxwwO wchan:
USER            PID  %CPU %MEM     VSZ     RSS TT  STAT STARTED         TIME
COMMAND            PID WCHAN    TT  STAT         TIME COMMAND
www            1395   0,0  0,0   97932    7704  -  D    11:12AM      0:00,02
/usr/local/sbin/  1395 suspfs    -  D         0:00,02 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            2273   0,0  0,0   97932    7652  -  D    11:14AM      0:00,02
/usr/local/sbin/  2273 vofflock  -  D         0:00,02 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            2831   0,0  0,0   97932    7660  -  D    11:14AM      0:00,02
/usr/local/sbin/  2831 vofflock  -  D         0:00,02 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            3627   0,0  0,0   97932    7652  -  D    11:16AM      0:00,02
/usr/local/sbin/  3627 vofflock  -  D         0:00,02 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            3634   0,0  0,0   97932    7612  -  D    11:16AM      0:00,01
/usr/local/sbin/  3634 vofflock  -  D         0:00,01 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            3635   0,0  0,0   97932    7588  -  D    11:16AM      0:00,00
/usr/local/sbin/  3635 vofflock  -  D         0:00,00 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            4912   0,0  0,3  158388   71048  -  D    11:18AM      0:00,05
/usr/local/sbin/  4912 suspfs    -  D         0:00,05 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.users.pid
www            4913   0,0  0,3  158388   70960  -  D    11:18AM      0:00,05
/usr/local/sbin/  4913 suspfs    -  D         0:00,05 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.users.pid
www            5258   0,0  0,3  158388   71228  -  D    11:19AM      0:00,09
/usr/local/sbin/  5258 suspfs    -  D         0:00,09 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.users.pid
www            5361   0,0  0,0   97932    7624  -  D    11:19AM      0:00,01
/usr/local/sbin/  5361 vofflock  -  D         0:00,01 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            5362   0,0  0,0   97932    7624  -  D    11:19AM      0:00,01
/usr/local/sbin/  5362 vofflock  -  D         0:00,01 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd_ssl.conf -c PidFile /var/run/httpd.ssl.pid
www            5381   0,0  0,3  158388   70952  -  D    11:19AM      0:00,03
/usr/local/sbin/  5381 suspfs    -  D         0:00,03 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.users.pid
www            5382   0,0  0,3  158388   70944  -  D    11:19AM      0:00,04
/usr/local/sbin/  5382 suspfs    -  D         0:00,04 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.users.pid
latokar        5424   0,0  0,0   41736    3180  -  Ds   11:19AM      0:01,55
ftpd: 31.129.249  5424 suspfs    -  Ds        0:01,55 ftpd: XXX.XXX.XXX.XXX:
user/latokar: STOR icons.php\r\n (ftpd)
www            5431   0,0  0,3  158388   70972  -  D    11:19AM      0:00,02
/usr/local/sbin/  5431 suspfs    -  D         0:00,02 /usr/local/sbin/httpd=
 -f
/usr/local/etc/apache24/httpd.conf -c PidFile /var/run/httpd.users.pid
.....

procstat -kk 1395:
  PID    TID COMM             TDNAME           KSTACK=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 1395 102111 httpd            -                mi_switch+0xe1 sleepq_wait+0=
x3a
_sleep+0x287 vn_start_write_locked+0xa7 vn_start_write+0xa3 vn_write+0xb0
vn_io_fault_doio+0x22 vn_io_fault1+0x1ac vn_io_fault+0x18b dofilewrite+0x87
kern_writev+0x68 sys_write+0x63 amd64_syscall+0x40f Xfast_syscall+0xfb

procstat -kk 2273:
  PID    TID COMM             TDNAME           KSTACK=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
 2273 100096 httpd            -                mi_switch+0xe1 sleepq_wait+0=
x3a
_sleep+0x287 foffset_lock+0xaa vn_io_fault+0x5c dofilewrite+0x87
kern_writev+0x68 sys_write+0x63 amd64_syscall+0x40f Xfast_syscall+0xfb=20

I don't know how to repeat. It occasionally happens at the different server=
s.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209421-6>