tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems with hangs under NetBSD-5.x



        Hello.  I've been able to track down my problem a little further.
Here  is what I know:

1.  Server: I386

2.  Version NetBSD-5.0-stable as of July 11, 2009

3.  FFS options: softdep, quota.

4.  The machine doesn't hang, but any processes which need to write to the
filesystem with quotas enabled get stuck in tstile after a while.  The
hangs don't happen immediately, but they can be triggered if one runs a
bunch of processes which create and write to files and then delete them
over and over again.
The filesystem without quotas is perfectly usable and happy.
ps -laxwww with processes which are in this state are shown below.

5.  If someone could tell me what commands from ddb would be useful when I
get the machine into this state, I'm happy to post output.  Unfortunately,
I forgot to turn off the watchdog timer, so when I dropped into ddb to
begin this process with the stuff shown below, the alarm fired and rebooted
the machine.  No worries, though, I can bring it to its knees again. :)

-thanks
-Brian


    0  1135 25661     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
32767  2248  9295     0 115  5  2896   936 tstile  DN   ?         0:00.00 find 
-s / ( ! -fstype local -o -fstype cd9660 -o -fstype fdesc -o -fstype kernfs -o 
-fstype procfs ) -prune -o -print 
    0  3197  1807     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0  3770  7160     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0  4331 13750     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0  4735 20067     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0  5472 14104     0 117  0  2840  1036 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
    0  6489 17305     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0  6858 12299     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
 1312  7249   266     0 117  0  7488  3576 tstile  Ds   ?         0:00.02 sshd: 
buhrow [priv] 
    0  8404  3249     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0  8501 27388     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
32767  8534  5041 17248 111  5  2896   936 tstile  DN   ?         0:00.00 find 
-Y* JsAbyte 7120rAAug  4 15:17:22 www1 inetd[273]: ftp/tcp: bind: Can't 
assign requested address
    0  8560  9494     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
    0  9602  8577   809 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 10327 27931     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 10899 29885     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,Y* JsAbyte 10366rAY* Y* J]* -o -name .#* -o -name a.out -o -name core 
-o -name *.CKP -o -name .emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 11329 21857     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
    0 11378 22766     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,Y* JsAbyte 10952rAY* Y* J]* -o -name .#* -o -name a.out -o -name core 
-o -name *.CKP -o -name .emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 11533 21129  2861 117  0  3920  2088 tstile  D    ?         0:05.16 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 13088 25328   837 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 13213  3690     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
Y* JsAbyte 12754rAY* Y* J    0 13450 24166     0 117  0  2840  1016 
tstile  D    ?         0:00.00 /bin/csh /usr/local/bin/mkstats.batch.multi 
Y* JsAbyte 13372rAY* Y* J    0 14246   440     0 117  0  2824   772 
tstile  D    ?         0:00.00 df -k     0 14317 19109     0  85  0  2948  1032 
wait    Is   ?         0:00.00 /bin/sh -c /bin/sh /etc/weekly 2>&1 | tee 
/var/log/weekly.out | sendmail -t 
    0 14581  4968     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.rot.monthly.multi 
    0 15172  8162     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 15189  3935     0 117  0  2824  1052 tstile  D    ?         0:00.00 
repquota -a 
    0 15316 23616     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.rot.monthly 
    0 18282 13451     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0 18554 17204     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 19102  8995     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
    0 20075 10130     0 117  0  2824   772 tstile  D    ?         0:00.00 df -k 
    0 20111 18002     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
Y* JsAbyte 18478rAY* Y* J    0 20174 14512    27 117  0  2896   892 
tstile  D    ?         0:00.00 find / ( ! -fstype local -o -fstype fdesc -o 
-fstype kernfs ) -a -prune -o ( -name [#,]* -o -name .#* -o -name a.out -o 
-name core -o -name *.CKP -o -name .emacs_[0-9]* ) -a -atime +3 -exec rm -f -- 
{} ; 
    0 20819 23655     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
    0 21020 24452     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
 1312 21259   266   112 117  0  7488  3576 tstile  Ds   ?         0:00.02 sshd: 
buhrow [priv] 
    0 22960 12114     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
Y* JsAbyte 20604rAY* Y* J    0 23390 28544     0 117  0  2840  1016 
tstile  D    ?         0:00.00 /bin/csh /usr/local/bin/mkstats.batch.multi 
Y* JsAbyte 21840rAY* Y* J    0 24549 10062   851 117  0  2896   892 
tstile  D    ?         0:00.00 find / ( ! -fstype local -o -fstype fdesc -o 
-fstype kernfs ) -a -prune -o ( -name [#,]* -o -name .#* -o -name a.out -o 
-name core -o -name *.CKP -o -name .emacs_[0-9]* ) -a -atime +3 -exec rm -f -- 
{} ; 
    0 24710 12744     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,]* -o -name .#* -o -name a.out -o -name core -o -name *.CKP -o -name 
.emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
    0 26901 25576     0 117  0  2840  1020 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch 
    0 27134 20681     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
    0 27220 18483     0 117  0  2896   892 tstile  D    ?         0:00.00 find 
/ ( ! -fstype local -o -fstype fdesc -o -fstype kernfs ) -a -prune -o ( -name 
[#,Y* JsAbyte 23622rAY* Y* J]* -o -name .#* -o -name a.out -o -name core 
-o -name *.CKP -o -name .emacs_[0-9]* ) -a -atime +3 -exec rm -f -- {} ; 
 1312 27858   266     0 117  0  7488  3576 tstile  Ds   ?         0:00.02 sshd: 
buhrow [priv] 
Y* JsAbyte 25211rAY* Y* J    0 29199  1702     0 117  0  2840  1020 
tstile  D    ?         0:00.00 /bin/csh /usr/local/bin/mkstats.batch 
    0 29310  3391     0 117  0  2840  1016 tstile  D    ?         0:00.00 
/bin/csh /usr/local/bin/mkstats.batch.multi 
  0 1407  378   0 117  0 2824 760 tstile D    tty00 0:00.00 df -k /usr/home 


Home | Main Index | Thread Index | Old Index