/var filled up with MRTG "core" files

Stream

Well-Known Member
Feb 7, 2004
64
0
156
The past 3-4 days the folder /usr/local/apache/htdocs/mrtg has been filled up with files called core.xxxx (where x is a number).

Currently it contains 5.8GB of these files, while another server I have only has 270MB in this folder. Both servers have been running MRTG since April this year.

Anyone knows what these files are and why they are created?

Can I safely delete them? (allthough that won't help much if they keep being created).

Any help would be greatly appreciated!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,453
31
473
Go on, have a guess
You can safely delete them. they're created when an executable fails and the OS creates a core dump file which can be inspected with the right tools, but is not straight-forward. You'll need to look into your mrtg procedure to find out why it's failing.
 

Stream

Well-Known Member
Feb 7, 2004
64
0
156
Thanks for your reply, chirpy!

Tried upgrading mrtg today, and now it won't run at all.

Will have a closer look at it later on when I've cleaned up all these core-files...