LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2012, 06:01 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
kill process


I use Redhat 4 system , in my server , I have run some process , gzip file , remove files and run some routine tasks .

It is strange that I use the command "du" to check the system available size , it seems there is space is "disappear" - the total system server size is 1T , the available size is 300G , but the used size is just 500G , that means 200G is disappear , the error happens when I gzip the files , but I use lsof , fuser can not find related process , I use ps -ef still can't find any related process , except reboot , how the space can be released ?

Thanks.
 
Old 04-16-2012, 06:26 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,512

Rep: Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435Reputation: 2435
try fuser -m to find out the process id, and you will be able to kill it. Try also identify that process by ppid
 
Old 04-16-2012, 07:17 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
I believe gzip uses some temp space whilst its doing its job, but it should clean up after itself.
If it had an issue, it may not have cleaned up properly.

( FYI, RHEL4 is no longer supported by RH, unless you pay extra for Extended Update support: http://www.redhat.com/security/updates/errata/)
 
Old 04-16-2012, 09:37 PM   #4
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by pan64 View Post
try fuser -m to find out the process id, and you will be able to kill it. Try also identify that process by ppid
tried to use fuser -m , the below is the output , can advise how to know what is such process ? how to kill it ? thx


c 347rc 354rc 357rc 384rc 416rce 1251rc 1640rce 1642rce 1656rce 1
659rce 1671rce 1693rce 1722rce 1756rce 1776rce 1787rce 1818rc 1860rce 1
881rce 1901rce 1920rce 1931rce 1936rce 1948rce 1962rce 1974rce 1999rce
 
Old 04-17-2012, 01:03 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
You may find 'fuser -v' more useful http://linux.die.net/man/1/fuser
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill a zombie process - which process is the parent that I should kill? Mountain Linux - General 3 12-31-2011 03:44 PM
how to kill or clean a Uninterruptible slept session leader process from process tabl golden_boy615 Linux - General 1 12-14-2010 11:47 AM
bash `kill`: process 'B' silently dies; but process 'A' = `kill` spews back debris! GrapefruiTgirl Programming 9 06-23-2009 10:42 AM
How to get the PID of the process giving kill signal to a process? hariprd Programming 2 11-27-2008 04:10 AM
Shell Script : Kill a running process when another process starts ashmew2 Linux - General 3 08-20-2008 04:47 AM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration