From owner-freebsd-stable@FreeBSD.ORG Tue May 15 21:39:34 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CE24D16A402 for ; Tue, 15 May 2007 21:39:34 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB6813C457 for ; Tue, 15 May 2007 21:39:34 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so280583pyh for ; Tue, 15 May 2007 14:39:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=gD5bX5rsTtuQPLVOe9P/eXT0FjQizTi3K12jxcIzXayXbZRH3NdeTP3hgS01/w9ctnXDjnU0smVYiAnfgl34tI2aOHYCjh2ImNaWO0rZdipKN4Z/9spdBNV7+ix1S5EmW1qM/RZBbjSHVQaHtFvixPu7Kjo53fK1VM4BxM98riU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=daIvVIm/mUdE0SEuZK6SWjWZycmGpTAaESFpW8PEZ1aX4hGTFlFgp52Ju56Jo/GPXjzbWfP2pn8UDSog7T+LhWR5+LdvNowG/yCUR2lWf1tAm00W2ny1BA6hGFZkJ78fjEwwtZ6jjEtCJUwEAggE+ap/tvQQfuRMVyKIxfWN/7Y= Received: by 10.65.114.11 with SMTP id r11mr1734957qbm.1179265173893; Tue, 15 May 2007 14:39:33 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.170.96]) by mx.google.com with ESMTP id e14sm1147537qba.2007.05.15.14.39.31; Tue, 15 May 2007 14:39:33 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.14.1/8.14.1) with ESMTP id l4FJdZrj011438; Tue, 15 May 2007 21:39:35 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.14.1/8.14.1/Submit) id l4FJdZnk011437; Tue, 15 May 2007 21:39:35 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 15 May 2007 21:39:35 +0200 From: Ulrich Spoerlein To: "Marc G. Fournier" Message-ID: <20070515193935.GD1462@roadrunner.q.local> Mail-Followup-To: "Marc G. Fournier" , freebsd-stable@FreeBSD.ORG, Oliver Fromme References: <200705081314.l48DETdC084404@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Oliver Fromme , freebsd-stable@freebsd.org Subject: Re: Socket leak (Was: Re: What triggers "No Buffer Space) ?Available"? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 21:39:34 -0000 I'm slowly cathing up on FreeBSD related mails and found this mail ... Marc G. Fournier wrote: > > > kern.ipc.numopensockets: 7400 > > > kern.ipc.maxsockets: 12328 > > > > > > ps looks like: > > > > > > > > 2368 p2 Is+ Sat01PM 0:00.03 /bin/tcsh > root 2112 0.0 0.1 5220 > > 2360 p3 Ss+ Sat01PM 0:00.04 /bin/tcsh > root 91221 0.0 0.1 5140 > > 2440 p4 Ss+ 11:49PM 0:00.12 -tcsh (tcsh) > > > > I don't think those processes should consume 7400 sockets. > > Indeed, this really looks like a leak in the kernel. > > Robert has sent me a suggestion to try that I'm in the process of putting > together right now, involving backing out some work on uipc_usrreg.c ... How did the backing out work for you? Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy