From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@speakeasy.net Newsgroups: gmane.emacs.help Subject: Re: emacs suspension Date: Wed, 10 Dec 2003 21:16:10 -0500 (EST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: gebser@speakeasy.net NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1071109054 4025 80.91.224.253 (11 Dec 2003 02:17:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2003 02:17:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 03:17:29 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AUGOO-0004Iz-00 for ; Thu, 11 Dec 2003 03:17:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AUHLM-00063B-TN for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Dec 2003 22:18:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AUHL9-00062y-Va for help-gnu-emacs@gnu.org; Wed, 10 Dec 2003 22:18:11 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AUHKd-0005hH-Gz for help-gnu-emacs@gnu.org; Wed, 10 Dec 2003 22:18:10 -0500 Original-Received: from [216.254.0.201] (helo=mail1.speakeasy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AUHKd-0005dO-23 for help-gnu-emacs@gnu.org; Wed, 10 Dec 2003 22:17:39 -0500 Original-Received: (qmail 21835 invoked from network); 11 Dec 2003 02:16:11 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO heidegger.mousecar.net) ([66.93.11.17]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 11 Dec 2003 02:16:11 -0000 Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15147 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15147 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 = = 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 = > = = > = 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 =