CSYE6225 / loader-engima

loaders for cpu, ram and i/o. incl. server and client.
0 stars 1 forks source link

When generate load against IP of load balancer returns 500 Internal Server Error #1

Open notedboi opened 8 years ago

notedboi commented 8 years ago

When use curl $theipoftheserver/load.php in bash script it return done in client but when use the IP of load balancer it returns 500 Internal Server Error. Logs in load balancer shows as following : AH01144: No protocol handler was valid for the URL /load.php. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

yahavb commented 8 years ago

You need to look at the /var/log/apache/log/error.log says on (1) the load balancer (2) the two application instances. In general, the PHP needs to be added ONLY on the other web servers and NOT the load balancer. The load balancer does not need to run any PHP code. Only the web server does.

Makes sense?

notedboi commented 8 years ago

Got it, thanks