LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-22-2006, 12:07 AM   #1
republicson
Member
 
Registered: Feb 2006
Location: Springfield, MO
Distribution: Ubuntu Dapper 6.06
Posts: 35

Rep: Reputation: 15
core.* files in the home directory


I have a couple thousand core.* (where * is a number) files in my user's home directory. They are taking up a ton of space, and I'm not sure where they came from or how to find out. Can I delete them or what?
 
Old 02-22-2006, 12:55 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Are using using KDE? I just remembered I think I've had them before but I don't remember when. I haven't used KDE for aaaaggggeeeessss so it could be just Konqueror dunping session data on an unexpected exit or something. I'd delete them, my system is running fine without any /home/cam/core.* files
 
Old 02-22-2006, 02:18 AM   #3
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
core* files are core dumps. Whenever a process exits with a special return code (on a system error, for instance), the "core gets dumped". This means that the main info you need, like the stack of the process that failed, gets written to a file.

Normally, by looking at the contents of the core* file, you should be able to determine what went wrong and you should be able to debug the program.
However, in most cases:
-the core* files are really big
-the core dumps are not caused by any of the programs you've written, but from other people's apps. In this case, you may not be able to debug the program, even if you wanted to.

So, in general, most people just throw away the core* files. If you want to supply a bug report to the developers of the app that cause the error, you may want to think about keeping the core* file around so that those developers can take a look at what went wrong.

If you don't want to submit a bug report or if you don't know what app halted unappropriately and dumped the core, you can safely remove the core* files to free the disk space.

If you however get new core* files regularly, then one of your apps may be broken. In this case, further investigations or a re-install of the app in question may be needed.
 
Old 02-22-2006, 07:44 AM   #4
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
IOW, do any of your apps crash regularily or frequently?
 
Old 02-22-2006, 10:53 AM   #5
republicson
Member
 
Registered: Feb 2006
Location: Springfield, MO
Distribution: Ubuntu Dapper 6.06
Posts: 35

Original Poster
Rep: Reputation: 15
I will delete them, thanks. I've had errors, but I've had so many I don't know what's from what.
 
Old 02-22-2006, 11:22 AM   #6
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Quote:
Originally Posted by republicson
I've had so many [errors]
About a couple thousand, I'd imagine.
 
  


Reply



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
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
What are core files in the users home directory draven Linux - Newbie 3 03-07-2004 09:56 PM
what is core in my home directory? plisken Linux - General 4 11-07-2003 08:34 PM
Sharing files not in Home directory tomsa Linux - Networking 0 07-22-2003 03:22 PM
Questions about some files relating to X in my home directory. JoeLinux Linux - Software 1 05-08-2002 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration