-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question about memory usage #135
Comments
I have a very similar issue. In particular the current memory usage is available in a file How is cronicle determining this? Problem is that if it goes above, the container is rebooted quickly. |
Cronicle tracks memory per job by using https://github.com/jhuckaby/Cronicle/blob/master/lib/job.js#L1701-L1830 If you are launching jobs that then spawn their own "detached" processes that don't have a correct PPID (parent PID) set, or if your processes are using virtual rather than resident memory, then it may not track memory correctly. 🤷🏻♂️ |
Understood thanks. |
Summary
Hi, exactly how is the memory usage tracked? Presently its grossly under reporting but that's probably due to the shell script running jobs in the background. Is there a way to JSON output the pid of the actual job so that its more reflective of the actual usage?
In case you're interested, it ends up being a Docker container that's invoked
Thanks!
-Farhan
Steps to reproduce the problem
Your Setup
Operating system and version?
Node.js version?
Cronicle software version?
Are you using a multi-server setup, or just a single server?
Are you using the filesystem as back-end storage, or S3/Couchbase?
Can you reproduce the crash consistently?
Log Excerpts
The text was updated successfully, but these errors were encountered: