help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs suspension


From: gebser
Subject: Re: emacs suspension
Date: Wed, 10 Dec 2003 21:16:10 -0500 (EST)

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
= 
= <address@hidden> wrote in message
= news:address@hidden
= >
= > 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
= > =
= > = <address@hidden> wrote in message
= > = news:address@hidden
= > = >
= > = > 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
= > = > = address@hidden
= > = > = http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= > = > =
= > = >
= > = >
= > = >
= > =
= > =
= > = _______________________________________________
= > = Help-gnu-emacs mailing list
= > = address@hidden
= > = http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= > =
= >
= >
= >
= 
= 
= _______________________________________________
= Help-gnu-emacs mailing list
= address@hidden
= http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]