<br><br><div class="gmail_quote">On Tue, Apr 1, 2008 at 7:42 AM, Martin Langhoff <<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
- We are running memory-hog-webapps based on mod_php and mod_python<br>
in prefork mode... but we have very strict memory constraints. Any<br>
hints on how to compile apache (on Fedora and Debian) so that the<br>
memory is released to the OS pool rather than to the child process'<br>
private 'free' pool?</blockquote><div><br>I don't think this is currently possible. Another web server can probably do this (Lighttpd?), but that comes with its own issues. I'm not sure of the memory constraints, though. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
-We are looking for an HTTP proxy to run in a CoDeeN-like arrangement<br>
- we will have a proxy at the XS and an "upstream" well-connected<br>
proxy at the ISP. We are considering a few alternatives - ideas here<br>
welcome (mod_proxy or other forward proxies that meet the requirements<br>
below):<br>
- *must* be memory-smart in low-mem conditions - do not expect to<br>
keep big indexes in memory, like Squid does<br>
- *must* be scriptable/configurable (is mod_proxy behaviour now<br>
hackable from mod_perl?) for custom behaviour<br>
- can take advantage of knowing that there is a matching proxy upstream</blockquote><div><br>One way to be to run the CoDeeN code. I'm sure they would be willing to work with us, since I know they want to open source the code. Otherwise, running mod_proxy on the XS with no caching and forwarding to a squid upstream should work, but there will be issues to work out. <br>
<br>What needs to be configurable from mod_perl? What custom behaviours are we talking about, or is this just a general ask for future needs?</div></div><br clear="all"><br>-- <br>Aaron Huslage - 503.860.1634<br><a href="http://blog.hact.net">http://blog.hact.net</a><br>
IM: AIM - ahuslage; Yahoo - ahuslage; MSN - <a href="mailto:huslage@gmail.com">huslage@gmail.com</a>; GTalk - <a href="mailto:huslage@gmail.com">huslage@gmail.com</a>