473,761 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ThreadAbortExce ption in Load Balancing

This question may look silly.

We have a cluster of Frontend ASP.NET Web Service calls other cluster
of other ASP.NET Web Services. There is a hardware F5 BigIP load
balancer between these two clusters. The topology is like below.

Frontend Server1 --\ /--Backend
Server 1
\ /
Frontend Server2 --------- Load Balancer ----------- Backend Server 2
/ \
Frontend Server3 --/ \ -- Backend
Server 3

The LB is now configured as "sticky connection". That is, if Frontend
Server 1 request for the first time, it will locate one Backend
Server, say Server 2 to respond. And, for the next configurable time
span, all requests from Frontend Server 1 will be directed to Backend
Server 2. Everything is fine in such config.

Now, Operation team wants to reconfigure LB to disable sticky
connection. LB will randomly select Backend server for each request
from Frontend. Then, Frontend servers get a lot of
ThreadAbortExce ption. The thread abort exception is due to Webservice
invocation to backend is hanged. And IIS6 abort one thread if it
doesn't complete one request in 90 seconds.

This looks tricky. It seems that ASP.NEThas some problem to
communicate with BigIP.
The platform are Win 2k3 and ASP.NET is still in 1.1(what a pity:).

Does anyone have similar experience with ASP.NET load balancing?
or any idea to solve this issue?

Thanks.

Jun 8 '07 #1
1 2580
there is no inherent problem with your configuration, as I've used it
several times and never use sticky.

there are several problems to look for:

1) ntlm authentication timeouts (usually kerberos not config correctly)
2) session problems with the web service
3) not keeping the backend site up with enough traffic
4) a down web service

you should add logging to your application, so you know which backend
fails, and also which backends are taking too long.

-- bruce (sqlwork.com)

Morgan Cheng wrote:
This question may look silly.

We have a cluster of Frontend ASP.NET Web Service calls other cluster
of other ASP.NET Web Services. There is a hardware F5 BigIP load
balancer between these two clusters. The topology is like below.

Frontend Server1 --\ /--Backend
Server 1
\ /
Frontend Server2 --------- Load Balancer ----------- Backend Server 2
/ \
Frontend Server3 --/ \ -- Backend
Server 3

The LB is now configured as "sticky connection". That is, if Frontend
Server 1 request for the first time, it will locate one Backend
Server, say Server 2 to respond. And, for the next configurable time
span, all requests from Frontend Server 1 will be directed to Backend
Server 2. Everything is fine in such config.

Now, Operation team wants to reconfigure LB to disable sticky
connection. LB will randomly select Backend server for each request
from Frontend. Then, Frontend servers get a lot of
ThreadAbortExce ption. The thread abort exception is due to Webservice
invocation to backend is hanged. And IIS6 abort one thread if it
doesn't complete one request in 90 seconds.

This looks tricky. It seems that ASP.NEThas some problem to
communicate with BigIP.
The platform are Win 2k3 and ASP.NET is still in 1.1(what a pity:).

Does anyone have similar experience with ASP.NET load balancing?
or any idea to solve this issue?

Thanks.
Jun 8 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4855
by: yagish | last post by:
Hi Techies, Am really new with the Oracle 9i Forms and am searching for a way to perform Load Balancing in Oracle 9i Forms Application. Its not a J2EE application, so cannot go the OC4J way. I need Load Balancing at 2 levels - 1) Load Balancing of the Forms Server 2) Load Balancing of the Database
3
5164
by: Shabam | last post by:
When a web application becomes overloaded with traffic, one can offload it by load balancing and clustering the front end web servers. What happens when the back-end MSSQL database becomes overloaded? Does MYSQL offer load balancing and clustering?
2
2006
by: Christopher D. Wiederspan | last post by:
I'm wondering if anybody could give me some tips on a good webfarm load-balancing solution for an ASP.NET application. Here's the rundown: we've got 3 identical servers that each have identical content. Currently, we're using dns round-robin to load-balance traffic across the servers. I won't go into all of the issues that we've encountered doing it this way, but there are many. We also have the problem of keeping the content synchronized...
10
2652
by: GeekBoy | last post by:
Okay, I have two identical web servers running Windows 2003 web server. I have an ASP.NET application which runs great on one of them. Dedicated IP address, behind our firewall, etc. Everyone's happy. Now -- how do I take advantage of that second computer to "load-balance" the web site? Will it really give my users a noticable performance increase? How do you accomplish this? I've read many of those MS articles and it's...
6
4067
by: Andrew Robinson | last post by:
I am running two servers with a hardware network load balancing device. I know that to share session information between the two servers I need to implement some type of SQL based session information, but I would simply like to share the SessionID. Mainly for some logging applications. The SessionID does currently seem to be shared between the two servers and I haven't changed anything with my configuration or implemented anything...
0
1550
by: HK | last post by:
I'm wanting to get rid of a hardware load balancer and just use the Windows 2003 software load balancing with 2003 Server Web Edition. I'm wondering if anyone here uploads ASP.NET code to 2 or more servers that are load balanced by Windows Server Network Load Balancing (software load balancing on Windows 2003). If so, or if you're sure of the answer anyway for windows-based load balancing, here's the questions: Can you do just one...
2
2322
by: RahulBose | last post by:
I am trying to implement Load Balancing but facing some problems: A Web farm usually consists of 2 or more computers, orchestrated by some form of load balancing. Consider my scenario: 1. I have an Intranet site say www.intranet.com 2. I arrive at a load balancing machine 3. This machine redirectes me to the machine WebServer01 (contents from www.01.intranet.com are shown) 4. I request another page, for example
3
8651
by: Anthony Smith | last post by:
Can someone point me to a resource or something were I can set this up cleanly. I don't want to re-invest the wheel. I just want the most common way to do this. I know there is a database option and a non- database option. I prefer the none-database option. I will have 2 web servers with PHP installed.
1
2274
by: m.a | last post by:
Hello, I am looking for a hosting solution for my asp.net application. I found that some ISP stated that session states are not preserved in a load balancing system. As I know, if the asp.net is configured to save the session states in SQL server or file system, it would be preserved in load balancing systems. What is the whole story from the hosting point of view?
0
9377
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10136
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9989
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7358
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6640
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5266
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3913
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.