<div class="gmail_quote">On Mon, Apr 27, 2009 at 10:16 AM, Brian Ray <span dir="ltr"><<a href="mailto:bray@sent.com">bray@sent.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello:<br>
<br>
I am trying to tackle an issue I am having with httpd running an app under mod_python not being able to kill enough processes (to free memory) quickly enough to remain stable. The server ends up in a state where it stops responding.<br>
<br>
The server has several Gig's of memory, but the requests it tries to process are really huge. It run's fine if the requests are small. Basically, the requests contain XML that is parsed by ElementTree (C version) and converts that data to an internal database format. Somewhere in the parsing of that XML is where is seems to eat the most memory, but writing to the database uses some, as well.<br>
</blockquote><div><br></div><div>How huge are the XML documents you are trying to parse?</div></div><br>-- <br>Cosmin Stejerean<br><a href="http://offbytwo.com">http://offbytwo.com</a><br><br>