MSSQLSERVER_17120

Aplica-se a:SQL Server

Detalhes

Atributo Valor
Nome do Produto SQL Server
ID do evento 17120
Origem do Evento MSSQLSERVER
Componente SQLEngine
Nome simbólico INIT_SPAWN
Texto da mensagem O SQL Server não conseguiu gerar o thread %s. Verifique o log de erros SQL Server e o log de erros do sistema operacional para obter informações sobre possíveis problemas relacionados.

Explicação

O erro 17120 é gerado quando um thread que executa tarefas de sistema ou em segundo plano não é criado. Exemplos de tarefas em segundo plano incluem Checkpoint, Lazy Writer, Database Recovery task, Log Reader, Log Writer, Auto shrink task, Communication manager, Parallel Redo worker task e muito mais. O %s no erro contém o nome da tarefa. Aqui estão exemplos de como esse erro pode aparecer nos logs de erros:

Error: 17120, Severity: 16, State: 1.
SQL Server could not spawn checkpoint thread. Check the SQL Server error log and the operating system error log for information about possible related problems.
Error: 17120, Severity: 16, State: 1.
SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the operating system error log for information about possible related problems.
Error: 17120, Severity: 16, State: 1.
SQL Server could not spawn log writer thread. Check the SQL Server error log and the operating system error log for information about possible related problems.

Causa

SQL Server não é possível criar um thread para que uma tarefa em segundo plano comece a ser executada. As causas mais comuns incluem:

  • Memória baixa ou sem memória disponível no sistema ou dentro de SQL Server
  • SQL Server está no meio de um desligamento
  • SQL Server é que o serviço não pode ser iniciado devido a um problema de configuração incorreta ou de recurso

Ação do usuário

Diagnosticar outros erros e no sistema e repetir a operação.

  1. Problemas de memória insuficiente: A primeira etapa para iniciar a investigação é marcar para condições de memória baixa ou memória insuficiente. Examine os logs de eventos do sistema e os logs de erros do SQL. Para obter informações sobre como solucionar problemas, consulte Solucionar problemas de memória insuficiente ou memória insuficiente no SQL Server

  2. Resolver protocolos configurados incorretamente Um problema comum relatado inclui protocolos de SQL Server configurados incorretamente. Para obter mais informações, consulte SQL Server não pode iniciar se todos os protocolos estiverem desabilitados. Você pode observar a seguinte sequência de erros no log de erros:

    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0xd, status code 0x4. Reason: **All protocols are disabled. The data is invalid**.
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0xd, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The data is    invalid.
    Error: 17826, Severity: 18, State: 3.
    Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the    error log.
    Error: 17120, Severity: 16, State: 1.
    SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the operating system error log for information about possible related    problems.
    
  3. Resolver problemas de configuração e atualização do TLS Outro problema comum relatado inclui a configuração de TLS no servidor impedindo que SQL Server criem uma tarefa de comunicação em segundo plano.

    Error: 26011, Severity: 16, State: 1.
    The server was unable to initialize encryption because of a problem with a security library. The security library may be missing. Verify that security.dll exists on  the    system.
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x139f, status code 0x80. Reason: Unable to initialize SSL support. The group or resource is not in the correct state  to    perform the requested operation.
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x139f, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. The group  or    resource is not in the correct state to perform the requested operation.
    Error: 17826, Severity: 18, State: 3.
    Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in  the    error log.
    Error: 17120, Severity: 16, State: 1.
    SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    

    Verifique se você configurou o TLS corretamente para SQL Server. Para obter informações sobre as atualizações necessárias, consulte Suporte do TLS 1.2 para Microsoft SQL Server

  4. Resolver problemas de certificados de criptografia Outro problema comum é a configuração incorreta de certificados TLS/SSL que levam a SQL Server não conseguir iniciar e iniciar um thread.

    Error: 26014, Severity: 16, State: 1.
    Unable to load user-specified certificate [Cert Hash(sha1) "%hs"]. The server will not accept a connection. You should verify that the certificate is correctly installed.    See "Configuring Certificate for Use by SSL" in Books Online.
    
    Error: 17182, Severity: 16, State: 1.
    TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
    
    Error: 17826, Severity: 18, State: 3.
    Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the    error log.
    
    Error: 17120, Severity: 16, State: 1.
    SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    

    Para obter mais informações, consulte SQL Server serviço não pode ser iniciado depois de configurar uma instância para usar um certificado de Camada de Soquetes Seguros