Operating System - HP-UX
1745790 Members
4287 Online
108722 Solutions
New Discussion юеВ

How to kill the Hung fsadm processes

 
Jitesh purohit_1
Regular Advisor

How to kill the Hung fsadm processes

Hi

We have prod server running hpux 10.20, There is a file system /tx , which was 100% , And when it came down to 98%, I have tried to extend it by adding up the 2 GB, But the fsadm command did not worked properly, And it was in a hung state...

I have tried killing it manually with kill -9 , 15 ,But no response..

Is there any other way to kill it other than rebooting the server .

root@test # ps -ef | grep -i fsadm
root 2861 1 0 Apr 30 ? 00:00:00 fsadm -b7620M /tx

Thanks
Jitesh
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: How to kill the Hung fsadm processes

Hi:

If a 'kill -9' doesn't work, then your only recourse is to reboot or be patient enough for the event on which the process is waiting to complete.

Regards!

...JRF...
Vivek Bhatia
Trusted Contributor

Re: How to kill the Hung fsadm processes

Hi,

No ways , wait for the command to complete. Or go for a reboot after taking the downtime.

Regards,
Vivek
Sunny123_1
Esteemed Contributor

Re: How to kill the Hung fsadm processes

Hi

Yes the only way to remove that process is to reboot the server.

Regards
Sunny
Steven E. Protter
Exalted Contributor

Re: How to kill the Hung fsadm processes

Shalom,

Try a regular kill first.

If that fails kill -9

If that fails reboot.

No magic here. A failed kill -9 which unofficially means kill the process and its parent will convert the ppid,parent process id to 1 and that process is no longer touchable.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: How to kill the Hung fsadm processes

HI:

> SEP: A failed kill -9 which unofficially means kill the process and its parent will convert the ppid,parent process id to 1 and that process is no longer touchable.

No, killing a process does not kill the parent of the process. If that were true, processes that you started from your shell session, if killed with 'kill -9', would cause your shell session to be terminated. It isn't, of course.

A 'kill -9' will _fail_ if the process is already waiting on a higher priority event such as an I/O complete.

Regards!

...JRF...