Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 18:08:41 +0300
From:      "Mikhail A. Sokolov" <mishania@demos.net>
To:        stable@FreeBSD.ORG
Subject:   panics with ufs_dirbad on high swapping.
Message-ID:  <19990211180841.50090@demos.su>

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

given the 3.0-STABLE as of 1999-02-07, we experience the following panics. The
situation is the following - the box was rarely up for more than 3-4 days since
November (yes, I know there were fixes for ufs_dirbad() then) and it happens
way strange way. It will hang (nothing but disk IO works, console doesn't 
respond, network connections get staled and so on) when pretty big swap
quantity is being used actively (please find below the prepanic top results).
More the uptime gets, more longer perionds of irresponsibilities get, and 
it would finally crash in 3 or 4 days with exactly the very same panic. I
already changed all the disks during this period, reinstalled the / from
3.0-R -> 3.0-S on newly newfs'ed one and voila, nothing helps.


last pid: 19449;  load averages:  1.19,  0.96,  0.94    up 3+19:10:11  14:40:33
183 processes: 2 running, 179 sleeping, 2 stopped
CPU states: 44.8% user,  0.0% nice, 18.4% system,  4.3% interrupt, 32.5% idle
Mem: 183M Active, 8160K Inact, 48M Wired, 10M Cache, 8348K Buf, 784K Free
Swap: 584M Total, 291M Used, 293M Free, 50% Inuse, 100K In, 128K Out

  PID USERNAME PRI NICE  SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
17335 root      97   0  1328K   636K CPU0   0  15:26 51.90% 51.90% sshd1
19327 cvsup    -18   0  2144K  1844K spread 0   0:25 30.13% 29.35% cvsupd
18967 cvsup    -22   0  4420K  4016K vmpfw  0   0:46  8.40%  8.40% cvsupd
25299 root       2  -5   230M 88440K poll   0 146:47  6.15%  6.15% squid
17341 mishania   2  -5   844K   364K sbwait 0   1:43  4.39%  4.39% scp1
19344 root      26  -5  1740K   952K CPU1   1   0:02  4.53%  4.10% top
17459 ircd       2   0 42164K 30160K poll   1 209:53  3.17%  3.17% ircd
19362 squid     10   0  2940K  2632K nanslp 0   0:02  2.97%  2.34% perl
19149 cvsup      2   0  2900K  2512K select 1   0:13  1.27%  1.27% cvsupd
19000 cvsup      2   0  1900K  1604K select 1   0:29  0.78%  0.78% cvsupd
19425 root       2   0   596K   384K sbwait 1   0:00  0.27%  0.10% ftpd
19131 root       2   0   596K   388K sbwait 0   0:00  0.05%  0.05% ftpd
19427 root       2   0   612K   404K sbwait 0   0:00  0.19%  0.05% ftpd
19449 root       2  -5   744K   388K select 1   0:00  1.00%  0.05% tcptest
  124 root       2   0   828K   340K select 0  26:35  0.00%  0.00% syslogd
  839 mishania   2  -5  2828K  1336K select 1   5:33  0.00%  0.00% screen
25324 squid     -6  -5   752K   176K piperd 0   5:01  0.00%  0.00% unlinkd
 

gdb -k /var/crash/kernel.24 /var/crash/vmcore.24
initial pcb at 1fda28
panicstr: ufs_dirbad: bad dir
panic messages:
---
panic: ufs_dirbad: bad dir
mp_lock = 01000001; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1

syncing disks... 27 9 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 giving up

dumping to dev 30401, offset 671744
dump 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1
---
#0  0xf013efb3 in boot ()
(kgdb) where
#0  0xf013efb3 in boot ()
#1  0xf013f26b in panic ()
#2  0xf019334e in ufs_dirbad ()
#3  0xf0192bf2 in ufs_lookup ()
#4  0xf0197b4d in ufs_vnoperate ()
#5  0xf015fff4 in vfs_cache_lookup ()
#6  0xf0197b4d in ufs_vnoperate ()
#7  0xf0162495 in lookup ()
#8  0xf0161faf in namei ()
#9  0xf0167c18 in lstat ()
#10 0xf01c2dc3 in syscall ()
#11 0x807f2 in ?? ()
#12 0x1d83a in ?? ()
#13 0x38195 in ?? ()
#14 0x8084 in ?? ()
#15 0x754c in ?? ()
#16 0x71df in ?? ()
#17 0x6c298 in ?? ()
#18 0x6c0aa in ?? ()
#19 0xefbfdd64 in ?? ()
-- 
-mishania

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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