From owner-freebsd-stable@FreeBSD.ORG Thu Dec 23 22:51:57 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3FC916A4CE for ; Thu, 23 Dec 2004 22:51:57 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2AF543D49 for ; Thu, 23 Dec 2004 22:51:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id C777D5135A; Thu, 23 Dec 2004 14:51:56 -0800 (PST) Date: Thu, 23 Dec 2004 14:51:56 -0800 From: Kris Kennaway To: niklas@registrar.no Message-ID: <20041223225156.GA78368@xor.obsecurity.org> References: <1653.217.116.81.4.1103798990.squirrel@webmail.registrar.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <1653.217.116.81.4.1103798990.squirrel@webmail.registrar.no> User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: 5.3 and maxproc exceeded X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2004 22:51:58 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 23, 2004 at 11:49:50AM +0100, niklas@registrar.no wrote: > Hi, > I'm trying to dig up a problem. A server I have running 201 jails with a > total of ~2200 processes gets about every five minutes: >=20 > "maxproc limit exceeded by uid 2, please see tuning(7) and login.conf(5)" >=20 > First of all, uid 2 has only a few sendmail processes running (postfix > alias for sendmail) Second of all, I've upped both kern.maxproc and > kern.maxprocperuid to 32k and 16k, well above what this server actually > runs of total processes. It may only have a few processes running, but uid 2 was the owner of the one process that caused the total to exceed the maxproc limit. > To make things even more interesting, java dies by signal 6 (Abort) > frequently (it's running Tomcat 4.1) (while I was writing this mail, make > buildworld Abort'ed as well :-I ) and I've had reports of this server > panicing a few times the last 24 hours, but since I haven't been around > when it's happened and no-one noted down the panic messages because they > were too stressed about getting the computer up, I have no clue what might > have happened there. This may also be a side-effect of a resource limit being exceeded. You should enable crashdumps, so that you can dissect the panic after the computer reboots. Kris --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBy0wMWry0BWjoQKURAoPWAKDz2b2OI5woQJt1bmzvqvyUv8RT4gCdG7mr xcii54We8HBMDTFWT6E9VTE= =PjLk -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--