all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Kasperski <Marcin.Kasperski@softax.com.pl>
To: emacs-devel@gnu.org
Subject: Idle emacs taking 100% cpu - how to track it?
Date: Fri, 03 Aug 2007 15:11:23 +0200	[thread overview]
Message-ID: <87r6mkahl0.fsf@cauchy.softax.local> (raw)


For some time I observe some irritating problem: when I leave some
emacs running (say, on another virtual desktop) and unused, after some
time it starts taking 100% CPU (on the fast modern machine). Sometimes
it is still responsive and I can start using it again (while it
handles keystrokes it usually stop eating CPU but when I leave it it
starts hogging again), sometimes it seems frozen (does not repaint
buffer windows).

I use debian's snapshot version (at the moment GNU Emacs 22.0.95.1
(i486-pc-linux-gnu, GTK+ Version 2.8.20))

First I suspected server mode, but replacing it with gnuserv did not
change anything.

Now I suspect 'something' updating semantic.cache (it happened to me
that when I had returned to hogging emacs, found it frozen and
pressed Ctrl-G, after some time semantic.cache has been displayed).
But I am not sure.

Has anybody faced similar behaviour?

What can I do to track the problem (I of course suspect some elisp
code going wild, but how to check what exactly is wrong...)?

             reply	other threads:[~2007-08-03 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03 13:11 Marcin Kasperski [this message]
2007-08-03 14:47 ` Idle emacs taking 100% cpu - how to track it? Stefan Monnier
2007-08-03 16:40   ` Marcin Kasperski
2007-08-03 17:13     ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6mkahl0.fsf@cauchy.softax.local \
    --to=marcin.kasperski@softax.com.pl \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.