Process consuming space

Jose jtc-vS8X3Ji+8Wg6e3DpGhMbh2oLBQzVVOGK at public.gmane.org
Fri Mar 6 16:33:22 UTC 2009


Fernando Duran wrote:
> Hello Jose,
> 
> This article may help understanding what happened: http://finalcog.com/undelete-open-file-from-inode
> 
> You can use the "fuser" command to find what process is holding a file/partition. Also you can use "lsof"; from 'ps' get the process ids, pipe them (xargs) through lsof -p and |grep for the file name to get the process id to kill.
> 
> To find the biggest directories or files you can do something like:
> $ du -mxS / | sort -n | tail -5
>   or
> $ du -a --max-depth=3 / | sort -n | awk '{ if($1 > 102400) print $1/1024 "MB" " " $2 }'
> 
> Finally, a system reboot will close the open file. 
> 
> 
> Regards,
> 
> Fernando
> 
> ---------------------
> Fernando Duran
> http://www.fduran.com
> 
> 
> --- On Wed, 3/4/09, Jose <jtc-vS8X3Ji+8Wg6e3DpGhMbh2oLBQzVVOGK at public.gmane.org> wrote:
> 
>> From: Jose <jtc-vS8X3Ji+8Wg6e3DpGhMbh2oLBQzVVOGK at public.gmane.org>
>> Subject: [TLUG]: Process consuming space
>> To: tlug-lxSQFCZeNF4 at public.gmane.org
>> Received: Wednesday, March 4, 2009, 4:09 PM
>> 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
> 
> 
>       __________________________________________________________________
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
> http://ca.toolbar.yahoo.com.
> --
> 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
> 
Thanks Fernando

This pretty much did the trick


--
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