Connection went to suspended in sql server 2005

  • 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?

  • 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

  • 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...

  • 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.

  • Status of SPID,

    Suspended- Waiting on some resources or thread or on another query to complete.

    Use this query to find what it is waiting on along with wait_type.[/url]

    [font="Tahoma"]
    --SQLFRNDZ[/url]
    [/font]

  • 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