- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- nfile , Oracle and SAP
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
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
01-06-2006 10:01 PM
01-06-2006 10:01 PM
We have RP 8400 which runs the Oracle 9.2.0.4 database for our SAP R3 enterprise system.
Last month we had a problem when the current open files hit the limit and Oracle crashed.
The current setting of nfile is 125000. I initially felt this value was too high and I should not increase it. the Db currently has 1274 data files. this value is fast increasing - around 20 per month. We intend to stabilise this value. In the meantime sar reports the current open file descriptors as dangerously close to the limit. the value hovers around the 119000 mark and sometimes crosses 124000.
How high can I set the nfile value to ?
What is thee relation to memory ?
regards,
Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 10:28 PM
01-06-2006 10:28 PM
Re: nfile , Oracle and SAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2006 01:16 AM
01-07-2006 01:16 AM
Re: nfile , Oracle and SAP
How big/small are they?
Are you limiting them to 2GB per chance?
What is stopping you from going towards say 20GB files reducing the number of files by afactor of 10.
fwiw... When I ran large SAP benchmarks with a Terabyte database I would still only 50 files or so.
On the connection side... how many application servers and how many sap dialogue/update servers on each?
Some setups, in a misplaced effort to speed up the application have over allocated.server processes leaving many idle, but with active connections.
My toool there is a simple ps -ef | grep sap | sort -k 4 -R
to see the sap servers by decending cpu time. Those servers getting less than 10% of the cpu time of the top server should possibly be removed.
And even if they are not idle, but all almost equally busy, then too many application server processes only serve to pushe down the contention to the DB box where potentially it would be more efficiently resolved at the app server level through the dispatcher there.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2006 11:29 AM
01-07-2006 11:29 AM
SolutionLike any production server, downtime is a problem so do NOT increase nfile to 126,000. Change it to 200,000 and then begin analyzing all the processes that are running. You can set nfile to 500,000 or even a million. I have seen systems that run just fine with nfile = 1,500,000 (that's 1.5 million). There's nothing wrong with setting nfile extremely high if the system requires it. You can't afford to have Oracle crash so make sure there's more than enough file descriptors available at all times.
Do not try to "stabilize" the value--the apps and database programs currently require the high value to run. Instead, use Glance and Measureware to track all the processes and see where the growth is rfeally occurring. Then get the developers to redesign the code. It ios certainly possible that if the quantity of Oracle files increases by 20, then middleware code may open all of these new files. If the middleware code runs once for each login, then 200 users will need nfile increased by 4000 (20 new files x 200 user processes).
You may also have dead programs or dead socket connections that are consuming extra file descriptors.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 02:47 PM
03-06-2006 02:47 PM