Re: 6.2-STABLE deadlock?



Цитирую LI Xin <delphij@xxxxxxxxxxx>:

Kostik Belousov wrote:
On Mon, Apr 23, 2007 at 03:56:32AM +0100, Adrian Wontroba wrote:
On Tue, Mar 13, 2007 at 02:08:48PM +0000, Adrian Wontroba wrote:
At work, amoungst my stable of old computers running FreeBSD, I have
a
Fujitsu M800 - a 4 Zeon SMP processor with 4 GB of memory. This
primarily runs Nagios and a small and lightly used MySQL database,
along
with a few inbound FTP transfers per minute. It has a Mylex card
based
disc subsystem, ruling out crash dumps.

At some point during 5.5-STABLE this machine started to occasionally
hang ...
Another 6-STABLE (cvsupped on 27/03/07) example, with diagnostics
taken
rather sooner after the hang. Processes with wmesg=ufs feature often
in
the ps output.

http://www.stade.co.uk/crash1/

I would suspect the mlx controller. There is several processes (for
instance,
988, 50918) waiting for completion of block read, and processes in the
"ufs"
states are the result of the lock cascade, IMHO.

I'm not very sure if this is specific to one disk controller. Actually
I got some occasional reports about similar hangs on amd64 6.2-RELEASE
(slightly patched version) that most of processes stuck in the 'ufs'
state, under very light load, the box was equipped with amr(4) RAID.

I was not able to reproduce the problem at my lab, though, it's still
unknown that how to trigger the livelock :-( Still need some
investigate on their production system.

I reported simular issue for FreeBSD 6.2 in audit-trail for kern/104406:

http://www.freebsd.org/cgi/query-pr.cgi?pr=104406&cat=

and there should be a thread related to this. Briefly, I suspects that this is
related to nullfs filesystems on my server and when I cvsuped to FreeBSD 6.2-
STABLE with Daichi's unionfs-related patches and replaced nullfs-mounted fs
with unionfs-mounted (that was done 10.03.07) problem is gone (seems to be so,
at least).
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • kernel probe of NICs
    ... i'm new to FreeBSD and grateful for it. ... i've installed one machine no problems but on another a suspect ... ethernet interface has developed. ... When i sent to installing FreeBSD no card was detected ...
    (freebsd-questions)
  • Re: how can I burn a *.rr image?
    ... I'm not intending to always point at hardware just to defend FreeBSD at ... relatively low performance and not very demanding driver to get the ... > Although I suspect they'd just blow me off. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Linux/Windows Virus
    ... > a single solid report of an actual infection and not a single ... > FreeBSD could be infected by this thing. ... I suspect that it may also attempt to infect FreeBSD>:binaries, ...
    (FreeBSD-Security)
  • Re: Daylight Savings time
    ... Lisa Casey wrote: ... I suspect my FreeBSD 5.2 system isn't going to handle the change to Daylight Savings Time correctly next weekend: ...
    (freebsd-questions)