<div dir="ltr">You mention prefork is it even worth the time to work with the prefork version, why not use the event driven or threaded versions of apache?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Thu, Apr 4, 2013 at 6:57 AM, Christopher Samuel <span dir="ltr"><<a href="mailto:samuel@unimelb.edu.au" target="_blank">samuel@unimelb.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 04/04/13 08:26, Afonso Bione wrote:<br>
<br>
> Hi,<br>
<br>
Hi Afonso,<br>
<br>
> Please, I know apache2 can do Load Balancer, but, I'm doing a<br>
> research cluster with low cost and if possible, I'dlike that, if<br>
> someone would have a tip for using httpd only on node0 and<br>
> depending on the need mpi would run automatically on node1, node2,<br>
> node3, using their memorys and cpus.<br>
<br>
By that do you mean the Apache processes themselves would be MPI<br>
processes?<br>
<br>
If that's the case I doubt if anyone has done that, serving web pages<br>
is very much an embarrassingly parallel type application so it's<br>
likely to be far more efficient to run the head node of the cluster as<br>
a reverse proxy/load balancer and use the compute nodes as individual<br>
web servers to service those requests.<br>
<br>
There was a similar query on the Apache users list back in 2010 which<br>
was answered along the same vein:<br>
<br>
<a href="http://www.gossamer-threads.com/lists/apache/users/389857" target="_blank">http://www.gossamer-threads.com/lists/apache/users/389857</a><br>
<br>
If you wanted to get this going as a toy project yourself then you may<br>
find it better to instead try and run the cluster as a single system<br>
image (SSI) using something like OpenMOSIX, OpenSSI or Kerrighed<br>
instead.    That way you won't need to modify Apache and they (should)<br>
try and migrate the prefork processes around to load balance.<br>
<br>
Note that I have no idea if any of those 3 projects are still actively<br>
developed..<br>
<br>
Best of luck!<br>
Chris<br>
- --<br>
 Christopher Samuel        Senior Systems Administrator<br>
 VLSCI - Victorian Life Sciences Computation Initiative<br>
 Email: <a href="mailto:samuel@unimelb.edu.au">samuel@unimelb.edu.au</a> Phone: <a href="tel:%2B61%20%280%293%20903%2055545" value="+61390355545">+61 (0)3 903 55545</a><br>
 <a href="http://www.vlsci.org.au/" target="_blank">http://www.vlsci.org.au/</a>      <a href="http://twitter.com/vlsci" target="_blank">http://twitter.com/vlsci</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (GNU/Linux)<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iEYEARECAAYFAlFdCBwACgkQO2KABBYQAh8UeQCfRhXJA5Te7aj3hOf8gGPM88AE<br>
GYIAn3PTXfZFAgVkH3+qm1j1UPeT87zU<br>
=tr9h<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Beowulf mailing list, <a href="mailto:Beowulf@beowulf.org">Beowulf@beowulf.org</a> sponsored by Penguin Computing<br>
To change your subscription (digest mode or unsubscribe) visit <a href="http://www.beowulf.org/mailman/listinfo/beowulf" target="_blank">http://www.beowulf.org/mailman/listinfo/beowulf</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Jonathan Aquilina
</div>