Unkillable Sessions

brendan_boelke
Member Posts: 6
We have a customer who is getting sessions that cannot be killed. I modified the Session page to allow for Deletion (STOPSESSION) but these sessions refuse to die, and are tying up licenses. The only way to clear them is a service/server restart. Has anyone had any experience with this? NAV 2013 R2 with SQL Server 2008 R2.
0
Answers
-
Stopsession will not be able to kill session always. Check here for more info:https://msdn.microsoft.com/en-us/library/hh168240(v=nav.90).aspx
Furthermore, sometimes session does not exist anymore but still exists in active session table. If you try to kill it via powershell remove-navsession, you receive message like: session does not exists. Not sure if it is ok in that situation to simply remove record from active session table.0 -
You should update to the latest cumulative update (technical). Also you can try to kill the sessions directly, if you restart the NST.
If the sessions can not be killed, then you can find the session working forever in the activity monitor of the sql server. With the sql profiler you can trace the session.
If you do so, you can recognize which process causes this behaviour.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions