- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Maximum number for PID?
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
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
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
тАО12-06-2006 07:15 AM
тАО12-06-2006 07:15 AM
Is there a way to set a maximum limit for a PID on Tru64 5.1B? For example, if I wanted to keep PIDs to fewer than 6 digits, could I set a limit to 99999 somehow? The server is an Oracle data warehouse that rarely runs over a couple hundred individual processes. Third party software requires fewer than 6 digits in the PID. If it is possible, would it cause any problems to do that?
Thank you,
Tim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 07:31 AM
тАО12-06-2006 07:31 AM
Re: Maximum number for PID?
I think you can lookinto the variable PID_MAX defined in /usr/include/limits.h:
#define PID_MAX INT_MAX
and INT_MAX defined in /usr/include/machine/machlimits.h
Thanks
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 07:42 AM
тАО12-06-2006 07:42 AM
Re: Maximum number for PID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 12:12 AM
тАО12-07-2006 12:12 AM
Re: Maximum number for PID?
The values in limits.h are compiled into the kernel binary .mod files. Rebuilding the kernel is a relink, not a recompile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 02:34 AM
тАО12-07-2006 02:34 AM
Re: Maximum number for PID?
Yes, you will have to compile and you can try rebooting system.
Thanks
Archunan
Archie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 05:24 AM
тАО12-07-2006 05:24 AM
Re: Maximum number for PID?
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2006 08:40 AM
тАО12-07-2006 08:40 AM
SolutionBut even if you could recompile the kernel, PID_MAX is only information for application builders, not how the kernel limit is set.
A non-cluster tru64 system limits the pid to a max value of 524287. In a cluster, the pids begin at 524288 (member1 pid 0) and jump by 524288 * member_ID. There is no way to configure Tru64 to limit these numbers.
You need a corrected application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 01:09 AM
тАО12-08-2006 01:09 AM
Re: Maximum number for PID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2006 01:09 AM
тАО12-08-2006 01:09 AM