Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

277
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!