- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Running @ wrong NICE level
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 04:34 AM
05-28-2003 04:34 AM
Running @ wrong NICE level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 04:44 AM
05-28-2003 04:44 AM
Re: Running @ wrong NICE level
But on a realistic system with some queries going on Oracle is not going to be happy.
This however is probably a problem with the scheduler, not the OS. I would check with the vendor for a bug fix or report the problem there.
There is a wonderful process scheduler that we use to stop oracle, back it up and turn it back on after cold backup.
Its called cron. We run the scripts with the su -c oracle "commandline" methodology. It works great. Certainly the price is right.
:-)
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 05:51 AM
05-29-2003 05:51 AM
Re: Running @ wrong NICE level
I agree that is VERY unlikely to be an OS problem.
The quickest way to tell is to use cron or even at from the command line.
This is pure OS and will elim the schduler.
Since we write scripts daily to cover repetative work, cron is a perferred tool here.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 05:59 AM
05-29-2003 05:59 AM
Re: Running @ wrong NICE level
The OS by itself does not do any renicing. All it can do is adjust the run queue priority.
The only ways a proc can get a nice of 39 is:
1) The shell that spawned it was @ 39 or at 35 & spawned it the background.
2) The PID owner reniced it.
3) root reniced it.
That's all. I'd bet heavily on #1.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2003 06:14 AM
05-29-2003 06:14 AM
Re: Running @ wrong NICE level
It's not a OS problem. Any process that is started in background will be defaulted to a high nice (low priority) value.
I do not believe that oracle does not like to be reniced.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 03:18 AM
05-30-2003 03:18 AM
Re: Running @ wrong NICE level
Note: We were running this in cron and it ran fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 05:19 AM
05-30-2003 05:19 AM
Re: Running @ wrong NICE level
By default ALL processes run @ a nice level of 20. Any process spawned in the background is assessed a nice penalty of 4 - so a normal process started in the background would have a value of 24. So if the shell running these procs has a nice of 39, then it had to be started @ 39 - EX:
nice -19 ksh
HTH,
Jeff