Operating System - HP-UX
1832296 Members
1924 Online
110041 Solutions
New Discussion

how to remove dead process

 
M.sureshkumar
Regular Advisor

how to remove dead process

I have attached my server top command process,in this top command,the 1st process is a dead process or anyother process. how to remove this one. This process is reduced server performance.so how to remove this.
7 REPLIES 7
melvyn burnard
Honored Contributor

Re: how to remove dead process

not sure what you mean by "dead process", but try killing it
kill 10781

if that does not work, try
kill -9 10781


If the process is hung waiting on I/O, then you will either have to wait for the I/O to complete, or probably reboot the system
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
M.sureshkumar
Regular Advisor

Re: how to remove dead process

In our server, Mfg-pro is running in frontend.Progress is backend.

Actually user logged in mfg-pro,that time top command displays TTY and USERNAME are same,after some time i.e half hour or one hour root will takes TTY. so this is dead process or any other ,i don't know.this problem for all user.

How to remove this.
Paula J Frazer-Campbell
Honored Contributor

Re: how to remove dead process

Hi

From your top output this process is not dead but still running.

You say that a user login to mfgpro is taken over by root? - if this occurs then I would look seriously at what the users are doing when this occurs as it appears to be a MFGPRO coding problem.

use TUSC and attach to the process pid and see what it is doing.

TUSC is free and installs without a reboot.

http://www.stokely.com/unix.sysadm.resources/shareware.www.html


HTH

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: how to remove dead process

Hi

Please assign points to those who have given freely of their time to assist you.


http://forums1.itrc.hp.com/service/forums/pageList.do?userId=BR788154&listType=unassigned&forumId=1


Paula
If you can spell SysAdmin then you is one - anon
M.sureshkumar
Regular Advisor

Re: how to remove dead process

I work on hp-ux 10.20 .so i need hp-ux 10.20 TUSE Software.
Steven E. Protter
Exalted Contributor

Re: how to remove dead process

Here is a very userful script for killing processes in bunches.

CAUTION: Use it carefully.

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
M.sureshkumar
Regular Advisor

Re: how to remove dead process

o.k thanks for this script.

Some times i killed user dead process,that time database totally hanged.so that time i killed all user process and shutdown the database and restart database.