From xemacs-m  Thu Jan 16 00:32:10 1997
Received: from cs.uchicago.edu (alexandria.cs.uchicago.edu [128.135.11.87])
          by xemacs.org (8.8.4/8.8.4) with ESMTP
	  id AAA26350 for <xemacs-beta@xemacs.org>; Thu, 16 Jan 1997 00:32:09 -0600 (CST)
Received: from clientname (localhost [127.0.0.1]) by cs.uchicago.edu (8.8.3/8.7.3) with ESMTP id AAA12218 for <xemacs-beta@xemacs.org>; Thu, 16 Jan 1997 00:32:11 -0600 (CST)
To: xemacs-beta@xemacs.org
Subject: Xemacs taking up a lot of cycles while `idle'
Reply-To: csdayton@cs.uchicago.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <12212.853396327.1@alexandria11>
Date: Thu, 16 Jan 1997 00:32:10 -0600
Message-ID: <12215.853396330@alexandria11>
From: Soren Dayton <csdayton@cs.uchicago.edu>

top says this about my xemacs process that has been idle for ten hours:

24652 csdayton  25    0   23M   16M cpu    26.8H 29.17% 25.78% xemacs

Now, I just iconify it and let it sit and I get this (repeating
indefinitely) from a truss.

sigprocmask(SIG_UNBLOCK, 0xEFFFF0BC, 0x00000000) = 0
unlink("/homes/csdayton/.saves-4859-gargoyle164.cs.uchicago.edu") Err#2 ENOENT
ioctl(16, FIONREAD, 0xEFFFEFB4)                 = 0
ioctl(16, FIONREAD, 0xEFFFEFB4)                 = 0
poll(0xEFFFCDD0, 4, 0)                          = 0
poll(0xEFFFCD60, 3, 0)                          = 0
ioctl(16, FIONREAD, 0xEFFFEF44)                 = 0
ioctl(16, FIONREAD, 0xEFFFEF44)                 = 0
poll(0xEFFFCD60, 4, 6982)       (sleeping...)
poll(0xEFFFCD60, 4, 6982)                       = 0
sigprocmask(SIG_BLOCK, 0xEFFFF0D8, 0x00000000)  = 0
sigprocmask(SIG_UNBLOCK, 0xEFFFF0C0, 0x00000000) = 0
sigprocmask(SIG_BLOCK, 0xEFFFF0D8, 0x00000000)  = 0
sigprocmask(SIG_UNBLOCK, 0xEFFFF0BC, 0x00000000) = 0
unlink("/homes/csdayton/.saves-4859-gargoyle164.cs.uchicago.edu") Err#2 ENOENT
ioctl(16, FIONREAD, 0xEFFFEFB4)                 = 0
ioctl(16, FIONREAD, 0xEFFFEFB4)                 = 0
poll(0xEFFFCDD0, 4, 0)                          = 0
poll(0xEFFFCD60, 3, 0)                          = 0
ioctl(16, FIONREAD, 0xEFFFEF44)                 = 0
ioctl(16, FIONREAD, 0xEFFFEF44)                 = 0
poll(0xEFFFCD60, 4, 6980)       (sleeping...)

It seems to not be idling.  It is not clear why this is the case though
(there is a (display-time) in my .emacs, but that should not result in
this behaviour.  It certainly did not in 19.14).  This might seem a
little more explicable if I was using gnus-daemon, but I am not.  If I
start XEmacs up with a -q -no-site-file, I get the same problem.

This is solaris 2.5 with the sparc compiler 4.0.  Openwindows X
libraries, Motif, mule, ....

Thanks
Soren

