kldstat / kernel linker deadlock
Bryan Drewery
bryan-lists at shatow.net
Fri Nov 23 01:26:24 UTC 2012
On 8.3-RELEASE I've hit a deadlock with kldstat.
I can't provide much information as procstat(1) locks up and I have
already rebooted the servers due to it breaking quite a bit in my setup.
> # kldstat
> Id Refs Address Size Name
> load: 0.91 cmd: kldstat 9936 [kernel linker] 51.21r 0.00u 0.00s 0% 768k
> ^C
> load: 0.72 cmd: kldstat 9936 [kernel linker] 225.23r 0.00u 0.00s 0% 704k
> load: 0.72 cmd: kldstat 9936 [kernel linker] 225.39r 0.00u 0.00s 0% 704k
> load: 0.42 cmd: kldstat 9936 [kernel linker] 1837.24r 0.00u 0.00s 0% 692k
Short list of affected processes (74 in all):
> root 3685 0.0 0.0 3264 700 ?? D 7:27PM 0:00.00 kldstat
> root 67061 0.0 0.0 3380 892 ?? D 7:27PM 0:00.00 /usr/bin/netstat -nrf inet
> root 5579 0.0 0.0 3380 892 ?? D 7:37PM 0:00.00 /usr/bin/netstat -nrf inet
> root 6393 0.0 0.0 3264 704 ?? D 7:32PM 0:00.00 /sbin/kldstat -v
> root 99635 0.0 0.1 3324 1244 13 D+ 7:52PM 0:00.01 procstat -ka
[... 69 more removed ...]
I had 2 minutely cron entries that were running kldstat(1)/netstat(1).
Guessing the kldstat(1) and netstat(1) deadlocked initially.
--
Regards,
Bryan Drewery
bdrewery at freenode/EFNet
More information about the freebsd-hackers
mailing list