Deep recursion in WHM EasyApache software update causes out of memory
Posted
by
Ernest
on Server Fault
See other posts from Server Fault
or by Ernest
Published on 2011-02-27T01:19:36Z
Indexed on
2011/02/27
7:26 UTC
Read the original article
Hit count: 442
I was trying to load some modules with EasyApache in a software update (WHM) cause I need to install Magento ecommerce.
I did the first EasyApache update. However, one module I needed was not loaded. I loaded later but whenever I check Tomcat 5.5 in the profile builder I get:
-- Begin opt 'Tomcat' --
-- Begin dryrun test 'Checking for v5' --
-- End dryrun test 'Checking for v5' --
-- Begin step 'Checking jdk' --
Deep recursion on subroutine "Cpanel::CPAN::Digest::MD5::File::_dir"
at /usr/local/cpanel/Cpanel/CPAN/Digest/MD5/File.pm line 107.
Out of memory!
Out of memory!
*** glibc detected *** realloc(): invalid next size: 0x09741188 ***
Line 107 in question in the file.pm is the third one in this snippet:
if(-d $full) {
$hr->{ $short } = '';
_dir($full, $hr, $base, $type, $cc) or return; //line 107
}
All my client sites are down and I don't know what to do to fix this.
© Server Fault or respective owner