[nflug] uhoh

eric eric at bootz.us
Wed Aug 9 15:31:31 EDT 2006


no, Mark I should know this.

Mark Musone wrote:

>Forget about /proc.
>
>It's my fault, I should not have included that in the df example.
>
>/proc should not have any bearing on your problem.
>
>-Mark
>
>
>-----Original Message-----
>From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On Behalf Of
>eric
>Sent: Wednesday, August 09, 2006 3:07 PM
>To: nflug at nflug.org
>Subject: Re: [nflug] uhoh
>
>/proc/kcore is at 805M
>
>joshj at linuxmail.org wrote:
>
>  
>
>>When we last left our adventurers...
>>
>>    
>>
>>>well I thought I only had 500M but I guess that can't be right unless
>>>swap took over??
>>>      
>>>
>>I'm not 100% sure on this, but my understanding is that it is the size
>>of all used memory. swap and otherwise. So it should equal
>>the totals you get if you add up your used memory from the "free"
>>command.
>>Either way, it doesn't take up disk space. Nothing in /proc does.
>>
>>    
>>
>>>joshj at linuxmail.org wrote:
>>>
>>>      
>>>
>>>>When we last left our adventurers...
>>>>
>>>>        
>>>>
>>>>>ok this seems strange "/proc" is 775M
>>>>>
>>>>>any clues?
>>>>>          
>>>>>
>>>>
>>>>How much RAM do you have? Its probably mostly kcore.
>>>>
>>>>http://www.unixguide.net/linux/faq/04.16.shtml
>>>>
>>>>        
>>>>
>>>>>Mark Musone wrote:
>>>>>
>>>>>          
>>>>>
>>>>>>It is taking so long because "*" in / will also match and count the
>>>>>>files in
>>>>>>/home,/tmp,/usr, and /var.
>>>>>>
>>>>>>Manually put in the directory names, omitting those directories that
>>>>>>are on
>>>>>>other disks:
>>>>>>
>>>>>>In the following case of my / directory:
>>>>>>-bash-2.05b# ls
>>>>>>bin  boot  dev  etc  home  initrd  lib  local  lost+found  mnt
>>>>>>mnt2  proc
>>>>>>root  sbin  tftpboot  tmp  usr  var
>>>>>>
>>>>>>
>>>>>>"du -sk bin boot etc initrd lib local mnt mnt2 root sbin"
>>>>>>
>>>>>>It'd be a lot faster.
>>>>>>
>>>>>>Same thing with "find", issue the -xdev option to stay in just the /
>>>>>>filesystem
>>>>>>
>>>>>>"find / -xdev -size +100K"   ...etc..
>>>>>>
>>>>>>
>>>>>>-Mark
>>>>>>
>>>>>>-----Original Message-----
>>>>>>From: nflug-bounces at nflug.org [mailto:nflug-bounces at nflug.org] On
>>>>>>Behalf Of
>>>>>>eric
>>>>>>Sent: Wednesday, August 09, 2006 1:21 PM
>>>>>>To: nflug at nflug.org
>>>>>>Subject: Re: [nflug] uhoh
>>>>>>
>>>>>>the commands are working so incredibly slow I decieded to delete some
>>>>>>"safe stuff" I have a webmin directory in /root that has been
>>>>>>their all
>>>>>>along so I started to get rid of some files and the commands "find"
>>>>>>"du"
>>>>>>are still moving like snails, I tried du -s * from the / dir ...it
>>>>>>had
>>>>>>been running for a half hour so I zapped it with ctrl z and tried to
>>>>>>delete some more stuff out the webmin dir.  So, I have a new
>>>>>>question:
>>>>>>could something on the system be creating a file or files
>>>>>>constantly or
>>>>>>can the 251M that was alotted over spill on the / dir and I have to
>>>>>>delete down to 251M like memory is waiting to write to the hard
>>>>>>drive?
>>>>>>I slap my hands everytime I think I want to just restart the server
>>>>>>typical windows brainwashing.
>>>>>>
>>>>>>Thanks,
>>>>>>Eric
>>>>>>
>>>>>>Darin Perusich wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>or it could be /root.
>>>>>>>
>>>>>>>David J. Andruczyk wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>cd / ; du -s *
>>>>>>>>
>>>>>>>>Odds are it's /lib/modules filled up if you have several kernels
>>>>>>>>installed..
>>>>>>>>
>>>>>>>>
>>>>>>>>--- eric <eric at bootz.us> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>File system            Size  Used Avail Use% Mounted on
>>>>>>>>>/dev/hdc3             251M  251M     0 100% /
>>>>>>>>>tmpfs                 758M  4.0K  758M   1% /dev/shm
>>>>>>>>>/dev/hdc8             101G   12G   85G  12% /home
>>>>>>>>>/dev/hdc7             358M  8.1M  331M   3% /tmp
>>>>>>>>>/dev/hdc4             4.6G  516M  3.9G  12% /usr
>>>>>>>>>/dev/hdc5             2.8G  1.6G  1.2G  58% /var
>>>>>>>>>
>>>>>>>>>My / directory is stuffed, I already have /var/logs linked into a
>>>>>>>>>/home dir
>>>>>>>>>how do I take out the trash sort of speak, I guess I should really
>>>>>>>>>know what the culprit file or files that caused the fill up as
>>>>>>>>>well
>>>>>>>>>
>>>>>>>>>Thanks again,
>>>>>>>>>eric
>>>>>>>>>
>>>>>>>>>_______________________________________________
>>>>>>>>>nflug mailing list
>>>>>>>>>nflug at nflug.org
>>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>-- David J. Andruczyk
>>>>>>>>
>>>>>>>>__________________________________________________
>>>>>>>>Do You Yahoo!?
>>>>>>>>Tired of spam?  Yahoo! Mail has the best spam protection around
>>>>>>>>http://mail.yahoo.com
>>>>>>>>_______________________________________________
>>>>>>>>nflug mailing list
>>>>>>>>nflug at nflug.org
>>>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>_______________________________________________
>>>>>>nflug mailing list
>>>>>>nflug at nflug.org
>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>
>>>>>>_______________________________________________
>>>>>>nflug mailing list
>>>>>>nflug at nflug.org
>>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>_______________________________________________
>>>>>nflug mailing list
>>>>>nflug at nflug.org
>>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>>
>>>>>          
>>>>>
>>>>_______________________________________________
>>>>nflug mailing list
>>>>nflug at nflug.org
>>>>http://www.nflug.org/mailman/listinfo/nflug
>>>>        
>>>>
>>>
>>>_______________________________________________
>>>nflug mailing list
>>>nflug at nflug.org
>>>http://www.nflug.org/mailman/listinfo/nflug
>>>
>>>      
>>>
>>_______________________________________________
>>nflug mailing list
>>nflug at nflug.org
>>http://www.nflug.org/mailman/listinfo/nflug
>>    
>>
>
>
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>  
>

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list