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...
# 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"
# 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?