- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- KILL doesnt works
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-31-2004 03:30 AM
10-31-2004 03:30 AM
KILL doesnt works
I am having HP-UX Itanium running HP-UX 11.23
When I try to kill some process it doesnt
do so, so I do a kill of parnet process
it changes the parent process ID to "1"
but still after that when i try to kill the
process it doesnt work at all...
Thank,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 04:15 AM
10-31-2004 04:15 AM
Re: KILL doesnt works
If that does not work, your only alternative is to boot the server.
SEP
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
10-31-2004 04:16 AM
10-31-2004 04:16 AM
Re: KILL doesnt works
If did not. Try to use kill -9
Have you try the ipcrm command (remove message queue)?
Sometime, kill doesn't work but ipcrm works!
Hope this helps,
Jimkery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 07:29 AM
10-31-2004 07:29 AM
Re: KILL doesnt works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 03:21 PM
10-31-2004 03:21 PM
Re: KILL doesnt works
I always used -9 option but the informix
daemon never responds.
Stephen I 've never seen kill fail on
solaris, may be its a bug with HP-UX
itaniums.
Thanks,
Amit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 03:51 PM
10-31-2004 03:51 PM
Re: KILL doesnt works
It is not a bug but as clay suggested process may be waiting for high priority I/O. Like for e.g. "tar tvf
-9 in kill command send SIGKILL signal to the process and it depends on process whether to accepts it or not depending on the priority of job it is doing. Now if -9 is not working for you then you can't kill the process in any way. The only option is to reboot the server.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 04:52 PM
10-31-2004 04:52 PM
Re: KILL doesnt works
Can you provide us the exact details about which process and in what situation u r trying to kill so that we can discuss about any workarounds as well.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 05:03 PM
10-31-2004 05:03 PM
Re: KILL doesnt works
Usually it is informix, when we do some
load test on the DB it gets hang and when
we try kill this informix daemon it
doesnt' goes off.
Then reboot solve the purpose but its very
risk as there is change of filesystem
failure.
Thanks,
Amit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 05:48 PM
10-31-2004 05:48 PM
Re: KILL doesnt works
I am not an DB expert but whether shutting down of database and then bringing it up again solves the problem. This won't require system reboot.
Also then there is need to lookout for DB log files to see where exactly your load test goes into problem and what is that it is waiting for to happen. You have to also check the kernel parameters which really has impact on Informix database behavior.
Hope that helps,.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 07:11 PM
10-31-2004 07:11 PM
Re: KILL doesnt works
I give kill when I am unable to shutdown
the DB.
Thanks,
Amit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 07:47 PM - last edited on 07-07-2022 04:11 AM by Sunitha_Mod
10-31-2004 07:47 PM - last edited on 07-07-2022 04:11 AM by Sunitha_Mod
Re: KILL doesnt works
Amit,
As already pointed out, a PID that won't die is generally one that is active in a system call - that 9 times out of 10 means the process is hung on IO. I would start by looking at your underlying storage infrastructure - are your seeing errors in syslog pertaining to disks?, does STM report any disk problems? Of course it *could* be an OS problem - stops responding like this aren't completely unheard of on any UNIX OS, but you need to discount some other things first. I'm assuming the database software will run in a trace mode - the next thing to do if your storage all checks out OK is turn this on and reproduce the problem, then pass to your DB vendor for further analysis.
The parent processes won't die until the child processes have gone away, thats why they change their own PPID to 1. There's no point in even trying to terminate these if the child processes won't die.
As a side point, you should never start with a '-9' terminate - always just try terminate first - this will send a SIGTERM which may allow the process to exit gracefully.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2004 08:03 PM
10-31-2004 08:03 PM
Re: KILL doesnt works
Others have pretty well explained that the process is waiting for some type i/o to complete and can be killed. (The process is in kernel mode and can not be signalled. The process priority lies in 128-153. ps -efl|grep "process)
What I want to tell you that is, why -9 signal. You should not be using -9 signal on all process. -9 does not do any cleanup and any data segments, memeory the process might have occupied willnot be cleaned up. A real sysadmin wont use it on first instance.
I generally try as follows.
-15 (default)
-1
-2
-3
-11
(-11 is as effective as -9 and does clean up work)
Anil