From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: snmishra@XXXhotYYYpop.com Newsgroups: gmane.emacs.help Subject: Emacs using too much CPU Date: 17 May 2004 10:00:28 -0600 Organization: National Semiconductor, Santa Clara Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084810408 5802 80.91.224.253 (17 May 2004 16:13:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 16:13:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 17 18:13:15 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPkjq-00078J-00 for ; Mon, 17 May 2004 18:13:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPkZQ-0002E7-TG for geh-help-gnu-emacs@m.gmane.org; Mon, 17 May 2004 12:02:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn51feed!worldnet.att.net!12.120.28.17!attla2!attla1!ip.att.net!usenet.nsc.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: quandary.nsc.com Original-X-Trace: usenet.nsc.com 1084809662 5930 192.137.59.70 (17 May 2004 16:01:02 GMT) Original-X-Complaints-To: usenet@usenet.nsc.com Original-NNTP-Posting-Date: Mon, 17 May 2004 16:01:02 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:123230 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18522 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18522 Hi All I have this pesky little problem with emacs: it is always running at around 55% CPU utilization. I have been trying to figure out what is causing it without any avail. I tried truss on it. Seems to be trying to open a ".#vm-inbox" file in my mail directory. vm-inbox is the primary inbox for VM mail reader and also writes a lot to the X11-pipe (my guess). I know this is not enough information for a solution. But maybe someone has some idea on how to find out which program within emacs is using the CPU so much. I would appreciate any help. Thanks Satya ------------------ Truss Output ------------------ lstat64("/home/satya/mail/.#vm-inbox", 0xFFBED260) Err#2 ENOENT readlink("/home/satya/mail/.#vm-inbox", 0x006D6280, 100) Err#2 ENOENT ioctl(5, FIONREAD, 0xFFBBFFF4) = 0 ioctl(5, FIONREAD, 0xFFBC0054) = 0 write(5, " =\0\00406 @\01D\001\001".., 32) = 32 ioctl(5, FIONREAD, 0xFFBBF9E4) = 0 ioctl(5, FIONREAD, 0xFFBBF9E4) = 0 sigaction(SIGALRM, 0xFFBED0F8, 0xFFBED178) = 0 setitimer(ITIMER_REAL, 0xFFBED208, 0x00000000) = 0 ioctl(5, FIONREAD, 0xFFBBFF3C) = 0 poll(0xFFBED660, 3, 125) = 0 ioctl(5, FIONREAD, 0xFFBBFF3C) = 0 ioctl(5, FIONREAD, 0xFFBC0054) = 0 getloadavg(0xFFBED7B4, 3) = 3 ioctl(5, FIONREAD, 0xFFBC00D4) = 0 Received signal #14, SIGALRM [caught] ioctl(5, FIONREAD, 0xFFBBF11C) = 0 setitimer(ITIMER_REAL, 0xFFBEC788, 0x00000000) = 0 setcontext(0xFFBEC8F0) ------------ -- Remove XXX and YYY to get my address