Tag: Connections
Max Connections in CSM
by admin on Jul.31, 2007, under Networking, load balancing
So if you want to limit one or more of your real servers in a virtual server farm to a certain amount of connections you can do it with the “maxconns” command.
Login to the CSM go into config mode, go into the serverfarm you want to restrict then go into the real server. Type in “maxconns #” replacing the # with the max connections you want to go to that real server. This way if you want to test something under real traffic but don’t want it to get slammed you can.
Also if you specify this command it will send out a syslog when the max has been reached.
%CSM_SLB-6-RSERVERSTATE: ModuleĀ # server state changed: server X.X.X.X:0 in serverfarm ’serverfarm’ has reached configured max-conns
The CSM will then send the rest of the traffic to the other real servers in that serverfarm.