Page 1 of 1

core.???? file - what is it?

Posted: 2009-01-25T22:41:20-07:00
by jorlando
Hi.

My website makes lots of calls out to IM. I give users access to IM through a command line editor. Now and then I discover a very large file (last one was 250+ meg) with the name "core." followed by a number. I can open it in a text editor and it seems to be Imagemagick related but I want ed to know what it was and why it shows up in different forms. Is it the result of a command line error in IM?

Anyone know whats going on here?

Thx
Jeff
http://interactimage.com

Re: core.???? file - what is it?

Posted: 2009-01-26T01:19:08-07:00
by wallclimber21
core dump files are generated by Unix-like operating systems when a program crashes. A core dump file contains the full state of the process at the time of the crash, and can be used in a debugger to investigate what happened at the time of the crash.

The .???? suffix of the core file is usually the process id of the program that crashed.

So it looks like IM crashed while being operated by your users. If you're not interested in low level debugging (very likely!), then it's safe to just delete those files.

Tom