Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-04-2013, 06:15 PM   #1
LQ Newbie
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Very large kcore file, is this normal?

I know it's a virtual file, but this is getting excessive. My hard drive was full, so i restarted my computer and that seemed to fix the memory issue, but this kcore file is 140TB. That can't be normal. Should I just leave it alone? or is there something i can/should do about it?

Here's a picture of the file properties.
Old 03-04-2013, 06:54 PM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415

Those should answer it for you. The /proc/kcore file will NEVER consume any actual hard drive space. Its a virtual file.
Old 03-04-2013, 11:19 PM   #3
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
It's actually a virtual file created by system kernel, which seems to be in /proc, but does not actually exist. It do not consume any H/D.

To check, once try to move or copy it:
~$  sudo mv /proc/kcore /proc/kcore.old
mv: cannot mv '/proc/kcore' to '/proc/kcore.old' : No such file or directory
~$  sudo cp -p /proc/kcore /proc/kcore.old
cp: cannot create a regular file '/proc/kcore.old' : No such file or directory
So you need not to worry about that.
1 members found this post helpful.
Old 03-05-2013, 10:10 AM   #4
Senior Member
Registered: Aug 2009
Distribution: CentOS
Posts: 3,585

Rep: Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569Reputation: 1569
It's always 140TB on an x86_64 system. /proc/kcore is a window into the system's virtual address space, and that's the size of the virtual address space.

Last edited by rknichols; 03-05-2013 at 10:12 AM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Session Crashing when cat'ing a large file, tar'ing a large file, etc. newmanium2001 Linux - General 3 12-22-2012 11:32 PM
[quick] trying to split a large file but linux says it's to large steve51184 Linux - General 16 05-06-2008 08:40 AM
909 mb kcore file in proc rrodden111 Linux - General 7 07-24-2003 08:14 PM
Can't delete file 'kcore' hornokplease Linux - Newbie 3 07-23-2003 07:49 AM
deleting kcore file? megaspaz Linux - General 1 11-07-2002 05:33 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration