- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Process won't die on shutdown
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
10-13-2004 02:38 AM
10-13-2004 02:38 AM
As the system was shutting down he got the warning "CAUTION: some process(es) wouldn't die" and "12345 not killed". 12345 was the PID of the runaway process.
So far there's nothing out of the ordinary. Here's the strange part. He claims that after he cycled power and brought the system back up, the same process, with the same PID number was again running away. I think that either 1) he misread the PID numbers or 2) the matching PID number was a coincidence. I know that's a long shot but if the process starts early enough in the boot cycle, it could get the same PID upon bootup.
Is there something I'm missing here. Is there any way that HP-UX doesn't clear its process table on shutdown/reboot and would retain an entry from a previous run? I thought the system started with a clean process table on every boot.
Mike D'.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 02:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 02:44 AM
10-13-2004 02:44 AM
Re: Process won't die on shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 02:46 AM
10-13-2004 02:46 AM
Re: Process won't die on shutdown
If the process in question was trying to access a device that is unavailable (ie. dead, hardware failed, etc.) then it is true that it would not be able to be killed, but there is NO WAY the process would still be there after a reboot.
If the process you are talking about is started when the system boots, the it is very possible that it would get the same PID after each boot. And if there is a harware problem then it is possible that it could appear as if that process were still there, when in reality it is a brand new incarnation of that process, just with the same PID and the same problem.
HP-UX ALWAYS starts with a clean process table when the system boots. There is absolutely no way that I know of that it can have any processes left over after a boot.
It sounds as if you need to look deeper into the problem and see what types of hardware issues you may have that are causing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 02:48 AM
10-13-2004 02:48 AM
Re: Process won't die on shutdown
Well, it will/may come back to life if:
a) It starts out of /etc/inittab
b) It starts from an rcX script
c) It's an on-demand process from /etc/inetd.conf & it's being called.
d) It's started from a user's .profile or .login script
I'd start looking at these to find out just where it comes to life from.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 11:56 AM
10-13-2004 11:56 AM
Re: Process won't die on shutdown
It is possible (though unlikely) that the PID could have been read from mpid - but for that to happen the process you are talking about would have had to have been the last process started before the reboot and the first to be re-started after the reboot (after init and a couple of others). Thats a *very* long shot.
Personally I think he mis-read it. ;-)
Col
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 08:32 PM
10-13-2004 08:32 PM
Re: Process won't die on shutdown
The process definitely died ... UNIX zombies is not Night of the Zombies Zombies :P
JUst to clarify it though. When the machine boots the process numbering starts from scratch. So if nothing was installed(that loads before it) between this boot and the next and the process autostarts on boot, and that process was never killed of before. The odds is rather good it can have the same PID ... because it loads in the same sequence.
HTH
Regards
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 01:26 AM
10-14-2004 01:26 AM
Re: Process won't die on shutdown
Gerhard,
That crack about zombies was my lame attempt at a joke.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2004 01:28 AM
10-14-2004 01:28 AM