Author Topic: are core.tmp files supposed to be deleted automatically?  (Read 3187 times)

Offline Io

  • Acquaintance
  • *
  • Posts: 44
    • View Profile
are core.tmp files supposed to be deleted automatically?
« on: June 12, 2011, 02:18:40 am »
I've got more than 400mb of core.tmp files in my /lib/ directory

Some going back as far as two months

Are these files supposed to be deleted automatically over time?

Can they be safely deleted?

Offline Raudhrskal

  • BFF
  • ***
  • Posts: 214
  • The MUD community needs YOUR help!
    • View Profile
Re: are core.tmp files supposed to be deleted automatically?
« Reply #1 on: June 12, 2011, 06:10:54 am »
... using DS?
Is your mud crashing hard?
Becasue if they're coredumps from a crash, you sure can delete them, unless you'd want to try to use them for debugging...
I think, therefore i may be wrong.
Please note that if you met a Raudhrskal in a place that's not related to muds, it wasn't me. *sigh*... back when I started there was zero hits on google for that name...

Offline Io

  • Acquaintance
  • *
  • Posts: 44
    • View Profile
Re: are core.tmp files supposed to be deleted automatically?
« Reply #2 on: June 12, 2011, 10:44:08 am »
Yes, my mud has been crashing a lot with DS 3.2

How can I use the core files for debugging, they aren't in plaintext, how should I be viewing them?

Offline Nulvect

  • BFF
  • ***
  • Posts: 127
    • View Profile
Re: are core.tmp files supposed to be deleted automatically?
« Reply #3 on: June 12, 2011, 10:46:18 pm »
You can load the core file into gdb for debugging with the gdb "gcore" command. The linux man page for 'core' explains more, including how to disable core dumps if you'd like: "man core", or "man 5 core".

Offline Io

  • Acquaintance
  • *
  • Posts: 44
    • View Profile
Re: are core.tmp files supposed to be deleted automatically?
« Reply #4 on: June 12, 2011, 11:46:41 pm »
You can load the core file into gdb for debugging with the gdb "gcore" command. The linux man page for 'core' explains more, including how to disable core dumps if you'd like: "man core", or "man 5 core".

Thanks