System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

unable to kill process with PPID 1

SOLVED
Go to solution
ani007
Super Advisor

unable to kill process with PPID 1

Hi,
In my production server we are not able to kill one process as PPID become 1.I am sending you one attachment of list of process running... except reboot is there any other waay to kill it. kill -9 not worked.
8 REPLIES
Jose Mosquera
Honored Contributor

Re: unable to kill process with PPID 1

Hi,

The "kill -9 19057" syntax should work. Likely to take time for the tape drive (sequential operation) returns control to the system.

PID = 1 is the **master** (init) process of your server, please do not try to attack him!

Rgds.
ani007
Super Advisor

Re: unable to kill process with PPID 1

HI,
The process is there from 6th feb.this is the current status of tape drive..

Drive: HP C7438A
Format:
Status: [41112600] BOT online compression immediate-report-mode
File: 0
Block: 0

shall we try to power cycle the drive?
REagrds,
Ani
Jose Mosquera
Honored Contributor

Re: unable to kill process with PPID 1

Is the tape in the drive yet?
Does the tape activity (ie: flashing lights)?
Is the drive CLAIMED by the system?
#ioscan-fnCtape

Matti_Kurkela
Honored Contributor
Solution

Re: unable to kill process with PPID 1

The fact that PPID is 1 is probably not related to being unable to kill the process: it just means that the original parent process has already died, and the orphaned process has been adopted by init (process #1).

If kill -9 does not kill a process immediately, that often means the process is waiting for some kernel-level operation to complete (for example, SCSI I/O). If the kill -9 signal is already sent, the kernel will process the signal as soon as the operation completes.

But if the kernel-level operation will not reach completion at all (perhaps because some hardware has failed, or a cable has been disconnected accidentally), then an unkillable process will result.

My suggestion:
Check the "dmesg" output, the system log and the STM diagnostics for any indications of hardware failure (SCSI error/lbolt messages, other errors). If you find hardware problems, fix them first: they might be the root cause for your unkillable processes.

If all the hardware is OK, the next thing to check would be your patch levels.

MK
MK
ani007
Super Advisor

Re: unable to kill process with PPID 1

as i am working remotely so i try to rewind & prompt return.

# mt -t /dev/rmt/XXmn rew
#
so i think tape is there.
yes i hv seen it is clamed in ioscan

Drive: HP C7438A
Format:
Status: [41112600] BOT online compression immediate-report-mode
File: 0
Block: 0
======================
Status: [41112600] BOT online compression immediate-report-mode -- so drive is online right..
So i think reboot is only option..

Regards,
Ani
Jose Mosquera
Honored Contributor

Re: unable to kill process with PPID 1

You are in remote... Anyone can be your eyes on the remote location?
Try to eject the tape with:
# mt-t / dev/rmt/20mn offl

In addition to Matty's suggestions, please check if the file syslog.log have any warning from the EMS?
ani007
Super Advisor

Re: unable to kill process with PPID 1


Thanks aa for your excellent support.I have cheked & no problem found.so we will take downtime & reboot.

Regards,
Ani
R.O.
Esteemed Contributor

Re: unable to kill process with PPID 1

Hi,

Have you checked if a vg00's disk is failing?

Regards,
"When you look into an abyss, the abyss also looks into you"