cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1057
Views
0
Helpful
2
Replies

CSM maxconns bevaviour for website

br15
Level 1
Level 1

Hi,

Can someone help explain how to get around website overloading with HTTP?  We have configured the CSM with max conns limit and a redirect to an external site (sorry server).  When users connect close to the connection limit part of their web request is from our webservers the rest is redirected as the servers go out of service because of maxconns.  The connections on the serverfarm are not a 1 to 1 with the actual website page.

How do we make sure that the user is served the entire page whilst maintaining a connection limit to protect our webservers?

Here is an example our config:

vserver WEBSITE

serverfarm WEBFARM backup REDIRECT

serverfarm WEBFARM

real name REAL01

maxconns 1000

real name REAL02

maxconns 1000

serverfarm REDIRECT

nat server

no nat client

redirect-vserver VREDIRECT

webhost relocation

http://www.externalsite.com %p

inservice

Kind regards

Martin

2 Replies 2

Daniel Arrondo Ostiz
Cisco Employee
Cisco Employee

Hi Martin,

What you are describing could very well happen if your clients need to establish several connections to get the full content of the webpage. Can you please check this point?

If that is the case, I'm afraid there is nothing we can do to solve your issue. When the MAXCONN threshold is reached for a server, no new connections will be sent to it, so it can happen that some of the connections for one single client are sent to the sorry server instead.

The only way around this issue would be to add more servers into your farm. This way, even if one of the server reaches the MAXCONN situation, there would be other servers still available to serve the request without having it sent to the sorry server.

I wish I had a better answer for you

Daniel

cw00dward
Level 1
Level 1

Martin Stringer wrote:

Hi,

Can someone help explain how to get around some of the best corporate websites overloading with HTTP?  We have configured the CSM with max conns limit and a redirect to an external site (sorry server).  When users connect close to the connection limit part of their web request is from our webservers the rest is redirected as the servers go out of service because of maxconns.  The connections on the serverfarm are not a 1 to 1 with the actual website page.

How do we make sure that the user is served the entire page whilst maintaining a connection limit to protect our webservers?

Here is an example our config:

vserver WEBSITE

serverfarm WEBFARM backup REDIRECT

serverfarm WEBFARM

real name REAL01

maxconns 1000

real name REAL02

maxconns 1000

serverfarm REDIRECT

nat server

no nat client

redirect-vserver VREDIRECT

webhost relocation

http://www.externalsite.com %p

inservice

Kind regards

Martin

How many users are we talking about here? Could you use a hypervisor to possibly manage a virtual server farm and have those serve your requests? You would save on resources by being a lot more efficient, and also get around hardware costs. Good luck, Martin!