Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 09:24:43 +0800
From:      "Ronnel P. Maglasang" <rmaglasang@infoweapons.com>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        Nex Mon <sugarfreemonkey@gmail.com>, freebsd-hackers@freebsd.org
Subject:   Re: questions on nonsleepable lock
Message-ID:  <46C3A75B.1070005@infoweapons.com>
In-Reply-To: <20070815152400.GA69914@freebsd.org>
References:  <1fc8a2a60708142327p3f9ff079l345d47f9ceb6f489@mail.gmail.com>	<20070815082857.GA59064@freebsd.org>	<1fc8a2a60708150210i73f8cb9evd60747bc3fb314e3@mail.gmail.com> <20070815152400.GA69914@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>
>   




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