2007-06-26 19:53:00 UTC
<p>
(Background: Facebook has been recommending SimpleXML44 for use with their php4 REST API client. So I bet there are a lot of FB apps out there now that are using SimpleXML44 as part of their infrastructure stack.)
</p>
<p>
When used as part of high load web app, the current distribution of SimpleXML44 seems to produce a ton of <i>'stat64'</i> calls, where <b>IsterXmlNode.php</b> is looking for this file: <b>IsterSimpleXMLElement.php</b>
</p>
<p>
These threads all pile up and eat a ton of memory, bringing apache to its knees...
</p>
<p>
The culprit seems to be on line 286 of <b>IsterXmlNode.php</b>, where there's a <i>'require_once'</i> statement inside of an <i>eval()</i>. There's also a "TODO" comment above that statement, indicating that the <i>eval()</i> is being benchmarked against a <i>'require_once'</i> statement, presumably the one commented out on line 40.
</p>
<p>
I <b>highly</b> recommend commenting out the <i>eval()</i> line 286 and un-commenting the <i>'require_once'</i> on line 40 -- will save your webserver!
</p>