From: gebser@speakeasy.net
Subject: Re: emacs suspension
Date: Wed, 10 Dec 2003 21:16:10 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0312101919020.17914-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <br8b5q$68n$1@home.itg.ti.com>
Underpowered hardware isn't the problem, nor another process taking over
the CPU. It's apparent that the operation you're running in emacs is
soaking up all the processing time. So you're probably going to need to
debug that, as already suggested. As a quick test, you might try
loading the same file, but without font-lock.
At 16:53 (UTC-0700) on Wed, 10 Dec 2003 Michelle Roderick said:
= Here's the result of top:
=
= load averages: 1.62, 0.90, 0.61
= 00:44:32
= 175 processes: 171 sleeping, 3 running, 1 on cpu
= CPU states: 0.0% idle, 98.8% user, 1.2% kernel, 0.0% iowait, 0.0% swap
= Memory: 1024M real, 315M free, 553M swap in use, 6349M swap free
=
= PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
= 19274 mroderic 1 10 0 17M 16M run 37:58 94.98% emacs-21.2
= 195 root 5 50 0 7496K 5864K sleep 245:22 3.03% automountd
= 25852 mroderic 1 58 0 1920K 1640K cpu 0:00 0.35% top
= 14950 pbelmond 1 48 0 14M 12M sleep 9:04 0.16% xemacs-21.4.8
= 26858 root 1 59 0 195M 57M sleep 914:52 0.09% Xsun
= 4117 pbelmond 1 49 0 84M 69M sleep 62.5H 0.06% netscape
= 4044 pbelmond 8 59 0 11M 8776K sleep 28:56 0.04% dtwm
= 25853 cpack 1 37 2 1056K 888K sleep 0:00 0.04% sh
= 25854 cpack 1 37 2 1072K 728K sleep 0:00 0.04% tail
= 25855 cpack 1 47 2 1144K 976K sleep 0:00 0.04% vmstat
= 4084 pbelmond 4 49 0 68M 26M sleep 3:34 0.02% acroread
= 16994 pbelmond 10 49 0 62M 52M run 4:18 0.02% netscape-bin
= 4107 pbelmond 4 49 0 28M 3448K sleep 2:46 0.01% acroread
= 1179 root 12 58 0 2760K 2032K sleep 6:44 0.01% mibiisa
= 125 root 1 58 0 1664K 728K sleep 5:27 0.00% in.rdisc
=
= <gebser@speakeasy.net> wrote in message
= news:mailman.1457.1071025491.399.help-gnu-emacs@gnu.org...
= >
= > Yes, but I was hoping to see the whole page-- including the processes
= > actually running and how much CPU, memory, etc. they were using. Try it
= > again in a full screen window and give us the entire page of output.
= >
= > We do get _some_ information from what you provided: You have a lot of
= > processes running. Do you really need them all? The CPU is booked to
= > the max with user processes (user applications). But you do have enough
= > swap. Having more physical memory would help things run faster.
= > Normally a gig should be enough, but maybe you're running some
= > memory-heavy stuff.
= >
= > You could also make emacs run faster and smaller by byte-compiling
= > relevant *.el files.
= >
= >
= > hth,
= > ken
= >
= >
= > At 17:08 (UTC-0700) on Tue, 9 Dec 2003 Michelle Roderick said:
= >
= > = Is this what you wanted to see?
= > =
= > = load averages: 0.88, 0.35, 0.23
= > = 01:00:02
= > = 161 processes: 158 sleeping, 1 running, 1 stopped, 1 on cpu
= > = CPU states: 0.0% idle, 99.4% user, 0.6% kernel, 0.0% iowait, 0.0%
= swap
= > = Memory: 1024M real, 473M free, 479M swap in use, 6422M swap free
= > =
= > = <gebser@speakeasy.net> wrote in message
= > = news:mailman.1364.1070916279.399.help-gnu-emacs@gnu.org...
= > = >
= > = > I've used emacs for files much larger than 450k-- files up to several
= > = > megs-- and never had such a lock-up. Perhaps I wasn't ever using
= > = > font-lock with them, I'm not sure.
= > = >
= > = > If you're on a *nix box, do "top n 1" in a term when this happens and
= > = > paste it back to us.
= > = >
= > = > hth,
= > = > ken
= > = >
= > = > At 10:17 (UTC-0700) on Mon, 8 Dec 2003 Michelle Roderick said:
= > = >
= > = > = I am using emacs-21.2 in vip mode. I have a large file that I am
= > = working
= > = > = with (450Kbytes) and it occasionally suspends when I go into insert
= mode
= > = or
= > = > = if I do a line copy/paste. The suspension can last around 30
= minutes.
= > = I
= > = > = changed my buffer size to:
= > = > =
= > = > = (setq font-lock-maximum-size 524288)
= > = > =
= > = > = and it still locks up. Has anybody had this problem???
= > = > =
= > = > = Regards,
= > = > =
= > = > = Michelle
= > = > =
= > = > =
= > = > =
= > = > = _______________________________________________
= > = > = Help-gnu-emacs mailing list
= > = > = Help-gnu-emacs@gnu.org
= > = > = http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= > = > =
= > = >
= > = >
= > = >
= > =
= > =
= > = _______________________________________________
= > = Help-gnu-emacs mailing list
= > = Help-gnu-emacs@gnu.org
= > = http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= > =
= >
= >
= >
=
=
= _______________________________________________
= Help-gnu-emacs mailing list
= Help-gnu-emacs@gnu.org
= http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
=
next prev parent reply other threads:[~2003-12-11 2:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1457.1071025491.399.help-gnu-emacs@gnu.org>
2003-12-10 23:53 ` emacs suspension Michelle Roderick
2003-12-11 2:16 ` gebser [this message]
2003-12-08 17:17 Michelle Roderick
2003-12-08 19:42 ` gebser
[not found] ` <mailman.1364.1070916279.399.help-gnu-emacs@gnu.org>
2003-12-10 0:08 ` Michelle Roderick
2003-12-10 2:02 ` gebser
2003-12-10 3:12 ` Stefan Monnier
2003-12-10 17:47 ` Michelle Roderick
2003-12-11 14:56 ` Stefan Monnier
2003-12-11 18:30 ` Michelle Roderick
2003-12-12 0:53 ` Stefan Monnier
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=Pine.LNX.4.44.0312101919020.17914-100000@heidegger.mousecar.net \
--to=gebser@speakeasy.net \
/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.