[wp-trac] [WordPress Trac] #5399: WordPress 2.3.1 seems more prone to exhaust PHP memory on XMLRPC upload

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 28 22:12:22 UTC 2009


#5399: WordPress 2.3.1 seems more prone to exhaust PHP memory on XMLRPC upload
--------------------------+-------------------------------------------------
 Reporter:  redsweater    |        Owner:  josephscott
     Type:  defect (bug)  |       Status:  closed     
 Priority:  normal        |    Milestone:             
Component:  General       |      Version:  2.3.1      
 Severity:  normal        |   Resolution:  invalid    
 Keywords:                |  
--------------------------+-------------------------------------------------

Old description:

> I have started noticing a trend in reports from users who have updated to
> 2.3.1 and are suddenly noticing image upload failures with errors that
> implicate PHP running out of memory. A workaround for the problem has
> been to have server configurations altered to increase memory allotment
> for PHP, but not all users' server administrators are willing to make
> this change.
>
> I'm curious as to whether this is a case of WordPress just "using a
> little more memory" and pushing the high water mark such that this
> problem is more likely to happen, or whether it's a case of it using a
> LOT more memory when processing XML, and thus something that needs to be
> seriously investigated.
>
> A forum post on my site describes one of the error cases:
>
> http://www.red-sweater.com/forums/viewtopic.php?pid=2606#p2606
>
> And I noticed this one indicating the problem has also been observed on
> Ecto:
>
> http://translate.google.com/translate?u=http%3A%2F%2Fwww.curioustimes.de%2Findex.php%2F2007%2F11%2F28
> %2Fmit-was-schreibe-ich-blogs%2F&langpair=de%7Cen&hl=en&ie=UTF-8
>
> I'm not sure this is really a problem with WP, or even 100% sure that the
> problem actually corresponds with something that changed in 2.3 -> 2.3.1,
> but the trend seems to suggest something along those lines.
>
> Daniel

New description:

 I have started noticing a trend in reports from users who have updated to
 2.3.1 and are suddenly noticing image upload failures with errors that
 implicate PHP running out of memory. A workaround for the problem has been
 to have server configurations altered to increase memory allotment for
 PHP, but not all users' server administrators are willing to make this
 change.

 I'm curious as to whether this is a case of WordPress just "using a little
 more memory" and pushing the high water mark such that this problem is
 more likely to happen, or whether it's a case of it using a LOT more
 memory when processing XML, and thus something that needs to be seriously
 investigated.

 A forum post on my site describes one of the error cases:

 http://www.red-sweater.com/forums/viewtopic.php?pid=2606#p2606

 And I noticed this one indicating the problem has also been observed on
 Ecto:

 http://translate.google.com/translate?u=http%3A%2F%2Fwww.curioustimes.de%2Findex.php%2F2007%2F11%2F28
 %2Fmit-was-schreibe-ich-blogs%2F&langpair=de%7Cen&hl=en&ie=UTF-8

 I'm not sure this is really a problem with WP, or even 100% sure that the
 problem actually corresponds with something that changed in 2.3 -> 2.3.1,
 but the trend seems to suggest something along those lines.

 Daniel

--

Comment(by josephscott):

 For others who may find this ticket in the future, work is being done on
 reducing the memory usage for large XML-RPC requests.  See ticket #10698

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/5399#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list