From owner-freebsd-arm@FreeBSD.ORG Fri Mar 22 13:27:02 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 142C7265 for ; Fri, 22 Mar 2013 13:27:02 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id C97F2A22 for ; Fri, 22 Mar 2013 13:27:01 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UJ1zh-0006wD-DH for freebsd-arm@freebsd.org; Fri, 22 Mar 2013 14:26:53 +0100 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UJ1zg-0007Ra-Le for freebsd-arm@freebsd.org; Fri, 22 Mar 2013 14:26:52 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Subject: Re: kern.ipc.maxsockets limit reached on Raspberry References: Date: Fri, 22 Mar 2013 14:26:51 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.14 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.0 X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.1 X-Scan-Signature: 788438cbfdc4dc137ce560360a3a99c7 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 13:27:02 -0000 On Fri, 22 Mar 2013 13:36:52 +0100, Alie Tan wrote: > On Mon, Mar 18, 2013 at 9:19 PM, Ronald Klop > wrote: > >> On Mon, 18 Mar 2013 13:28:19 +0100, Alie Tan wrote: >> >> Forgot to mention. I can't SSH to the device once this issue occurred. >>> >> >> That is expected. SSH needs a socket, so as maxsockets is reached... You >> get the point. ;-) >> >> >>> >>> On Mon, Mar 18, 2013 at 8:23 PM, Alie Tan wrote: >>> >>> Hi, >>>> >>>> I just got this issue on my Hiawatha web-server on Raspi 512MB with >>>> FreeBSD r247518. This issue happens every 1-2 days. >>>> >>>> Anyone got any clue about this issue? I can increase the maxsockets >>>> but >>>> it >>>> seems just a workaround. >>>> >>> >> >> You can put this in cron. (From the top of my head so beware of typos.) >> >> */15 * * * * sockstat >> >> This will mail you the open sockets every 15 minutes. See what is >> growing >> infinitely. >> > Strange http://ompldr.org/vaHVocQ/P30322-202828.jpg > > All Foreign addresses are *.* and seems opened sockets also still normal, > not above maxsockets > I'm at work so not much time to look into it, but I noticed the error is about udp zone. Is something using UDP on your machine? Ronald.