GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process having parent PID 0
Operating System - HP-UX
1847482
Members
4239
Online
110265
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
Forums
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
08-15-2008 07:58 AM
08-15-2008 07:58 AM
Process having parent PID 0
I am debugging a multithreaded application that is doing a lot of file handling (stat, reading, writing, decompressing etc.) that only reaches about 10% efficiency. It seems to run smoothly for a few seconds then enters a period of half a minute or more when it seems to be doing nothing. tusc reports
080814 11:07:19 {10083} clock_gettime(CLOCK_REALTIME, 0x77f3c3fc) ....................... = 0
080814 11:07:19 {10083} clock_gettime(CLOCK_REALTIME, 0x77f3c490) ....................... = 0
080814 11:07:20 {10083} ksleep(PTH_CONDVAR_OBJECT, 0x5e0128, 0x5e0130, 0x77f3c3fc) ...... = -ETIMEDOUT
for all the threads during the periods when nothing happens. We are suspecting problems in NFS or the underlying hierarchical storage management system that is used.
Another observation is that the application (myapp) appears as two instances in ps output:
# ps -ef | grep -i "myapp"
ownr 12078 0 0 09:15:20 ? 0:00 myapp
ownr 11527 1 0 08:53:26 ? 0:04 myapp
root 12080 8023 0 09:17:04 pts/tb 0:00 grep -i myapp
One of the processes is owned by PID 1, the other by PID 0. What does this mean? Does this indicate anything about my problem?
080814 11:07:19 {10083} clock_gettime(CLOCK_REALTIME, 0x77f3c3fc) ....................... = 0
080814 11:07:19 {10083} clock_gettime(CLOCK_REALTIME, 0x77f3c490) ....................... = 0
080814 11:07:20 {10083} ksleep(PTH_CONDVAR_OBJECT, 0x5e0128, 0x5e0130, 0x77f3c3fc) ...... = -ETIMEDOUT
for all the threads during the periods when nothing happens. We are suspecting problems in NFS or the underlying hierarchical storage management system that is used.
Another observation is that the application (myapp) appears as two instances in ps output:
# ps -ef | grep -i "myapp"
ownr 12078 0 0 09:15:20 ? 0:00 myapp
ownr 11527 1 0 08:53:26 ? 0:04 myapp
root 12080 8023 0 09:17:04 pts/tb 0:00 grep -i myapp
One of the processes is owned by PID 1, the other by PID 0. What does this mean? Does this indicate anything about my problem?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2008 08:54 AM
08-15-2008 08:54 AM
Re: Process having parent PID 0
Hi Krister
Some time those process goes to RWAIT (Resourse wait state) or MWAIT state. Then those process has PID 0.
and the PID 1 is init process. that is happened when the poor or bad program.
Some time those process goes to RWAIT (Resourse wait state) or MWAIT state. Then those process has PID 0.
and the PID 1 is init process. that is happened when the poor or bad program.
a warrior never quits
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.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP