- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: number of open files increasing
Operating System - HP-UX
1753518
Members
5084
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО03-06-2001 10:21 AM
тАО03-06-2001 10:21 AM
We are running an Oracle 7.3.4 server under hpux 10.2 . The number of open files on the system has been increasing over time. I increased the nfile kernel parameter back in june from ~9600 to 11600. We recently are reaching this limit. My impression is that Oracle is opening files and not closing them - since we may have 300-500 procs and only 100 datafiles (which would not all be open by a given process). I don't believe that these open files are in use by active procs. I have been told that we open oracle cursors but don't worry about closing them. Could this be causing the problem? Is there any way to keep this problem from getting worse? Any insight would be appreciated.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2001 10:34 AM
тАО03-06-2001 10:34 AM
Re: number of open files increasing
Well there isn't enough info here to say you, in fact, have a problem. It may simply be that folks are doing more, or simply not closing out as timely as they should. Increasing the nfile (I generally increase maxusers and let the formula increase nfile & nproc) may be appropriate.
But you'll have to monitor to be sure...
I found some info about Oracle cursors that may help, it had to do with a Visual Basic rdo question, but seemed appropriate for your situation:
"..Oracle opens cursors internally, and they are defined as follows:
A cursor is a synonym for context area - a work area in memory where Oracle stores the current SQL statement. For a query, the area in memory also includes column headings and one row retrieved by the Select Statement.
CAUSE
Oracle provides an API to get the stored procedure information. This API is called, in the case of a stored procedure execution, to get the parameter information. The API generates two additional cursors, which are not released until the logoff request happens. These cursors do not increase when you attempt multiple executions..."
So those Oracle cursors don't look to be an issue.
/rcw
But you'll have to monitor to be sure...
I found some info about Oracle cursors that may help, it had to do with a Visual Basic rdo question, but seemed appropriate for your situation:
"..Oracle opens cursors internally, and they are defined as follows:
A cursor is a synonym for context area - a work area in memory where Oracle stores the current SQL statement. For a query, the area in memory also includes column headings and one row retrieved by the Select Statement.
CAUSE
Oracle provides an API to get the stored procedure information. This API is called, in the case of a stored procedure execution, to get the parameter information. The API generates two additional cursors, which are not released until the logoff request happens. These cursors do not increase when you attempt multiple executions..."
So those Oracle cursors don't look to be an issue.
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2001 10:39 AM
тАО03-06-2001 10:39 AM
Re: number of open files increasing
Hi Dave:
It's very possible that you have a large number or orphan processes consuming resources.
Take a look at some of the suggestions in this thread:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6f717e990647d4118fee0090279cd0f9,00.html
...JRF...
It's very possible that you have a large number or orphan processes consuming resources.
Take a look at some of the suggestions in this thread:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6f717e990647d4118fee0090279cd0f9,00.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 01:08 AM
тАО03-07-2001 01:08 AM
Solution
The problem ( no problem) is exactly you have 100 datafiles.
Oracle process can read from shared memory ( db_block_buffers) and also from datafiles directly.
When the number of datafiles is high, each process can/need to open more datafiles, so then number of open files increases.
You can check it using glance or gpm , select a oracle process for one user and see open files.
Oracle process can read from shared memory ( db_block_buffers) and also from datafiles directly.
When the number of datafiles is high, each process can/need to open more datafiles, so then number of open files increases.
You can check it using glance or gpm , select a oracle process for one user and see open files.
unsupported
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP