From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 5 16:01:49 2009 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7DF01065676; Mon, 5 Oct 2009 16:01:49 +0000 (UTC) (envelope-from samesame@akruijff.dds.nl) Received: from CPSMTPM-EML103.kpnxchange.com (cpsmtpm-eml103.kpnxchange.com [195.121.3.7]) by mx1.freebsd.org (Postfix) with ESMTP id 43BD68FC13; Mon, 5 Oct 2009 16:01:48 +0000 (UTC) Received: from ip51cc8423.speed.planet.nl ([81.204.132.35]) by CPSMTPM-EML103.kpnxchange.com with Microsoft SMTPSVC(7.0.6001.18000); Mon, 5 Oct 2009 17:49:43 +0200 Received: from Alex1.lan (localhost [127.0.0.1]) by ip51cc8423.speed.planet.nl (8.14.2/8.14.2) with ESMTP id n95Fng43001982; Mon, 5 Oct 2009 17:49:42 +0200 (CEST) (envelope-from samesame@akruijff.dds.nl) Received: (from akruijff@localhost) by Alex1.lan (8.14.2/8.14.2/Submit) id n95Fnghs001981; Mon, 5 Oct 2009 17:49:42 +0200 (CEST) (envelope-from samesame@akruijff.dds.nl) X-Authentication-Warning: Alex1.lan: akruijff set sender to samesame@akruijff.dds.nl using -f Date: Mon, 5 Oct 2009 17:49:42 +0200 From: Alex de Kruijff To: pav@FreeBSD.org Message-ID: <20091005154942.GA1476@Alex1.lan> References: <200909202006.n8KK6AU6091481@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200909202006.n8KK6AU6091481@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i X-OriginalArrivalTime: 05 Oct 2009 15:49:43.0277 (UTC) FILETIME=[74C209D0:01CA45D3] Cc: freebsd-ports-bugs@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: ports/138596: [MAINTAINER] sysutils/samesame vlruwk problem X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: akruijff@dds.nl List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 16:01:49 -0000 This might be one of those bug reports where your anwser might be: sorry not a bug but a feature. I've run the app and the whole computer seem to freeze. I've rebooted a couple times. Before I filed the PR, I've googled on vlruwk and it seemed like this state indicated a big problem on the OS part. Since then I have come to understand this better. What happens is that the vnodes are running out, and FreeBSD responed to that by waiting a couple seconds becore executing a anything. Thus it becomes unresponcive. I think the ideal solution would be if the OS would slow down the app that is using a (very) large percentage of available vnodes, if it causes the computer to run out of available vnodes. I've also learned that the problem goes away if the value kern.maxvnodes is raised by the administrator, but in my case this needed to add at least 200%. # sysctl kern.maxvnodes = + 10 000 I've run the app as root. And having root privileges this was easy for me to do, once I knew how to respond to this.