- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle spinning in tight loop
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
тАО05-17-2001 03:34 AM
тАО05-17-2001 03:34 AM
Oracle spinning in tight loop
My setup is:
HPUX-10.20
Oracle 7.3.2
I have a server process that connects to Oracle, forks children that connect to Oracle and then sits in a select waiting for children to die. The children do all the work in the database. Once a day the parent gets into a situation where it consumes 100% of the CPU. I noticed that it has received 72 million signals.
Does anyone know if there is a bug in HPUX and or Oracle that would cause a process to get this many signals and consume that much CPU.
Thank you
Marc Bohnert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2001 03:44 AM
тАО05-17-2001 03:44 AM
Re: Oracle spinning in tight loop
I need to know more to answer you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2001 04:01 AM
тАО05-17-2001 04:01 AM
Re: Oracle spinning in tight loop
DO you work with Oracle Applications ?
Check fur TWO_TASK parameter in the environment abd disable it.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2001 04:05 AM
тАО05-17-2001 04:05 AM
Re: Oracle spinning in tight loop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2001 01:19 AM
тАО05-18-2001 01:19 AM
Re: Oracle spinning in tight loop
What do you mean by the parent process sitting in a select? What is it selecting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2001 01:41 AM
тАО05-18-2001 01:41 AM
Re: Oracle spinning in tight loop
Hi Marc,
What is the timeout setting for the select call? I presume the "select" must be enclosed by a loop, and, if the "select" call was not blocked then the loop iteration may cause your CPU to reach 100% utilization.
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2001 01:56 AM
тАО05-18-2001 01:56 AM
Re: Oracle spinning in tight loop
My wild guess is that the 72 million signals were causing the select call to return immediately, therefore the loop contained the select became an unblocked loop instead, that WILL draw the CPU to peak for sure.
Perhaps you should find out where the hell these 72 million signals came from, then stop them.
Rgds,
Philip