From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 16 02:05:59 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968FA16A41A for ; Thu, 16 Aug 2007 02:05:59 +0000 (UTC) (envelope-from rmaglasang@infoweapons.com) Received: from ironmail.infoweapons.com (ironmail.infoweapons.com [58.71.34.140]) by mx1.freebsd.org (Postfix) with ESMTP id B327813C46C for ; Thu, 16 Aug 2007 02:05:58 +0000 (UTC) (envelope-from rmaglasang@infoweapons.com) Received: (qmail 95374 invoked by uid 98); 16 Aug 2007 01:39:14 -0000 Received: from 10.3.1.41 by ironmail.cebu.infoweapons.com (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.86.1/959. spamassassin: 3.0.4. Clear:RC:1(10.3.1.41):. Processed in 0.056547 secs); 16 Aug 2007 01:39:14 -0000 X-Qmail-Scanner-Mail-From: rmaglasang@infoweapons.com via ironmail.cebu.infoweapons.com X-Qmail-Scanner: 1.25 (Clear:RC:1(10.3.1.41):. Processed in 0.056547 secs) Received: from sho.cebu.infoweapons.com (HELO ?10.3.1.41?) (10.3.1.41) by www.infoweapons.net with AES256-SHA encrypted SMTP; 16 Aug 2007 01:39:13 -0000 Message-ID: <46C3A75B.1070005@infoweapons.com> Date: Thu, 16 Aug 2007 09:24:43 +0800 From: "Ronnel P. Maglasang" User-Agent: Thunderbird 1.5 (X11/20060613) MIME-Version: 1.0 To: Roman Divacky References: <1fc8a2a60708142327p3f9ff079l345d47f9ceb6f489@mail.gmail.com> <20070815082857.GA59064@freebsd.org> <1fc8a2a60708150210i73f8cb9evd60747bc3fb314e3@mail.gmail.com> <20070815152400.GA69914@freebsd.org> In-Reply-To: <20070815152400.GA69914@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Nex Mon , freebsd-hackers@freebsd.org Subject: Re: questions on nonsleepable lock X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 02:05:59 -0000 this is getting to be a serious problem in freebsd. i'm also encountering the same panic problem. my box runs on freebsd 6.1 with ipfw, pf, forwarding/routing enabled and several network-based applications. the panic occurs when the system is subjected to a very high traffic load and some applications are busy doing disk IO, system and socket calls. i think this was already asked in this thread. i just want to clarify if this problem is caused by user-applications (non-kernel). or possibly a system/ioctl call from user-application. i don't see mtx_*, giant or mutex use in any of my user-applications, so probably this is something underneath the kernel. also, is their a list or documentation of which freebsd application, program or component has this problem? thanks Roman Divacky wrote: > On Wed, Aug 15, 2007 at 05:10:48PM +0800, Nex Mon wrote: > >> thanks for your reply. >> >> i didn't use WITNESS. it is disabled. >> >> is their a list a list of which locks are sleepable and non-sleepable >> in FreeBSD6.2? is sleeping triggered by a call to "sleep", IO operation >> or a result of context switching by kernel? >> > > all locks except sx and Giant are nonsleepable, sleeping can be triggered > by calling foo_sleep() and/or by calling a sleeping function (like io etc.) > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >