1846453 Members
2725 Online
110256 Solutions
New Discussion

Re: process BDF hunging

 

process BDF hunging

habe a any one a idee for killing a hungig bdf process.
the world of unix is beautifull
8 REPLIES 8
Xavier Gutierrez
Frequent Advisor

Re: process BDF hunging

You should open another session on your machine. If you were doing the BDF from system console, try telneting from another machine.

Once you get root prompt, get the bdf process ID (PID) from a ps command:

ps -ef | grep bdf

root 3315 3294 2 11:13:27 pts/tb 0:00 bdf
^^^^
PID

The PID is the first number after the username. Next, use the kill command:

kill -9 PID (in my example, 3315)

If you get your BDF processes continously hanging, check for failed disks or controllers.

Hope this will help you. Best regards.

Xavier

Live fast, die young!
Bill McNAMARA_1
Honored Contributor

Re: process BDF hunging

ps -ef | grep bdf
find the tty or terminal it is running on
ps -ef | grep tty_or_terminal
kill -9 the_pid_of_the_-sh_running_bdf

You might want to use mount
to see what filesystems are mounted and
compare that to your /etc/fstab to find out if any fs are missing.
You may have a failing disk,
run ioscan -fnk
and look for states of NO_HW
You will probably find that ioscan -fn
hangs too.

look in your syslog for anything related to lvm failure and troubleshoot the vg with strings /etc/lvmtab and vgdisplay -v vgname
paying close attention to errors.

Later,
Bill
It works for me (tm)
JACQUET
Frequent Advisor

Re: process BDF hunging

Hi,

Some people give you tips to kill hunging process. I just want to underline an other point when bdf process hung : it can be for sure of a hard drive failure, but also a nfs timout when a network error occured between Server/Customer NFS.

PJA.
PJA
Magdi KAMAL
Respected Contributor

Re: process BDF hunging

Hi Mohamed,

You may check first why your bdf is hanging.

Check if you got hardware ( disks )failures.
Check nfs timeout .

Command killing bdf :

#PID=`ps -ef ? grep bdf ? grep -v grep ? awk '{print $2}' `
#kill -9 $PID


Magdi
James R. Ferguson
Acclaimed Contributor

Re: process BDF hunging

Hi:

If you have killed any pfs_mount daemons, then the behavior you describe is consistent and you will need to reboot to correct the problem.

...JRF...
Krishnan Seshadri
Occasional Advisor

Re: process BDF hunging

I agree with JRF. We got burnt with the pfs issues and all the time bdf and some other commands (pfs_umount or umount) will hang and re-boot is the only resolution.
MANOJ SRIVASTAVA
Honored Contributor

Re: process BDF hunging

Hi AlHassani Mohamed

I think you have a bad pfs / nfs mount , hence the system is not able to complete the bdf process . Any way you slice it or dice it if this is the cause then please reboot , the system . Even if you stop the nfs / kill bdf the NFS would still be hanging . Please reboot .

Manoj Srivastava
Magdi KAMAL
Respected Contributor

Re: process BDF hunging

Hi again Mohamed,

I agree with James, once when I was installing oracle software, I forgot to run pfs_mount with the no hang up ( nohup ).

I recieved an infinite amount of the message :
NFS timeout .. try again ...

and the only manner to correct it is to reboot !

Magdi