From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078618110653.tru64-unix-managers.marc@archive.invalid> From: "Jenkins, Gary C." Date: Fri, 24 Oct 1997 21:45:17 +0000 To: tru64-unix-managers Subject: SUMMARY: Oracle is being nice(d) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078618110653 There are two areas to look at: 1) The kernel config and the /etc/sysconfigtab file. There is a kernel option called "autonice" (off by default) which will cause any process that uses more than 600 seconds of CPU time (by default) to be "nice"d by the autonice-penalty. It is easiest to see the current values of these parameters by running "dxkerneltuner" and looking in the "proc" section. You can set the values to what you need them to be and then reboot for those changes to take effect. You may also turn on automatic nicing by adding the line option AUTONICE to the kernel configuration file under /sys/conf. We had not changed the default values and so this was not the problem for us. 2) The second area which does not depend upon the first is the /var/adm/cron/queuedefs file This file sets parameters for jobs run by at, batch or cron and background (sh, ksh, csh) jobs. This includes the nice value amoung other things. This is what the problem was for us. By making changes to the nice values, we were able to set things as we wanted. Thanks to: Mike Iglesias iglesias@draco.acs.uci.edu (You hit it exactly.) Tom Webster webster@ssdpdc.lgb.cal.boeing.com Richard L Jackson Jr rjackson@portal.gmu.edu >---------- >From: george@esa.nascom.nasa.gov[SMTP:george@esa.nascom.nasa.gov] >Sent: Friday, 24 October, 1997 12:32 >To: Jenkins, Gary C. >Subject: Re: Oracle is being nice(d) > >Hi, have you received any responses to your questions? >If yes could you pls fwd them to me? > > >Thanks > >==================================== >George Dimitoglou (SAC) > >SOHO ESA/NASA Project Scientist Team >NASA/Goddard Space Flight Center >Bldg. 26, G-1, Code 682.3 >Greenbelt, MD 20771 >george@esa.nascom.nasa.gov >==================================== > >> From gcjenkins@escocorp.com Mon Oct 13 15:42:34 1997 >> Date: Mon, 13 Oct 1997 12:09:28 -0700 >> From: "Jenkins, Gary C." >> Subject: Oracle is being nice(d) >> To: "'alpha-osf-managers@ornl.gov'" >> MIME-version: 1.0 >> Content-transfer-encoding: 7bit >> >> >> We are running Oracle RDBMS 7.3.3.3 on DUNIX 4.0b (Patch Level #2). >> Last week everything was running as expected with all Oracle processes >> running at normal user levels. Over the weekend, the database was >> shutdown and a cold backup taken. The database was then restarted and >> now all the Oracle processes are running with a nice level of 2. There >> are two questions here: >> >> 1) Is this a problem? Our lead Oracle DBA states that ALL Oracle >> processes need to be >> run at the same process priority to prevent lockup problems. He >> also states that >> Oracle says NO Oracle processes should be "nice"d. Has anyone seen >> this problem >> and, if so, what was done to resolve it, if anything? >> >> 2) The last part of the question in part one is critical. What causes >> this to happen if nothing >> has changed as far as Oracle patches, systems patches, application >> patches, etc. other >> than the database being brought down and then restarted? Is there >> something in DUNIX >> that "autonice"s processes? >> >> All thoughts and comments are appreciated. >> >> TIA, >> >> Gary C. Jenkins >> Computer Operations Manager >> ESCO Corporation >> 503-778-6839 (V) >> 503-778-6754 (F) >> gcjenkins@escocorp.com >> http://www.escocorp.com >> >