LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-04-2013, 05:15 PM   #1
seaniscrazy
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.
http://i.imgur.com/QIC64fl.png
 
Old 03-04-2013, 05:54 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,566

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
http://www.unixguide.net/linux/faq/04.16.shtml
http://www.novell.com/support/kb/doc.php?id=7004153

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, 10:19 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
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:
Code:
~$  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, 09:10 AM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 1,421

Rep: Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597Reputation: 597
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. http://en.wikipedia.org/wiki/X86-64#..._space_details

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


Reply


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 10:32 PM
[quick] trying to split a large file but linux says it's to large steve51184 Linux - General 16 05-06-2008 07:40 AM
909 mb kcore file in proc rrodden111 Linux - General 7 07-24-2003 07:14 PM
Can't delete file 'kcore' hornokplease Linux - Newbie 3 07-23-2003 06:49 AM
deleting kcore file? megaspaz Linux - General 1 11-07-2002 04:33 AM


All times are GMT -5. The time now is 10:51 AM.

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