From owner-freebsd-current@FreeBSD.ORG Sun Jan 30 02:52:19 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A5A716A4CE; Sun, 30 Jan 2005 02:52:19 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E123D43D41; Sun, 30 Jan 2005 02:52:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 28537514FE; Sat, 29 Jan 2005 18:52:18 -0800 (PST) Date: Sat, 29 Jan 2005 18:52:18 -0800 From: Kris Kennaway To: current@freeBSD.org Message-ID: <20050130025217.GA32612@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i cc: alc@FreeBSD.org Subject: do_execve() finding vmspace_destroyed set under load X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 30 Jan 2005 02:52:19 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm seeing the following code in do_execve() frequently being triggered when scripts are executed on my SMP machine under load: if (imgp->vmspace_destroyed) { /* sorry, no more process anymore. exit gracefully */ #ifdef MAC mac_execve_exit(imgp); if (interplabel != NULL) mac_vnode_label_free(interplabel); #endif exit1(td, W_EXITCODE(0, SIGABRT)); /* NOT REACHED */ error = 0; } Needless to say, the scripts get pretty unhappy when they're summarily aborted. What is the cause of this? Kris --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB/EvhWry0BWjoQKURAnuwAJwPTBZIh6mS+ceCrG6OsXTUvW/hsQCcC/mQ m359/nsPUZkt8i1hZqZ1AKQ= =eapH -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--