- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Automatically killing looping _orasrv process
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
Discussions
Discussions
Forums
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
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
тАО09-10-2008 01:57 AM
тАО09-10-2008 01:57 AM
Have a PHB who wants me to write a script to automatically kill off a "_orasrv" process which has utilised more than [X]% CPU, as its "obviously looping" at that point.
Any idea how I can convince him otherwise without the use of firearms? Has anyone ever effectively monitored oracle server process for loop conditions?
Share and Enjoy! Ian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 07:14 AM
тАО09-10-2008 07:14 AM
Solutionasking how to tell the difference between a
process using X% of the CPU productively,
and a process wasting X% of the CPU. It's
hard to automate a procedure which can't be
defined.
A debugger might let you trace the program
execution, but how to distinguish a useful
loop from a useless loop might still be
difficult.
Or, you could just write a procedure to look
at, say, "top" output, and whack the thing
when it gets high. Then wait for the
complaints to roll in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 08:20 AM
тАО09-10-2008 08:20 AM
Re: Automatically killing looping _orasrv process
It is impossible to determine that Oracle is in an endless loop without Oracle debug tools.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 10:01 AM
тАО09-10-2008 10:01 AM
Re: Automatically killing looping _orasrv process
1) get it in writing
2) respond that this is a bad idea, for all the reasons noted. copy dba (if other than PHB)
if forced:
3) implement, preferably kill -9
4) arrange to go on vacation...
watch the fun insue.
BTW: I really don't recommend the above, but....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 10:09 AM
тАО09-10-2008 10:09 AM
Re: Automatically killing looping _orasrv process
For your sake, if you are forced into a 'kill', do so with increasing prejudice. Begin with a 'kill -hup'; escalate to a 'kill -term' [the default]; and only as a *last* restort, use 'kill -9'. You certainly don't want orphaned shared memory segments lingering around because you didn't give your process a chance to cleanup.
This all aside, Bill's comments are very germane.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2008 11:41 PM
тАО09-10-2008 11:41 PM
Re: Automatically killing looping _orasrv process
Share and enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2008 07:16 AM
тАО09-11-2008 07:16 AM