Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    523

    Thumbs down Core Files filling up /

    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. #2
    Member
    Join Date
    Jul 2008
    Location
    localhost
    Posts
    101

    Default

    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 .

    root@server [~]# vi /etc/init.d/httpd
    Search for ulimit lines .For eg : you can see these lines

    ulimit -n 1024
    ulimit -n 4096
    ulimit -n 8192
    ulimit -n 16384
    You need to add ulimit -c 0 at the end .Which will look like :

    ulimit -n 1024
    ulimit -n 4096
    ulimit -n 8192
    ulimit -n 16384
    ulimit -c 0
    Save changes and quit.

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

    root@server [~]# service httpd stop
    root@server [~]# service httpd stop
    httpd (no pid file) not running
    root@server [~]# service httpd startssl
    root@server [~]# service httpd startssl
    httpd (pid 21154) already running
    You are done ! The core files won't be generated..

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

Similar Threads & Tags
Similar threads

  1. Core files filling /usr
    By jdhf99 in forum cPanel and WHM Discussions
    Replies: 24
    Last Post: 11-17-2008, 01:07 AM
  2. Core files filling up /usr/local/cpanel/whostmgr/docroot
    By gundamz in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-19-2008, 07:44 AM
  3. After apache upgrades core.* files are filling up public_html
    By Francisco in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 11-28-2007, 12:46 AM
  4. SpamAssassin expire files filling up server!
    By danimal in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-16-2006, 04:01 AM
  5. /var/spool/exim/* filling with files
    By MarkB in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-07-2003, 11:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube