unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Idle emacs taking 100% cpu - how to track it?
@ 2007-08-03 13:11 Marcin Kasperski
  2007-08-03 14:47 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Kasperski @ 2007-08-03 13:11 UTC (permalink / raw)
  To: emacs-devel


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...)?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Idle emacs taking 100% cpu - how to track it?
  2007-08-03 13:11 Idle emacs taking 100% cpu - how to track it? Marcin Kasperski
@ 2007-08-03 14:47 ` Stefan Monnier
  2007-08-03 16:40   ` Marcin Kasperski
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2007-08-03 14:47 UTC (permalink / raw)
  To: Marcin Kasperski; +Cc: emacs-devel

> 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).

You're running cedet-NN.MMpre3, upgrade to pre4.


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Idle emacs taking 100% cpu - how to track it?
  2007-08-03 14:47 ` Stefan Monnier
@ 2007-08-03 16:40   ` Marcin Kasperski
  2007-08-03 17:13     ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Kasperski @ 2007-08-03 16:40 UTC (permalink / raw)
  To: emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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).
>
> You're running cedet-NN.MMpre3, upgrade to pre4.

Thank you for the hint, I just did it. Does it mean I faced known old bug?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Idle emacs taking 100% cpu - how to track it?
  2007-08-03 16:40   ` Marcin Kasperski
@ 2007-08-03 17:13     ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2007-08-03 17:13 UTC (permalink / raw)
  To: Marcin Kasperski; +Cc: emacs-devel

Marcin Kasperski wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> 
>>> 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).
>> You're running cedet-NN.MMpre3, upgrade to pre4.
> 
> Thank you for the hint, I just did it. Does it mean I faced known old bug?


Yes, you need the version of cedet above when you are using Emacs 22.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-03 17:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-03 13:11 Idle emacs taking 100% cpu - how to track it? Marcin Kasperski
2007-08-03 14:47 ` Stefan Monnier
2007-08-03 16:40   ` Marcin Kasperski
2007-08-03 17:13     ` Lennart Borgman (gmail)

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).