Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Core Files filling up /

Discussion in 'General Discussion' started by bsasninja, May 27, 2009.

  1. bsasninja

    bsasninja Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    528
    Likes Received:
    0
    Trophy Points:
    166
    Today I found that my / partition was at 96%. I checked and I found a lot of these files:

    -rw------- 1 root root 131145728 May 27 01:55 core.1474
    -rw------- 1 root root 131137536 May 27 05:20 core.14757
    -rw------- 1 root root 131137536 May 27 05:40 core.16498
    -rw------- 1 root root 131137536 May 27 05:50 core.16870
    -rw------- 1 root root 131145728 May 27 02:00 core.1897
    -rw------- 1 root root 131145728 May 27 02:05 core.2212
    -rw------- 1 root root 131145728 May 27 02:10 core.2531
    -rw------- 1 root root 131145728 May 27 02:15 core.3129
    -rw------- 1 root root 131145728 May 27 02:20 core.3408
    -rw------- 1 root root 131145728 May 27 02:25 core.3640
    -rw------- 1 root root 131145728 May 27 02:30 core.3933
    -rw------- 1 root root 131145728 May 27 02:35 core.4354
    -rw------- 1 root root 131145728 May 27 02:40 core.4599
    -rw------- 1 root root 131145728 May 27 02:45 core.4818
    -rw------- 1 root root 131145728 May 27 02:50 core.5312
    -rw------- 1 root root 131145728 May 27 02:55 core.5537
    -rw------- 1 root root 131145728 May 27 03:00 core.5768
    -rw------- 1 root root 131031040 May 26 21:49 core.8961

    What the hell are these and how I prevent them from creating?
    This started to appear yesterday and I didnt touch anything.

    Thanks!
     
  2. chinmay

    chinmay Well-Known Member

    Joined:
    Jul 22, 2008
    Messages:
    101
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    localhost
    Hi there,

    You may come across core files which gets generated within your accounts . The possible reason for the core files getting generated is when a php process is killed, apache creates core files under your account .

    On phpSuexec servers this may cause due to incorrect php.ini file placed in your account and if it is caused due to php/apache then you can get rid off those core files by editing the httpd start up file on the server end .

    Search for ulimit lines .For eg : you can see these lines

    You need to add ulimit -c 0 at the end .Which will look like :

    Save changes and quit.

    Now kill / stop apache service and then start apache service on the server .

    You are done ! The core files won't be generated..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice