From owner-freebsd-questions@FreeBSD.ORG Thu Feb 17 01:26:06 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9507E16A4CE for ; Thu, 17 Feb 2005 01:26:06 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2790E43D41 for ; Thu, 17 Feb 2005 01:26:05 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 8549C8565C; Thu, 17 Feb 2005 11:56:01 +1030 (CST) Date: Thu, 17 Feb 2005 11:56:01 +1030 From: Greg 'groggy' Lehey To: Tony Tung Message-ID: <20050217012601.GI69640@wantadilla.lemis.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZccQPJAL46kky/Sq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions@freebsd.org Subject: Re: emacs on freebsd 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2005 01:26:06 -0000 --ZccQPJAL46kky/Sq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 16 February 2005 at 17:20:24 -0800, Tony Tung wrote: > > Hi, > > I have an unusual problem I was hoping someone could help me with. I have > a FreeBSD 5.3 server that's been up for longer than a month. In that > period, everything seemed fine. However, all of a sudden, I'm no longer > able to spawn a shell in emacs. In fact, I cannot start any process > (shell, gdb, grep, compile) inside emacs. It is happening to all the > users, which makes me wonder if there's some OS-related issue in play > here. > > I've tried restarting emacs, bypassing the emacs startup file, > reinstalling emacs, and just about everything I could think of short of > restarting the server (don't want to do that until I'm physically > present). It would be worth attaching a ktrace to the Emacs to see what it's doing. Something like this: $ ps aux | grep emacs root 12978 0.0 1.3 12880 9832 p5 R 8Oct04 222:09.31 emacs $ ktrace -i -p 12978 (in Emacs, do your thing) $ ktrace -C -p 12978 $ kdump | less You should then look for a call to fork or execve and see what errors are returned. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --ZccQPJAL46kky/Sq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCE/KpIubykFB6QiMRAtdYAJ4lp3cq8JPpj58QSOcMzYQKrZ1d9wCeK3dq 3LsYqHpw9lAs1BMxGoh6J8o= =Fhvr -----END PGP SIGNATURE----- --ZccQPJAL46kky/Sq--