- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TNS-00510: Internal limit restriction exceeded...
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-25-2009 04:34 AM
тАО05-25-2009 04:34 AM
Can any one advice me "which kernal parameter" needs to be changed.? bit confused becoz some forum says you can increase "nfile" some says "too many open files you should only increase "maxfile" & maxfile_lim" which should i increase..?
nfile ?
maxfile?
maxfile_lim?
Current Kernal values:-
=====================
/ > kmtune |grep nfile
nfile 3329 - (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))
/ > kmtune |grep maxfile
maxfiles 60 - 60
maxfiles_lim 1024 Y 1024
model:- N4000 , OS HPUX 11.11
Thanks,
Johnson
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 04:39 AM
тАО05-25-2009 04:39 AM
SolutionYes to all the above.
I believe in taking the forumulas out of a lot of these parametrs.
Also, take a look at maxuprc, the maximum number of files for one user. I'd bump that up to 200 at least. The default is 75.
You should increase these parameters and monitor use to preemptively increase them before they run low.
Oracle does have a guide for minimum kernel parameters for HP-UX on the metalink website.
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-25-2009 04:47 AM
тАО05-25-2009 04:47 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
so can you advice me what can be new kernal values for ?
nfile ?
maxfile?
maxfile_lim?
or you want me to bump "maxurpc" to 200
my current valuve for "maxurpc" is 150
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 04:50 AM
тАО05-25-2009 04:50 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
Ok. It depends whice user or process produce the error. First brief about these kernel parameters.
nfile=> maximum number of open files (system-wide)
Note: It is a system wide parameters.
maxfiles=>initial (soft) maximum number of file descriptors per process
Note:It is a initial limit. means still process can extend. upto what limit can extend? it is controlled by maxfiles_lim
maxfiles_lim=>hard maximum number of file descriptors per process
Now you can come to a conclusion which parameter you can increase.
If you are getting the error when you start a particular process, you should increase maxfiles or even maxfiles_lim if necessary.
If the system gives the error, frequently irrespective of process, means system is reaching the system wide hard limit, then you should consider to increase nfiles.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 04:52 AM
тАО05-25-2009 04:52 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
Forgot to add one more thing. You should consider to set the file descriptors value to unlimited for specific users through ulimit command if only particular user is receiving the error.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 05:01 AM
тАО05-25-2009 05:01 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
Many thanks for your explanation.
>>If the system gives the error, frequently irrespective of process, means system is reaching the system wide hard limit, then you should consider to increase nfiles.<<
Consideration of the above comment , can you recommend how can increase nfile.?
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 05:02 AM
тАО05-25-2009 05:02 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
>maxfiles_lim 1024 Y 1024
These are too small. Try 1024 and 2048.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 05:16 AM
тАО05-25-2009 05:16 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
how about nfile? value, can also advice for me ..:)
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 05:30 AM
тАО05-25-2009 05:30 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
What is your current value?
What is: (16*(NPROC+16+MAXUSERS)/10+32+2*(NPTY+NSTRPTY+NSTRTEL))
As SEP said, just put a number there. Try 16000.
Note: Typically you get "table is full" logged in syslog.log if your nfile is too small.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2009 05:58 AM
тАО05-25-2009 05:58 AM
Re: TNS-00510: Internal limit restriction exceeded HPUX Error: 24: Too many open files
>>>
can you recommend how can increase nfile.?
<<<
Since nfile depends on other parameters, you are getting that formula in kmtune output. Means changing the other dependency parameter will also change the nfile value.
If you need to increase nfile value straight away, goto SAM->Kernel Configuration -> Configurable Parameters->select nfile->Actions->Modify Configurable Parameter->here you will have this field
Formula/Value:
You can specify the new value in the above field. Note that nfile is static and needs kernel rebuilt.
Ganesh.