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 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:
    16
    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:
    16
    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..
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
Loading...

Share This Page