- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How LINUX OS picks the PID
Operating System - Linux
1752730
Members
5658
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО06-04-2009 03:13 AM
тАО06-04-2009 03:13 AM
RHEL AS
I happened to trace a Oracleprocess which is suppose to be terminating at a particular time. I am not sure if a new process can come up with same PID of an "old process"
I happened to trace a Oracleprocess which is suppose to be terminating at a particular time. I am not sure if a new process can come up with same PID of an "old process"
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 04:04 AM
тАО06-04-2009 04:04 AM
Re: How LINUX OS picks the PID
Shalom,
The OS maintains a table, and hands out PID sequentially.
It is very unlikely for the new process to pick up the same PID as the old.
SEP
The OS maintains a table, and hands out PID sequentially.
It is very unlikely for the new process to pick up the same PID as the old.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО06-04-2009 05:17 AM
тАО06-04-2009 05:17 AM
Solution
The pid assignment process wraps at 32767.
$ cat /proc/sys/kernel/pid_max
32768
Next time around, the kernel skips over any
pids that are still in use from the last round of assignment.
$ cat /proc/sys/kernel/pid_max
32768
Next time around, the kernel skips over any
pids that are still in use from the last round of assignment.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2009 03:14 AM
тАО06-06-2009 03:14 AM
Re: How LINUX OS picks the PID
Your HP-UX thread on this issue:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1345148
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1345148
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP