Results 1 to 5 of 5

Thread: can't remove a core file

  1. #1

    can't remove a core file

    Hi, everybody.
    I had a power shortage last night when I played RTCW MPTest, and just now I noticed that my / filesystem got enormously low, and I found a core file in /proc directory which is >500Mb. I am trying to remove it. It is a read-only I tried to chmod 666 and then remove it to no avail it stays read-only forever. Guys any ideas how to get it off my shoulders? 500Mb ... it is another couple of demos from loki-games.
    Thanks in advance

  2. #2

    Re: can't remove a core file

    Hello,
    I strongly - ney I very strongly recommend against removing *ANY* file from /proc - this is not on the harddrive, it exists in memory - here is a good read on it:

    http://linux.oreillynet.com/pub/a/li...inuxAdmin.html


    the core file is a copy of all items in memory and when there is a core dump this file gets dumped.

    try a find / -name core and remove any that are laying around except those in the /proc directory.

  3. #3

    Re: can't remove a core file

    Yeah, I see pbharris, but I tried find / -name core and the only one is in /proc, but hey it's freaking 500 Mb, I need it back, I tried to see what caused it with strings kcore, and the only usefull info was that it was created during bootup, I saw the first lines of my lilo.conf file, and bunch of junk afterwards.
    Thanks

  4. #4

    Re: can't remove a core file

    Try this,
    du -m /proc - i am guessing you have 512 MB of ram, this is not really 512 MB in size.

    Here is how you can find the big hogs
    first do a df -h then a du -h /directory_name to see where the big hogs are.

  5. #5

    Re: can't remove a core file

    Thanks for your help, I figured it out. Stupid me. It is my memory, and I found a huge core dumped file in my /var/log. It was about 250Mb I got rid off it easily.

Similar Threads

  1. How to use the Sysprep tool
    By CoolJsa14 in forum Windows - General Topics
    Replies: 0
    Last Post: 01-05-2005, 08:34 PM
  2. List of fixes included in Windows XP SP2
    By regix in forum Windows - General Topics
    Replies: 6
    Last Post: 01-03-2005, 10:44 PM
  3. File Formats Supported by Windows Media Player
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-03-2005, 10:17 PM
  4. Calling all mail server admins
    By demian in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 04-21-2004, 08:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •