September 29, 2011 at 1:34 am
Hey,
I am getting big issue in prod server 2005, when client generate the report connection went to suspended.? why ? because other application getting timout problem. .
i just chekced out: sp_who2
It showing connectio id:
SPID LoginName Progran status
123 admin Select suspended
123 ,, ,, suspended
,,
showiing more than 100 same connection was suspended..
Please anyone help me ? why went to suspended? Why other application affected for this?
September 29, 2011 at 9:17 am
I am pretty sure that indicates that the client app is not dropping the connetion once the request has completed.
You need to make sure that the client code opens a connection, does what is needs to do, then drops the connection once complete.
MCITP SQL 2005, MCSA SQL 2012
September 29, 2011 at 9:23 am
What does the below query return?
SELECT wait_type, wait_time, last_wait_type
FROM sys.dm_exec_requests
WHERE session_id = 123
__________________________
Allzu viel ist ungesund...
September 29, 2011 at 9:36 am
It's rather Process (not Connection) has status "Suspended"
(as per BOL: "The session is waiting for an event, such as I/O, to complete").
You should analyze (as it was suggested) sys.dm_exec_requests (and sys.dm_os_tasks) outputs
for this session ID to find the reason for the waiting.
September 29, 2011 at 9:49 am
September 29, 2011 at 9:56 pm
Thank you for information...
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply