mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
![]() At this moment it's difficult to monitor a build cpu and memory usage. This must be done from outside the container to avoid to kill the cat by opening the box. This commit adds a daemonic thread launched by the builder. This thread will read the memory and cpu stats of the running dockers and report their stats in a log file into the logs directory of the builds. The log file format is made to be easily mixed with the build logs and spot memory leaks or cpu overload during builds. |
||
---|---|---|
.. | ||
builder.py | ||
dbmover.py | ||
leader.py | ||
tester.py | ||
tools.py |