TERMINATE_LISTENER

(Republishing, or using this info in a commercial product/website, is prohibited without permission. All other uses are permitted. If in doubt, please ask.)

(Back to main page…)

Description:

This wait type is when a thread is waiting for an SNI listener to be destroyed. The SQL Server Network Interface (SNI) protocol layer is a generic framework for encapsulating TDS packets and communicating with clients over whatever protocol has been configured.

(Books Online description: N/A)

Questions/comments on this wait type? Click here to send Paul an email, especially if you have any information to add to this topic.

Added in SQL Server version:

2014

Removed in SQL Server version:

N/A

Extended Events wait_type value:

The map_key value in sys.dm_xe_map_values is 975 in 2014 RTM. After 2014 RTM, you must check the DMV to get the latest value as some map_key values have changed in later builds.

Other information:

N/A

Known occurrences in SQL Server (list number matches call stack list):

  1. Waiting for a listener to be destroyed (in this case, after dropping a Service Broker endpoint)

Abbreviated call stacks (list number matches known occurrences list):

  1. SOS_Task::PostWait+9e
    EventInternal<SuspendQueueSLock>::Wait+25e
    SNIAutoEvent::Wait+88
    SNITerminateListener+17c
    CSbTransportMgr::StopEndpoint+3d
    CSbTransportMgr::NotifyEndpointChange+4c0
    CUcsManager::ChangeNotification+33c
    CSbMsgDispatcher::NotifyEndpointChange+2f5
    IBrokerEndpointConfig::PostTransactionCommitNotify_Drop+fa
    VLR_RegisterEndpoint::CommitAndRelease+ec
    XdesRMReadWrite::CommitAllVirtualLogRecs+e4
    XdesRMReadWrite::PreDestruct+23e
    XdesRMFull::~XdesRMFull+b2
    XdesRMFull::`vector deleting destructor’+14
    XactRM::SinglePhaseCommit+1e3
    XactRM::CommitInternal+472
    FullXactImp::Commit+33f
    CMsqlXactInternalReadWrite::Commit+19
    CMsqlXactImp::Commit+1d6
    CXStmtDDL::FinishNormalImp+e1
    CMsqlExecContext::ExecuteStmts<0,1>+9d8
    CMsqlExecContext::FExecute+a58