Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
Aplica-se a:SQL Server
Detalhes
| Atributo | Valor |
|---|---|
| Nome do Produto | Servidor SQL |
| ID do Evento | 17120 |
| Origem do evento | MSSQLSERVER |
| Componente | SQLEngine |
| Nome simbólico | INIT_SPAWN |
| Texto da mensagem | O SQL Server não pôde gerar %s thread. Verifique o log de erros do 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 do sistema ou em segundo plano falha ao ser criado. Exemplos de tarefas em segundo plano incluem Checkpoint, Lazy Writer, tarefa de recuperação de banco de dados, leitor de log, gravador de log, tarefa de redução automática, gerenciador de comunicação, tarefa de trabalho de refazer paralelo 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 erro:
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.
Motivo
O SQL Server não consegue criar um thread para que uma tarefa em segundo plano comece a ser executada. As causas comuns incluem:
- Pouca ou nenhuma memória disponível no sistema ou dentro do SQL Server
- O SQL Server está no meio de um desligamento
- O serviço do SQL Server não pode ser iniciado devido a uma configuração incorreta ou problema de recursos
Ação do Usuário
Diagnostique outros erros e no sistema e tente novamente a operação.
Problemas de falta de memória: O primeiro passo para iniciar a investigação é verificar se há pouca memória ou condições de falta de memória. Examine o log de eventos do sistema e os logs de erros SQL. Para obter informações sobre como solucionar problemas, consulte Solucionar problemas de falta de memória ou falta de memória no SQL Server
Resolver protocolos mal configurados Um problema comum que foi relatado inclui protocolos do SQL Server configurados incorretamente. Para obter mais informações, consulte Não será possível iniciar o SQL Server se todos os protocolos estiverem desativados. 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.Resolver problemas de configuração e atualização de TLS Outro problema comum que foi relatado inclui a configuração TLS no servidor, impedindo que o SQL Server crie 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.Certifique-se de configurar o TLS corretamente para o SQL Server. Para obter informações sobre as atualizações necessárias, consulte Suporte a TLS 1.2 para Microsoft SQL Server.
Resolver problemas de certificados de criptografia Outro problema comum é a configuração incorreta de certificados TLS/SSL que levam o SQL Server a não ser capaz de 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 O serviço do SQL Server não pode ser iniciado depois de configurar uma instância para usar um certificado Secure Sockets Layer