Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to stop core file generation  (Read 3355 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
How to stop core file generation
« on: May 25, 2014, 06:57:10 am »
How to stop core file generation

  A core file records memmory image of running process.when a php process is killed, apache creates core files under your account.These core files takes too much of space on server.There is no harm on deleting these files.You cabn get rid off these core files by modifiying the httpd start up file.

Vi /etc/init.d/httpd

Search for ulimit lines ex:

ulimit -n 1024

ulimit -n 4096

ulimit -n 8192

ulimit -n 16384

Please add ulimit -c 0 to the end.So its looks like

ulimit -n 16384

ulimit -c 0

Save the changes and restart apache service.
====