[wp-testers] Error on automatic update

juma juma at beedragon.com
Mon Nov 10 17:42:57 GMT 2008


Fixed the problem by changing resource limits in php.ini file to:

max_execution_time = 60
max_input_time = 120
memory_limit = 64M

-Lori

 >DD32 wordpress at dd32.id.au
 >Sun Nov 9 22:54:17 GMT 2008

In short: WordPress is operating with a maximum of 32MB of ram(As set by
php.ini / WP), During the unzip process (WordPress relies PHP-based
unzipping class - pclzip) WordPress ran out of free memory in that 32MB.

Pclzip requires a lot of system resources, unziping files with PHP is  
not
exactly efficient memory-wise(Or speed-wise), but on many hosts, there  
is
no other choice.

What needs to be investigated, Is if theres an alternate method that can
be used, or if WordPress can increase the memory-limit on the fly during
the unzip process if it notices that theres not much free memory left,
Unfortunately, the latter would probably require modifications to be  
made
to the pclzip class.

On Mon, 10 Nov 2008 04:42:29 +1100, juma <juma at beedragon.com> wrote:

 > I started getting this error:
 >
 > Fatal error: Allowed memory size of 33554432 bytes exhausted (tried  
to
 > allocate 242766 bytes) in /home/xxxxx/public_html/wp-admin/includes/
 > class-pclzip.php on line 4067
 >
 > on automatic core update at version 2.7-beta1-9493. Does anyone know
 > why that would suddenly start happening?
 >
 > using PHP 5.2.6, MySQL 5.0.51a-community, and apache 1.3.41 (Unix) on
 > Liquid Web dedicated.



More information about the wp-testers mailing list