- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- parent hangs when child exits
Operating System - HP-UX
1753774
Members
6963
Online
108799
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
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
тАО10-19-2000 10:29 AM
тАО10-19-2000 10:29 AM
parent hangs when child exits
I am working with an application which forks off children in the background to try and establish a network connection (over X.25). We are running into a situation where *only sometimes* when the child exits, the parent hangs. Sometimes its after SIGCHLD has been caught by the parent, sometimes its before, and in all cases SIGCHLD is being processed if and when it is caught. 'ps' shows that the child did indeed exit, and the parent is still there, and is owned by its respective parent, not init or anything like that.
Has anyone experienced this before, or does anyone know which utilities would be good to use to try and see exactly what the state of the parent is when it appears to be hanging?
Has anyone experienced this before, or does anyone know which utilities would be good to use to try and see exactly what the state of the parent is when it appears to be hanging?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 10:38 AM
тАО10-19-2000 10:38 AM
Re: parent hangs when child exits
Jim,
It almost sounds like the child is providing a service the parent requires.
It does not sound like a shell problem.
Thats my two cents.
Good Luck!
It almost sounds like the child is providing a service the parent requires.
It does not sound like a shell problem.
Thats my two cents.
Good Luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2000 06:48 AM
тАО10-22-2000 06:48 AM
Re: parent hangs when child exits
Jim,
Can you attach to the process (using gdb or dde)?
or can you run tusc on the process ?
Can you kill the process ?
One thing I have found and happens
to me sometimes.
whats the priority of the process
(ps -l ).
If the priority is less than 154, then the process is
in an unrecovrable kernel state and you
cant do much about it.
Good luck.
Can you attach to the process (using gdb or dde)?
or can you run tusc on the process ?
Can you kill the process ?
One thing I have found and happens
to me sometimes.
whats the priority of the process
(ps -l ).
If the priority is less than 154, then the process is
in an unrecovrable kernel state and you
cant do much about it.
Good luck.
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