- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- exceeding kernel max limit
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
10-21-2004 01:43 PM
10-21-2004 01:43 PM
exceeding kernel max limit
I think I've a rather silly question to ask. I've taken over a system which the previous administrator has configure some of the kernel parms that exceeded the max limit. Eg. nkthread = 57395, max_thread_proc =32768. The max_thread_proc max is 30,000. My question is what will the kernel parms for max_thread_proc be since it has exceeded it's limit?
Cheers
Lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 02:46 PM
10-21-2004 02:46 PM
Re: exceeding kernel max limit
The answer is it depends. If you have some formula link between the two parameters, then it will be calculated when you change the parameter that the other is dependent on.
In a running system, you don't exceed paramters. If max_thread_proc=200 amd some process wants to go to 201, it fails and gets an error.
To check your formulas you can run the kmtune command or use sam kernel configurable parameters to see the formula relationships.
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
10-21-2004 03:00 PM
10-21-2004 03:00 PM
Re: exceeding kernel max limit
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 03:07 PM
10-21-2004 03:07 PM
Re: exceeding kernel max limit
The max_thread_proc wasn't specified with a formula. I think the ex-administrator key in the value. I've a HP-UX kernel parms document that says the max value for max_thread_proc is 30000. Since this guy has put it exceedingly big, I'm kind of curious what the value will be in the kernel table, 30000 ?, 32768? or default 64?
Bill, U r right, I doubt I need 32768 for max_thread. I'm runing Iplanet, so far I observe the ns-httpd create abt 90-100 threads. But it is giving me "oserr=233, insufficient resources" problems.
U guys think 200-500 be a good figure ?
Cheers
Lai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 05:12 PM
10-21-2004 05:12 PM
Re: exceeding kernel max limit
Answer to your question can only be answered by the vendor or the developer of the application. I believe the default value of 256 should be sufficient in most of the cases.
nkthread can be anything particularly if your 'nproc' usage is high. You can set it to a formula like nproc*3 to be on safer side. If you see messages like "kthread table full", then you would need to increase the parameter.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2004 11:29 PM
10-21-2004 11:29 PM
Re: exceeding kernel max limit
from /usr/include/sys/errno.h:
define ENOBUFS 233 /* No buffer space available */
from man 2 errno:
[ENOBUFS] No buffer space available. An operation on a socket was not performed because the system lacked sufficient buffer space.
This description won't help you very much because it is very likely a transient condition in the kernel (adding more RAM will not help). It is a networking condition, possibly associated with an accept() call. Proper programming technique would dictate a retry on the connection. Contact your application vendor for a patch.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2004 12:43 PM
10-24-2004 12:43 PM
Re: exceeding kernel max limit
Anyway, Thanks.
Lai