Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 16:53:04 -0800
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-net@freebsd.org, "Bjoern A. Zeeb" <bz@FreeBSD.ORG>, Jack Vogel <jfvogel@gmail.com>
Subject:   Re: Panic in the udp_input() under heavy load
Message-ID:  <4ECEE6F0.4010301@FreeBSD.org>
In-Reply-To: <alpine.BSF.2.00.1111080239500.1358@fledge.watson.org>
References:  <4EB804D2.2090101@FreeBSD.org> <alpine.BSF.2.00.1111071818250.4603@ai.fobar.qr> <4EB86276.6080801@sippysoft.com> <4EB86866.9060102@sippysoft.com> <alpine.BSF.2.00.1111072324340.4603@ai.fobar.qr> <4EB86FCF.3050306@FreeBSD.org> <alpine.BSF.2.00.1111080239500.1358@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/7/2011 6:41 PM, Robert Watson wrote:
>
> On Mon, 7 Nov 2011, Maxim Sobolev wrote:
>
>> On 11/7/2011 3:25 PM, Bjoern A. Zeeb wrote:
>>> Now if you are clever you'd also log the inp there as the above will
>>> only prove the case that something is wrong but still not help us in
>>> anything to figure out what.
>>
>> Good point, thank you Sir.
>>
>> Would that be good enough?
>>
>> printf("BZZT! Something is terribly wrong, up == NULL! inp = %p\n", inp);
>>
>> Do you think of any other useful piece of information that I can log
>> at this point?
>
> Hi Maxim:
>
> There was recently a commit to fix a race condition in 10-CURRENT which
> I think is not slated to be merged for 9.0. You might check the commit
> logs there and see if that fixes the problems you have -- if so, we
> might want to reconsider the plan not to merge for 9.0.
>
> (It relates to a race condition on closing sockets..)

Hi Robert,

Thank you for the tip. I will give it a try and see what happens. So 
far, after installing that trap we have not seen any panics yet. I have 
not checked logs yet if my trap actually has catch anything or not.

-Maxim



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