open-horizon / open-horizon/devops
Log files are consuming too much disk space.
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 12
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
Background:
I am with the UNH-InterOperability Lab, and we host a testbed instance of the OpenHorizon Management VM for the community. Recently, we have noticed that our VM hosting the instance has been running out of disk space. Upon further investigation, we found that certain containers are responsible for a sizable chunk of the disk space consumed.
Environment:
We are running Docker v20.10.18 on Ubuntu 20.04 LTS
Problem:
The exchange API and agbot container are generating gargantuan log files consuming ~750 MB and ~2.5 GB of disk space respectively.

Other containers have somewhat large logs but are dwarfed by these two.
Steps to Reproduce the Problem:
- Deploy the OpenHorizon Management Hub
- Let the management hub run under load for a while.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Management Hub deployment on Docker 20.10.18 and inspecting logging for the exchange API and agbot containers. Determine where their Docker logging configuration is defined and verify the fix by running the hub under load until logs remain within a bounded disk footprint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100