473,396 Members | 1,935 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ThreadAbort Exceptions !! HELP !!

I've seen many blogs address this issue and always end up associating it
with the infamous Response.Redirect without the second parameter. Our web
team assures me they've exhaustively gone thru the entire website and taken
care of this issue on their end.

We still get a handful of these during our busiest times. The stack trace
seems to usually point at a webservice not an aspx page.
For instance...

System.Threading.ThreadAbortException: Thread was being aborted. at
System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32
millisecondsTimeout, Boolean exitContext) at
System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean
exitContext) at System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WWDBV2.wsOrders.Orders.GetDetailsByOrderID(Int32 lngIBO, String strSession,
Int32 lngOrderID, Boolean blnGetDetails, Boolean blnIncludeDeleted,
ViewModes vm) at WWDBV2.eApp.Details.Page_Load(Object sender, EventArgs e)
where WWDBV2.wsOrders is a webservice on a different server inside the
firewall. Since our webservices are obviously not redirecting anything then
that is not the issue. During busy times we might have a 5-600 users
consistently using our ordering system. With a 4-cluster web front-end and
a 2-cluster webservice middle-tier I'd think we should not have any
performance issues.

Our SQL Server is a single dual-proc machine (soon to be clustered with
another 4-proc box). Our current box rarely goes over 75% CPU and all other
stats are fine. The only thing I haven't personally monitered is the
network stats. The web cluster is wired to the middle tier on a 100MB
connection. The middle tier is connected to the SQL box by a dedicated 1 GB
connection so I really cannot imagine bandwidth as a problem here.

I'm pulling my hair out here and I already don't have enough of that!!
Does anyone have a clue what I could be missing here?

The manager in the web department is freaking out on us and insisting that
the "data guys" have screwed something up.

Thank you for any help ... anything at all.
Mar 31 '06 #1
5 4420
Using Response.Redirect or Server.Transfer from within error handling
structures (try / catch) will cause this, but I suppose you've verified
that?

"Tim Greenwood" <tim_greenwood A-T yahoo D-O-T com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
I've seen many blogs address this issue and always end up associating it
with the infamous Response.Redirect without the second parameter. Our
web team assures me they've exhaustively gone thru the entire website and
taken care of this issue on their end.

We still get a handful of these during our busiest times. The stack trace
seems to usually point at a webservice not an aspx page.
For instance...

System.Threading.ThreadAbortException: Thread was being aborted. at
System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32
millisecondsTimeout, Boolean exitContext) at
System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean
exitContext) at System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WWDBV2.wsOrders.Orders.GetDetailsByOrderID(Int32 lngIBO, String
strSession, Int32 lngOrderID, Boolean blnGetDetails, Boolean
blnIncludeDeleted, ViewModes vm) at WWDBV2.eApp.Details.Page_Load(Object
sender, EventArgs e)
where WWDBV2.wsOrders is a webservice on a different server inside the
firewall. Since our webservices are obviously not redirecting anything
then that is not the issue. During busy times we might have a 5-600 users
consistently using our ordering system. With a 4-cluster web front-end
and a 2-cluster webservice middle-tier I'd think we should not have any
performance issues.

Our SQL Server is a single dual-proc machine (soon to be clustered with
another 4-proc box). Our current box rarely goes over 75% CPU and all
other stats are fine. The only thing I haven't personally monitered is
the network stats. The web cluster is wired to the middle tier on a 100MB
connection. The middle tier is connected to the SQL box by a dedicated 1
GB connection so I really cannot imagine bandwidth as a problem here.

I'm pulling my hair out here and I already don't have enough of that!!
Does anyone have a clue what I could be missing here?

The manager in the web department is freaking out on us and insisting that
the "data guys" have screwed something up.

Thank you for any help ... anything at all.

Mar 31 '06 #2
Yes that has been completely verified but again the stack traces point to
the aborts occurring during a call to a webservice. In fact every single
thread abort we are getting is like that.
"Stuart Irving" <sp**@stuartirving.net> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Using Response.Redirect or Server.Transfer from within error handling
structures (try / catch) will cause this, but I suppose you've verified
that?

"Tim Greenwood" <tim_greenwood A-T yahoo D-O-T com> wrote in message
news:OG**************@TK2MSFTNGP10.phx.gbl...
I've seen many blogs address this issue and always end up associating it
with the infamous Response.Redirect without the second parameter. Our
web team assures me they've exhaustively gone thru the entire website and
taken care of this issue on their end.

We still get a handful of these during our busiest times. The stack
trace seems to usually point at a webservice not an aspx page.
For instance...

System.Threading.ThreadAbortException: Thread was being aborted. at
System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32
millisecondsTimeout, Boolean exitContext) at
System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean
exitContext) at System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WWDBV2.wsOrders.Orders.GetDetailsByOrderID(Int32 lngIBO, String
strSession, Int32 lngOrderID, Boolean blnGetDetails, Boolean
blnIncludeDeleted, ViewModes vm) at WWDBV2.eApp.Details.Page_Load(Object
sender, EventArgs e)
where WWDBV2.wsOrders is a webservice on a different server inside the
firewall. Since our webservices are obviously not redirecting anything
then that is not the issue. During busy times we might have a 5-600
users consistently using our ordering system. With a 4-cluster web
front-end and a 2-cluster webservice middle-tier I'd think we should not
have any performance issues.

Our SQL Server is a single dual-proc machine (soon to be clustered with
another 4-proc box). Our current box rarely goes over 75% CPU and all
other stats are fine. The only thing I haven't personally monitered is
the network stats. The web cluster is wired to the middle tier on a
100MB connection. The middle tier is connected to the SQL box by a
dedicated 1 GB connection so I really cannot imagine bandwidth as a
problem here.

I'm pulling my hair out here and I already don't have enough of that!!
Does anyone have a clue what I could be missing here?

The manager in the web department is freaking out on us and insisting
that the "data guys" have screwed something up.

Thank you for any help ... anything at all.


Mar 31 '06 #3
As this is in WaitOne my first thought would be a timeout. Not an expert but
could it be something like not having enough worker threads to process
incoming requests ? Have you checked performance counters for queued
requests ?

Please let us know.
--
Patrice

"Tim Greenwood" <tim_greenwood A-T yahoo D-O-T com> a écrit dans le message
de news: OG**************@TK2MSFTNGP10.phx.gbl...
I've seen many blogs address this issue and always end up associating it
with the infamous Response.Redirect without the second parameter. Our
web team assures me they've exhaustively gone thru the entire website and
taken care of this issue on their end.

We still get a handful of these during our busiest times. The stack trace
seems to usually point at a webservice not an aspx page.
For instance...

System.Threading.ThreadAbortException: Thread was being aborted. at
System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32
millisecondsTimeout, Boolean exitContext) at
System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean
exitContext) at System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WWDBV2.wsOrders.Orders.GetDetailsByOrderID(Int32 lngIBO, String
strSession, Int32 lngOrderID, Boolean blnGetDetails, Boolean
blnIncludeDeleted, ViewModes vm) at WWDBV2.eApp.Details.Page_Load(Object
sender, EventArgs e)
where WWDBV2.wsOrders is a webservice on a different server inside the
firewall. Since our webservices are obviously not redirecting anything
then that is not the issue. During busy times we might have a 5-600 users
consistently using our ordering system. With a 4-cluster web front-end
and a 2-cluster webservice middle-tier I'd think we should not have any
performance issues.

Our SQL Server is a single dual-proc machine (soon to be clustered with
another 4-proc box). Our current box rarely goes over 75% CPU and all
other stats are fine. The only thing I haven't personally monitered is
the network stats. The web cluster is wired to the middle tier on a 100MB
connection. The middle tier is connected to the SQL box by a dedicated 1
GB connection so I really cannot imagine bandwidth as a problem here.

I'm pulling my hair out here and I already don't have enough of that!!
Does anyone have a clue what I could be missing here?

The manager in the web department is freaking out on us and insisting that
the "data guys" have screwed something up.

Thank you for any help ... anything at all.

Mar 31 '06 #4
Hmm no I haven't checked that one. The focus by everyone else has been SQL
Server and I just don't believe that's the problem. Thanks for the input.
Sunday night is our heavy processing time so I'll have to wait till then to
try this out.
"Patrice" <sc****@chez.com> wrote in message
news:u5**************@TK2MSFTNGP14.phx.gbl...
As this is in WaitOne my first thought would be a timeout. Not an expert
but could it be something like not having enough worker threads to process
incoming requests ? Have you checked performance counters for queued
requests ?

Please let us know.
--
Patrice

"Tim Greenwood" <tim_greenwood A-T yahoo D-O-T com> a écrit dans le
message de news: OG**************@TK2MSFTNGP10.phx.gbl...
I've seen many blogs address this issue and always end up associating it
with the infamous Response.Redirect without the second parameter. Our
web team assures me they've exhaustively gone thru the entire website and
taken care of this issue on their end.

We still get a handful of these during our busiest times. The stack
trace seems to usually point at a webservice not an aspx page.
For instance...

System.Threading.ThreadAbortException: Thread was being aborted. at
System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32
millisecondsTimeout, Boolean exitContext) at
System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean
exitContext) at System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WWDBV2.wsOrders.Orders.GetDetailsByOrderID(Int32 lngIBO, String
strSession, Int32 lngOrderID, Boolean blnGetDetails, Boolean
blnIncludeDeleted, ViewModes vm) at WWDBV2.eApp.Details.Page_Load(Object
sender, EventArgs e)
where WWDBV2.wsOrders is a webservice on a different server inside the
firewall. Since our webservices are obviously not redirecting anything
then that is not the issue. During busy times we might have a 5-600
users consistently using our ordering system. With a 4-cluster web
front-end and a 2-cluster webservice middle-tier I'd think we should not
have any performance issues.

Our SQL Server is a single dual-proc machine (soon to be clustered with
another 4-proc box). Our current box rarely goes over 75% CPU and all
other stats are fine. The only thing I haven't personally monitered is
the network stats. The web cluster is wired to the middle tier on a
100MB connection. The middle tier is connected to the SQL box by a
dedicated 1 GB connection so I really cannot imagine bandwidth as a
problem here.

I'm pulling my hair out here and I already don't have enough of that!!
Does anyone have a clue what I could be missing here?

The manager in the web department is freaking out on us and insisting
that the "data guys" have screwed something up.

Thank you for any help ... anything at all.


Mar 31 '06 #5
Well we checked for queued requests last night and there were none during
the busiest 3 hour period of the week. Looks like our SQL server box is
really just this busy. We will have to go down a different road. Thanks
for taking time to respond!

"Patrice" <sc****@chez.com> wrote in message
news:u5**************@TK2MSFTNGP14.phx.gbl...
As this is in WaitOne my first thought would be a timeout. Not an expert
but could it be something like not having enough worker threads to process
incoming requests ? Have you checked performance counters for queued
requests ?

Please let us know.
--
Patrice

"Tim Greenwood" <tim_greenwood A-T yahoo D-O-T com> a écrit dans le
message de news: OG**************@TK2MSFTNGP10.phx.gbl...
I've seen many blogs address this issue and always end up associating it
with the infamous Response.Redirect without the second parameter. Our
web team assures me they've exhaustively gone thru the entire website and
taken care of this issue on their end.

We still get a handful of these during our busiest times. The stack
trace seems to usually point at a webservice not an aspx page.
For instance...

System.Threading.ThreadAbortException: Thread was being aborted. at
System.Threading.WaitHandle.WaitOneNative(IntPtr waitHandle, UInt32
millisecondsTimeout, Boolean exitContext) at
System.Threading.WaitHandle.WaitOne(Int32 millisecondsTimeout, Boolean
exitContext) at System.Net.HttpWebRequest.GetRequestStream() at
System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
methodName, Object[] parameters) at
WWDBV2.wsOrders.Orders.GetDetailsByOrderID(Int32 lngIBO, String
strSession, Int32 lngOrderID, Boolean blnGetDetails, Boolean
blnIncludeDeleted, ViewModes vm) at WWDBV2.eApp.Details.Page_Load(Object
sender, EventArgs e)
where WWDBV2.wsOrders is a webservice on a different server inside the
firewall. Since our webservices are obviously not redirecting anything
then that is not the issue. During busy times we might have a 5-600
users consistently using our ordering system. With a 4-cluster web
front-end and a 2-cluster webservice middle-tier I'd think we should not
have any performance issues.

Our SQL Server is a single dual-proc machine (soon to be clustered with
another 4-proc box). Our current box rarely goes over 75% CPU and all
other stats are fine. The only thing I haven't personally monitered is
the network stats. The web cluster is wired to the middle tier on a
100MB connection. The middle tier is connected to the SQL box by a
dedicated 1 GB connection so I really cannot imagine bandwidth as a
problem here.

I'm pulling my hair out here and I already don't have enough of that!!
Does anyone have a clue what I could be missing here?

The manager in the web department is freaking out on us and insisting
that the "data guys" have screwed something up.

Thank you for any help ... anything at all.


Apr 3 '06 #6

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

Similar topics

16
by: David Turner | last post by:
Hi all I noticed something interesting while testing some RAII concepts ported from C++ in Python. I haven't managed to find any information about it on the web, hence this post. The problem...
21
by: dkcpub | last post by:
I'm very new to Python, but I couldn't find anything in the docs or faq about this. And I fished around in the IDLE menus but didn't see anything. Is there a tool that can determine all the...
26
by: OvErboRed | last post by:
I just read a whole bunch of threads on microsoft.public.dotnet.* regarding checked exceptions (the longest-running of which seems to be <cJQQ9.4419 $j94.834878@news02.tsnz.net>. My personal...
9
by: Gianni Mariani | last post by:
I'm involved in a new project and a new member on the team has voiced a strong opinion that we should utilize exceptions. The other members on the team indicate that they have either been burned...
6
by: RepStat | last post by:
I've read that it is best not to use exceptions willy-nilly for stupid purposes as they can be a major performance hit if they are thrown. But is it a performance hit to use a try..catch..finally...
1
by: EagleRed | last post by:
I am writing an ASP.NET application in which I am using the Response.Redirect() call. I noticed that I catch a ThreadAbort Exception after making the call. Indeed the documentation states that this...
1
by: javatopia | last post by:
Hello, I have a simple redirect on a login page: Login_Click() { // ... do the login verification try { Response.Redirect("index.aspx"); }
1
by: Anonieko | last post by:
Understanding and Using Exceptions (this is a really long post...only read it if you (a) don't know what try/catch is OR (b) actually write catch(Exception ex) or catch{ }) The first thing I...
2
by: Zytan | last post by:
I know that WebRequest.GetResponse can throw WebException from internet tutorials. However in the MSDN docs: http://msdn2.microsoft.com/en-us/library/system.net.webrequest.getresponse.aspx It...
0
RedSon
by: RedSon | last post by:
Chapter 3: What are the most common Exceptions and what do they mean? As we saw in the last chapter, there isn't only the standard Exception, but you also get special exceptions like...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.