Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page Process not getting killed
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 07-02-2008   #11 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 769
the reason i can think of is that the process became a zombie.sometimes the only way to get rid of a process is to restart the computer(very scarce though, and in most of those cases the process does not harm anymore).
in your case i would go to the /proc filesystem and try to track the culprit down.

does it show in top as an active process?
Code:
top b n1 i
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 07-02-2008   #12 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 18
Yes

Yes it does show up in top as active process. Problem here is that it's eating 99% of CPU and there is not way to get rid of that process. I am worried if it happens in production server then downtime would be difficult. Is it a bug in Linux? How can I track this process down
mohitanchlia is offline   Reply With Quote
Old 07-03-2008   #13 (permalink)
Linux Engineer
 
khafa's Avatar
 
Join Date: Apr 2008
Location: Tokyo, Japan
Posts: 769
im suspecting here an I/O problem. when a process is waiting for I/O you can not kill it (this generally happens when mounting fails).
so i would use the lsof command to see what files the process is opening.
then i would trace it like
Code:
strace -p PID
__________________
Linux and me it's a love story
khafa is offline   Reply With Quote
Old 07-03-2008   #14 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 18
lsof output appears like this, most of the files have "(deleted)":

afaconv.l 5813 root txt REG 104,2 11396935 20021557 /home/afa_build/work/AFA/main/dist/deploy/jboss/server/afa/deploy/afa/afa-vert.rar/bin/afaconv.linux32 (deleted)
afaconv.l 5813 root 0r FIFO 0,7 2523565 pipe
afaconv.l 5813 root 1w FIFO 0,7 2523566 pipe
afaconv.l 5813 root 2w FIFO 0,7 2523567 pipe
afaconv.l 5813 root 3r REG 104,2 151307 21151952 /home/afa_build/work/AFA/main/dist/deploy/jboss/server/afa/deploy/afa/afa-vert.rar/form/wio03.1pe (deleted)

I really don't understand why it will not show up in "ps" though.
mohitanchlia is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 06:04 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0