- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kernel parameter effective_maxpid
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
05-25-2005 02:21 AM
05-25-2005 02:21 AM
kernel parameter effective_maxpid
How can i limit PID number? I have a rp3440 + 11i (HP-UX 11.11)? There is a define MAXPID on /usr/include/sys/param.h which limit Maximmum PID in 8 millions, but there is another kernel parameter which does it too!!
How can it works?
** HP-UX 11.00 this limit is 30.000!!
thanks
STH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 02:37 AM
05-25-2005 02:37 AM
Re: kernel parameter effective_maxpid
kmtune -s effective_maxpid=
Process for manually building and installing a kernel:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105739
sam kernel, configurable parameters will also do this btw.
Frankly I am wondering about that header file.
Maybe you should change it.
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-2005 03:11 AM
05-25-2005 03:11 AM
Re: kernel parameter effective_maxpid
I´m not complete sure, but I see process with PID great than 30.000, and my kernel parameter configurated as 30.000, look at this:
[root@fenix shora]# kmtune -q effective_maxpid
Parameter Current Dyn Planned Module Version
===============================================================================
effective_maxpid - - ((NPROC<=30000)?30000:(NPROC*5/4))
How can it be possible?
thanks
ST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 03:24 AM
05-25-2005 03:24 AM
Re: kernel parameter effective_maxpid
What is the value of nproc?
Consider the case of a machine that had a very large nproc. 30000 could be less than nproc so that no pid's might be available.
If you don't fall into this category, simply replace the formula with a hard-coded value of 30000 and build a new kernel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 03:37 AM
05-25-2005 03:37 AM
Re: kernel parameter effective_maxpid
nproc = 2.500 and effective_maxpid = 30.000.
But i can see process with PID great than 30.000. how can it be possible?
[]´s
S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 03:48 AM
05-25-2005 03:48 AM
Re: kernel parameter effective_maxpid
echo "effective_maxpid/D" | adb /stand/vmunix /dev/kmem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 04:11 AM
05-25-2005 04:11 AM
Re: kernel parameter effective_maxpid
This formula:
((NPROC<=30000)?30000:(NPROC*5/4))
means that if the NPROC is <= 30000 then make it 30000.
If we fail the test of (NPROC<=30000), i.e. NPROC is > 30000, then the value is set to NPROC * 1.25.
So you would have to change the formula or assign a value to effective_maxpid.
This doesnt mean that its a good idea to do so.
Best regards,
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 05:23 AM
05-25-2005 05:23 AM
Re: kernel parameter effective_maxpid
effective_maxpid:
effective_maxpid: 30000