Cron job server(ec2) memory keeps increasing until it shuts down #185
-
Hi, I have a node js server running on ec2 instance with 4gb ram. In that we are using bree to run cron jobs. After restarting the server the memory goes to zero then keeps increasing as the cron jobs runs and then once it reaches max memory server f. Here is the main index.js file that runs I have tried updating to bree's latest version also i.e. 9.0.1 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I don't think this is an issue with Bree but we are looking into some of our setups to see if we see a similar result. You might try running 1 job at a time to see if it is a particular job that is causing the memory creep. |
Beta Was this translation helpful? Give feedback.
-
Are your jobs / processes properly shutting down? If you run |
Beta Was this translation helpful? Give feedback.
-
This is not an issue with Bree, it is an issue with how you architect your jobs. |
Beta Was this translation helpful? Give feedback.
This is not an issue with Bree, it is an issue with how you architect your jobs.