Jump to:

22997 Posts in 11853 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » Core dumps. Safe to delete?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1486 Views
  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Core dumps. Safe to delete? Link to this post

    No expert here but in my sapphire directory I've got more than a dozen core.xxxx files - mostly over 80mb each.

    Can I delete them all?

    They are all recent - last few days - only issue that's been reported is memory exhausted on using search.

    Any help would be much appreciated.

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: Core dumps. Safe to delete? Link to this post

    err, really? do you have a module installed that could be creating these? there is nothing in the default installation that I know of that would create these and if I saw them i would be thinking i had been hacked.

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: Core dumps. Safe to delete? Link to this post

    Hi Hamish,

    Can you help me understand what these files are - they seem to only have been created in the last few days - so that I can troubleshoot.

    It would be ideal to be able to delete them, they are taking up a gig of disk space. Can you or anyone else confirm deleting all is OK?

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Core dumps. Safe to delete? Link to this post

    Core dumps are generated by PHP itself sometimes when it crashes - its just a memory dump. Unless you're planning to use them for debugging it's fine to delete them.

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: Core dumps. Safe to delete? Link to this post

    That's helpful ajshort. Thx.

    What is it that's being dumped? The files are 80MB+.

    I've checked error logs and there's nothing there for that period except a few 'memory exhausted' errors in relation to sapphire/core/Object.php - which seem to have been fixed by up'ing memory limit using php.ini method.

    Appreciate any help to avoid this happening again.

  • bennettpr
    Avatar
    Community Member
    37 Posts

    Re: Core dumps. Safe to delete? Link to this post

    I'm having this problem too - I upgraded a site to 2.4 and noticed the site was running out of allocated disk space a lot. These core.**** files are the culprit.

    Any pointers welcome - based on other similar threads I'm assuming it may be a PHP bug in the core of a particular PHP version?

    Paul

    1486 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.