Process consuming space

Mike Sillers mikesi-ft1kE4FQKTmJ6jDlghZswwC/G2K4zDHf at public.gmane.org
Thu Mar 5 14:09:37 UTC 2009


We've had a similar problem with a process tying up a lot of space but the
file not being visible as the process has been killed or otherwise
interrupted but a subprocess has the space still allocated.

I've used lsof (for example losf /dir) to identify all open files on the
system then choosing the offending file from the list. lsof will identify
the application in the first column, the pid in the second column, the user
in the third and the file in the last column. From there which you can use
ps to give further info if required, then kill the process if it can't be
exited otherwise.

Hope this helps.

Mike

-----Original Message-----
From: Jose [mailto:jtc-vS8X3Ji+8Wg6e3DpGhMbh2oLBQzVVOGK at public.gmane.org] 
Sent: March 4, 2009 4:09 PM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: [TLUG]: Process consuming space

Hi list,

I had a problem with a process consuming space today, seems like a user 
panic with probably some huge report and kill the app, but the underline 
process continue to run and it consume all of my data partition, I 
couldn't get to know which process was the culprit because they decided 
to reboot the app, is there any way to know how to check for a process 
consuming space or having a huge space allocation?

Thanks in advance for your help

Jose
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list