On Thu, Nov 1, 2012 at 1:10 PM, Dhastha <[email protected]> wrote: > I configured apache Loadbalancer Using mod_proxy_balancer. > > I followed this tutorial > > http://www.howtoforge.com/load_balancing_apache_mod_proxy_balancer > > I dont know whether apache load balancer can serve 15k concurrent > moodle users. I will post this issue in moodle forum.
>From what I've read, there are multiple areas you need to look at. a) In Linux, the system allows a maximum queue of 100 per port. To accommodate this, it is recommended that the application/server listen to multiple ports and IPs. b) Every TCP connection will take 1KB for a TCP block in memory. Parsing this table will become slow as number of connections grow. You will need to fine tune the stack parameters to allow connection blocks to be dropped fast (FIN time) and a lot others. Enough material on the web. c) Apache itself has a hard limit of 256 clients. You will need to modify MaxClients parameter and maybe recompile.http://www.mycomputerforum.com/tutorials/Apache_server_limits.html I've seen recommendations for building apps using asynchronous web servers and message queuing apps to beat these limited and go upto 500K connections. Your application is going to have 15K connections that will be kept open for the duration of the test. Maybe worthwhile to either look at building asynchronous apps or throw more hardware at the problem. -- Mohan Sundaram _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
