Core Dumps What they are and how to disable

Core dumps are files the system creates when a process running in memory does not finish. The portion of memory that the process was using is then dumped to a file. This can be quite helpful when debugging your scripts. Core dumps typically have a file name like: core.5176

Reviewing Core Dump Files on VPS or Dedicated Servers

For most users, getting usable information from a core dump file can be difficult. If you are a VPS or Dedicated customer with command line (shell) access, most of the information in the core dump can be found by running either one of these two commands:

gbd -c core.####

strings core.####

Resolving Core Dumps

Core dumps are advanced in nature. It’s best practice to contact your web developer with the information that you have. If you are using a CMS such as WordPress, Joomla, or Drupal and the core dump is being caused by a plugin or module, your can disable or remove that module to resolve the issue.

To Disable them please follow the following steps

1. Login to your server as root.

2. Open up /etc/init.d/httpd using your favorite editor

nano /etc/init.d/httpd

3. add ulimit -c 0 below ulimit –n

4. Save and exit

5. Restart Apache service.

kbadmin has written 149 articles

Loading Facebook Comments ...

This site uses Akismet to reduce spam. Learn how your comment data is processed.