Problem with core dump files overflow

Discussion in 'Server Operation' started by Berry, Oct 9, 2009.

  1. Berry

    Berry New Member

    Hello!

    I have problem with Debian Lenny (a "Perfect" one + suphp) server getting filled with core dump files (eg. core.1234) that eats up the whole space of server soon. Can anyone suggest me how to stop this dumps being made, or identify what app does it make. The core dump files appear in /var/www/webXY/web dirs and subdirs where some PHP scripts reside...

    e.g.
    Code:
    # ls -la /var/www/web26/web/core*
    -rw------- 1 web26_info web26 33853440 Oct  9 14:44 /var/www/web26/web/core.12026
    -rw------- 1 web26_info web26 35299328 Oct  9 14:54 /var/www/web26/web/core.1371
    -rw------- 1 web26_info web26 33857536 Oct  9 14:45 /var/www/web26/web/core.14226
    
    and the info i get with "file"
    Code:
    # file /var/www/web26/web/core.12026
    /var/www/web26/web/core.12026: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'w/web26/phptmp'
    
    Any ideas? Is the Apache or php producing it and how to stop it?

    Thanks!
     
  2. Berry

    Berry New Member

  3. falko

    falko Super Moderator ISPConfig Developer

    If you're using ISPConfig, you can put this directive in the Apache Directives field of that web site in ISPConfig.
     
  4. Berry

    Berry New Member

    Yes, I am using ISPConfig 2, but it comes on all accounts... is there a general place to put it for all Apache2 instances?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    In this case you can put it in the main Apache configuration file.
     

Share This Page