From owner-freebsd-net@FreeBSD.ORG Fri Dec 30 19:48:36 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49B44106564A; Fri, 30 Dec 2011 19:48:36 +0000 (UTC) (envelope-from sobomax@sippysoft.com) Received: from mail.sippysoft.com (mail.sippysoft.com [4.59.13.245]) by mx1.freebsd.org (Postfix) with ESMTP id 1C0D78FC13; Fri, 30 Dec 2011 19:48:36 +0000 (UTC) Received: from s0106005004e13421.vs.shawcable.net ([70.71.175.212] helo=[192.168.1.79]) by mail.sippysoft.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1RgiRP-000DOY-0b; Fri, 30 Dec 2011 11:48:35 -0800 Message-ID: <4EFE158C.2040705@FreeBSD.org> Date: Fri, 30 Dec 2011 11:48:28 -0800 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: "Robert N. M. Watson" References: <4EB804D2.2090101@FreeBSD.org> <4EB86276.6080801@sippysoft.com> <4EB86866.9060102@sippysoft.com> <4EB86FCF.3050306@FreeBSD.org> <4ECEE6F0.4010301@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: sobomax@sippysoft.com X-ssp-trusted: yes Cc: freebsd-net@freebsd.org, "Bjoern A. Zeeb" , Jack Vogel Subject: Re: Panic in the udp_input() under heavy load X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 19:48:36 -0000 On 11/24/2011 11:24 PM, Robert N. M. Watson wrote: >>> 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..) >> > >> > 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. > Do we know if this fix has been merged to stable/9 and releng/9.0? Given multiple reports of instability without it, I think we would be well-served to merge it at this point. Hey Robert, sorry to bother you again, but can you at least point me towards specific SVN revisions that I need to get merged? I tried to google it and also browsed my svn history for the last 4 months using keyword "sockets", but nothing came up. This fix is critical for any system that does lot of fault-ctitical networking, and FreeBSD has always been solid in this regard. It saved us at least 10-15 crashes across 5 machines in the last month. Thanks! -Maxim