How does "CPU Usage" and "Memory Usage" work for a running job? #695
-
So I have a Python script running inside the Shell Plugin and its running really well. I just cant get my head around how Cronicle calculates those stats. (both above screenshots were taken at exact same time) Actually on server, overall CPU usage is 4% and overall RAM is 10GB/30GB used. Regarding CPU, why its showing 13.99% even though total server CPU usage is 4%. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Cronicle calculates stats by executing CPU is calculated as percentage of one single CPU core (this is also how utilities like Your memory pie chart is red because your job is using over 1 GB RAM (again, this is based solely on your own job processes, not your server as a whole), and Cronicle is configured to use 1 GB as a "maximum" for the visual pie fill percent calculation. You can change this by setting the job_memory_max config prop in your Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Yup, I understand, but Cronicle still needs some value to base the pie chart "maximum fill" level on, so if |
Beta Was this translation helpful? Give feedback.
Yup, I understand, but Cronicle still needs some value to base the pie chart "maximum fill" level on, so if
job_memory_max
is undefined or zero, it defaults to 1 GB, just for the purpose of the UI pie.