Thousands of core.xxxx files- easy way to remove?

skoker

Member
Jun 8, 2006
13
0
151
This weekend I had httpd, mysql, and ftp all fail on me at the same time, and now all of my users are stuck with thousands of core.xxxx files in all of their websites. Is there any easy way to remove all of these files?
 

rsaylor

Well-Known Member
Mar 27, 2003
160
1
168
sounds like there are too many files for the wildcard to handle. Try

rm -f core...something* to lower the wildcard usage then delete the files in batches.
 

skoker

Member
Jun 8, 2006
13
0
151
I think I got it:

PHP:
find / \( -name "core.***" \) -print -exec rm -rf {} \;
 

katmai

Well-Known Member
Mar 13, 2006
564
3
168
Brno, Czech Republic
upgrade zend optimizer to 3.0.1

pico /scripts/installzendopt modify version to 3.0.1 and you will go fine.

regards