unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "David L" <idht4n@hotmail.com>
To: bug-gnu-emacs@gnu.org
Subject: Re: emacs 22.1 hogging CPU
Date: Tue, 19 Jun 2007 08:59:25 -0700	[thread overview]
Message-ID: <BAY144-F268C779B27BEF0D841F05B84120@phx.gbl> (raw)

>I started emacs like this:
>emacs -l shared/sw/gvu/src/../bin/fc6debug1_1t/gtkview.nep2 -f 
>nep-build-and-load-tags -title >"fc6debug1_1t gtkview"
>
>For several minutes after I started it, emacs was using between 10%
>and 40% of a 3GHz P4.  This problem is either new with the 22.1
>release or is much worse now.  I don't know how to profile emacs
>to tell what's using the CPU, but emacs appears to be doing nothing
>at the time except waiting for user input... the building and loading
>of etags had long since finished.


emacs is now using 98.1% of a P4 3GHz while apparently doing
nothing.  It is continuously using more than 50%.
Here's the output of top:
26022 rmel  39  19  104m  37m  10m R 98.1  1.9  51:01.88 emacs

One of my co-workers is logged into my machine running emacs and
it is his session that is hogging the CPU.  I just went and talked to him
and he wasn't doing anything in that session.  He had left the emacs
code browser open, so I asked him to deactivate it to see if that would
make the problem go away.  It did not.  Is there a way to get emacs to
profile itself while this problem is happening so I can provide some
more useful debugging info?

Thanks,
           David

_________________________________________________________________
Hotmail to go? Get your Hotmail, news, sports and much more! 
http://mobile.msn.com

             reply	other threads:[~2007-06-19 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19 15:59 David L [this message]
2007-06-19 16:02 ` emacs 22.1 hogging CPU Jason Rumney
2007-06-19 16:24   ` David L
2007-06-20  1:26   ` solved: " David L
  -- strict thread matches above, loose matches on Subject: below --
2007-06-18 18:04 David L

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=BAY144-F268C779B27BEF0D841F05B84120@phx.gbl \
    --to=idht4n@hotmail.com \
    --cc=bug-gnu-emacs@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 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).