From owner-freebsd-current@FreeBSD.ORG Thu Jun 20 13:48:21 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4E2F4EB5; Thu, 20 Jun 2013 13:48:21 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-bk0-x232.google.com (mail-bk0-x232.google.com [IPv6:2a00:1450:4008:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id A90131A6A; Thu, 20 Jun 2013 13:48:20 +0000 (UTC) Received: by mail-bk0-f50.google.com with SMTP id ik8so2934309bkc.9 for ; Thu, 20 Jun 2013 06:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=Cp8oTGF4jUR9ID9skD7kou9rJMsusNyDDSxrltdVEFo=; b=fZFbPDrYesj8pto+fYwep62LURXZpoCHLFDOg0CP5PuICaZ5EMP2DaVlNDxeIAUsqX Q2kEnLctHSXmdeP3O3+qJ5NBVxxoMViw/gZjq6euAeI/E7EnyRuxdxrn0jaDneksqEB+ E+JZwvaWdDnXZ4ANgGVjvhVem43M/1Ded6e25KqbEpEDTn5Bb8WpscHudYVBCEdDqBLv dqtp+ROe2QLeTJUqbe2ckUl8Y1JMitl9YPM69lXfqYjYM+nrN+9Ny7Qk9+4nvV6BV9bo MeIHQso1hG/LjcAcKhAwRNmBYK0qyZHBJ7aZGcrT1OU8kP4nD8WDa4hxWFkZYSvXJc+y 8Eog== X-Received: by 10.204.184.69 with SMTP id cj5mr1105358bkb.60.1371736099670; Thu, 20 Jun 2013 06:48:19 -0700 (PDT) Received: from [192.168.1.4] (addo103.neoplus.adsl.tpnet.pl. [79.184.66.103]) by mx.google.com with ESMTPSA id da16sm249732bkb.2.2013.06.20.06.48.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 06:48:18 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Content-Type: text/plain; charset=iso-8859-2 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Panic with RACCT on a jailed process From: =?iso-8859-2?Q?Edward_Tomasz_Napiera=B3a?= In-Reply-To: <20130618220824.GA11548@caravan.chchile.org> Date: Thu, 20 Jun 2013 15:48:17 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130618220824.GA11548@caravan.chchile.org> To: Jeremie Le Hen X-Mailer: Apple Mail (2.1508) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jun 2013 13:48:21 -0000 Wiadomo=B6=E6 napisana przez Jeremie Le Hen w dniu 19 = cze 2013, o godz. 00:08: > Hi, >=20 > I've been bit by a panic three times over the last month. >=20 > I'm currently running: > FreeBSD obiwan.piupiu.local 10.0-CURRENT FreeBSD 10.0-CURRENT #7 = r251519: Sun Jun 9 22:37:09 CEST 2013 = root@obiwan.piupiu.local:/usr/obj/usr/src/sys/OBIWAN amd64 >=20 > The panic message is: > panic: destroying non-empty racct: 1007616 allocated for resource 4 >=20 > I quicky tried to track this down, but in half an hour I didn't get = very > far. Resource 4 is RACCT_RSS. The faulty process seems to be 66555 > which looks like a 32-bits cron(8) running in a jail. I've seen a similar report in the past, but I was unable to figure out = what could be causing this. Do you have a way to figure out exactly what cron job causes this? = Also, could you try a workaround of adding any kind of rctl rule for that user (this will cause the uidinfo to be "held" by the rctl rule, so uifree() = won't try to destroy its racct), e.g. "user:XXX:maxproc:log=3D1000000000", and see if it panics in some other place? Thanks!