[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Memory leakage



on Wed, Jan 03, 2001 at 04:44:45PM -0500, Antonio Rodriguez (arodriguez@worldnet.att.net) wrote:
> 
> 
> kmself@ix.netcom.com wrote:
> > 
> > on Wed, Jan 03, 2001 at 06:34:09AM -0500, Antonio Rodriguez (arodriguez@worldnet.att.net) wrote:
> > > In a case of permanent memory loss (hard disk), w/o apparent reason,
> > 
> > "Memory loss" and "hard disk" don't make sense.
> 
> Memory in the sense of storage space, in the hard disk.
>  
> > Are you talking about memory (RAM) issues, or have you lost data or
> > partitions on you hard drive?
> > Did you delete an open file?  If you delete a file while another program
> > is writing to it, the space is not reallocated until the writing process
> > is terminated.  In this case, you may be able to locate the open process
> > with:
> > 
> >   - lsof
> >   - ps
> > 
> > If lsof shows the process, you can kill it.  Otherwise, switching to
> > single user mode, or as a last resort, rebooting the system, may reset
> > things.
> 
> rebooting did not fix it. That was the first thing I did.

Try the following on each of your mounted partitions, starting at the
mount point:

    $ du -sx * | sort -nr | cat -n | less

...which will list out your largest directories, with usage sumarized,
in size order.  Track down where the storage seems to be going.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 Evangelist, Zelerate, Inc.                      http://www.zelerate.org
  What part of "Gestalt" don't you understand?      There is no K5 cabal
   http://gestalt-system.sourceforge.net/        http://www.kuro5hin.org

Attachment: pgpgVMJA1wxSk.pgp
Description: PGP signature


Reply to: