Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!ames!amdcad!amd!intelca!mipos3!cpocd2!nate From: nate@cpocd2.UUCP (Nate Hess) Newsgroups: comp.emacs,comp.unix.wizards Subject: Re: Emacs process niced after awhile Message-ID: <757@cpocd2.UUCP> Date: Fri, 26-Jun-87 01:44:47 EDT Article-I.D.: cpocd2.757 Posted: Fri Jun 26 01:44:47 1987 Date-Received: Sat, 27-Jun-87 09:47:55 EDT References: <1257@wanginst.EDU> Reply-To: nate@cpocd2.UUCP (Nate Hess) Organization: Intel Corp., ASIC Services Operation, Chandler AZ. Lines: 39 Xref: mnetor comp.emacs:1270 comp.unix.wizards:2974 In article <1257@wanginst.EDU> ardis@wanginst.EDU (Mark A. Ardis) writes: > >Problem: > >After running Gnuemacs for awhile, my process gets "nice"ed. Response >is pretty bad once this happens. The threshold seems to be around 12 >minutes of CPU. We are running Ultrix 1.2 on a VAX 785. > >Questions: > >1. Is there a magic threshold, after which a process automatically > gets "nice"ed? > Auto-nicing can occur anytime after a process has racked up 10 minutes of CPU time. >2. Is there a way to prevent this behavior for "special" processes? > (I.e., can Ultrix be told not to "nice" certain programs?) > GNU Emacs can be compiled so as to run with a negative nice (-1, say). Look at the bottom of "config.h". This only works if the Emacs executable is setuid root. >3. Are there any alternatives to killing and restarting the process? One way of "cheating" the autonicing is to manually nice the emacs to +1 before it acquires 10 minutes of CPU time. Ultrix will see that the process has a nice factor, and not autonice it to +4 like it usually would. Hope this helps, --Nate -- "How did you get your mind to tilt like your hat?" ...!{decwrl|hplabs!oliveb|pur-ee|qantel|amd}!intelca!mipos3!cpocd2!nate : nate@cpocd2.intel.com ATT : (602) 961-2037