ThreadAbortException

Author Message
 Posted 5/10/2017 7:32:16 AM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: Awaiting Activation
Last Login: 11/6/2019 4:44:23 AM
Posts: 595, Visits: 3,784
HI Ben,

My ES has started spitting out a lot of "Thread was being aborted." alerts.

Details: ThreadAbortException
            Thread was being aborted.

            Source : MicroFour StrataFrame Enterprise Server

            Stack Trace:

            atMicroFour.StrataFrame.Enterprise.Server.RemoteDataSource.ProcessRequest(HttpContextcontext)

It's happening on multiple clients. Any suggestions on what to look for in troubleshooting this?

-Larry
Post #33499
Add to Twitter Add to Facebook
 Posted 5/11/2017 11:03:48 AM
StrataFrame Developer

StrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame Developer

Group: StrataFrame Developers
Last Login: 5/16/2018 3:20:37 AM
Posts: 2,982, Visits: 2,482
Are your clients experiencing the issues?  Or are the reports coming in with random IP addresses from places like Russia or China?

Also, we don't abort any threads in the ES, so it could be that your application pool is getting recycled.  You might check the IIS logs and see if there are any messages about it there.
Post #33500
Add to Twitter Add to Facebook
 Posted 5/16/2017 12:58:59 PM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: Awaiting Activation
Last Login: 11/6/2019 4:44:23 AM
Posts: 595, Visits: 3,784
The issue is being seen by clients on my network. All of the ES error messages contain internal IP addresses. I took a look at the server application log and found some
ASP.NET 2.0 warnings

Event code: 3001
Event message: The request has been aborted.
Event time: 5/16/2017 2:02:44 PM
Event time (UTC): 5/16/2017 9:02:44 PM
Event ID: 1e61edd185584442a086aef316b599de
Event sequence: 3124190
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT-1-131394112699117893
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\inetpub\StrataFrameES\
    Machine name: HSDSFES
 
Process information:
    Process ID: 1032
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpException
    Exception message: Request timed out.
 
Request information:
    Request URL: <Removed before posting>
    Request path: /RemoteDataSource.ashx
    User host address: 172.21.12.34
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 33
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:
 
Post #33501
Add to Twitter Add to Facebook
 Posted 5/16/2017 3:09:41 PM
StrataFrame Developer

StrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame DeveloperStrataFrame Developer

Group: StrataFrame Developers
Last Login: 5/16/2018 3:20:37 AM
Posts: 2,982, Visits: 2,482
Hrm.  Those HttpException messages with "request timed out" will cause a thread abort.  When the server thinks the request is taking too long, it will kill the thread that's working.  Do you know if your users are getting it in a specific place in the application?  Is there a query that's starting to take too long to run? Maybe the database size is becoming a factor as it grows?  Many, many questions.
Post #33502
Add to Twitter Add to Facebook
 Posted 5/17/2017 10:19:01 AM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: Awaiting Activation
Last Login: 11/6/2019 4:44:23 AM
Posts: 595, Visits: 3,784
I can't pin it on any singe query. I had my DBA take a look at the SQL and he couldn't see any performance issues there. But just to clarify, is the timeout related to traffic between the ES server and the SQL box or could it possibly be an issue between the ES server and the client? Also what does the transaction timeout in the ES data source configuration do? How is it related to the SQL command timeout?
Post #33503
Add to Twitter Add to Facebook
 Posted 5/17/2019 11:55:06 AM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: Awaiting Activation
Last Login: 11/6/2019 4:44:23 AM
Posts: 595, Visits: 3,784
Just in case someone comes across this thread, we believe that the issue we were having was actually being caused by our network. The problem went away for good after an upgrade to the switch stacks in our main server room. Ever since, ES has been rock solid for our organizationSmile
-Larry
Post #33644
Add to Twitter Add to Facebook
 Posted 8/13/2019 8:35:14 AM
Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: 11/6/2019 8:23:41 AM
Posts: 943, Visits: 40,436
Thanks Larry I always love when developers post resolutions. Much appreciated.

Keith Chisarik
Post #33647
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.