Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

290
Visualizações
Node.JS server slow after finishing running heavy task, only restarting helps

I have a function in my node.js server which runs docker containers, listens to stream and is CPU heavy, as I can see when running it in a docker container. After it is done, the server becomes very slow, mostly queries to it's MongoDB database using Mongoose. I tried building the server using production flag but it does not help. Only restarting the service itself makes it fast as it was when it started. I don't understand enough to know what to monitor regarding usage of node.js. How can I find the root cause/make sure node.js cleans up resources after finishing this function?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda