The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Core.XXXX files everywere

Discussion in 'General Discussion' started by stephenbrown, Jun 22, 2006.

  1. stephenbrown

    stephenbrown Active Member

    Joined:
    Apr 1, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I have found the cause to be the new Zend, so i downgraded it, but im now left with hundreds or core.XXXXX dumps everywhere

    find /home -type f -regex '.*/core\.[0-9].*'

    told me where they were, but how do i now delete them all in one go. This realy is a newbie question, but i cannot think today!
     
    #1 stephenbrown, Jun 22, 2006
    Last edited: Jun 22, 2006
  2. timdorr

    timdorr Well-Known Member
    PartnerNOC

    Joined:
    Jul 9, 2002
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Atlanta, GA
    You can still use find. Like so:

    find /home -type f -regex '.*/core\.[0-9].*' -exec rm -f {} \;

    Are you running phpSuExec or something like that? That would explain all the core dumps in the first place. Zend definitely caused it, but you wouldn't get core dumps if you weren't using something that runs PHP as a CGI.

    Also, try Zend 3.0.1: http://downloads.zend.com/optimizer/3.0.1/ It solves a LOT of issues.
     
  3. jsnape

    jsnape Well-Known Member

    Joined:
    Mar 11, 2002
    Messages:
    174
    Likes Received:
    0
    Trophy Points:
    16
    That's a handy little command you have there. Is there no possibility of deleting anything but core.[number] files? Looking at the command it doesn't look like it but just to be safe, before I load the command into SecureCRT and set it loose on 25 servers....
     
  4. shub2006

    shub2006 Registered

    Joined:
    Feb 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    What version did you downgrade too? I have the same issue and then downgraded it to v2.6.2 and I'm still getting a TON of core.#### files. Is there a configuration that can be change to fix this? or do I need to downgrade to another version? I initially upgraded to v3.0.1 but that made the sites run really slow so I brought it to v2.6.2.
     
  5. stephenbrown

    stephenbrown Active Member

    Joined:
    Apr 1, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    i installed zend 3.0.1 in the end, it works perfectly. But before i did downgrade to 2.6.2.

    Do you have versioning compiled? As i have read around the forums that it can affect zend :S but i'm not sure.
     
  6. shub2006

    shub2006 Registered

    Joined:
    Feb 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Versioning compiled? Is this done during easyapache?

    Thanks for the response
     
  7. shub2006

    shub2006 Registered

    Joined:
    Feb 21, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Gotcha. Just ran easyapache and turned off Versioning. I no longer get the core.#### files!

    Thanks for the help Stephen! :D
     
Loading...

Share This Page