open-horizon / open-horizon/devops

Log files are consuming too much disk space.

Open
#140 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.
image

Other containers have somewhat large logs but are dwarfed by these two.

Steps to Reproduce the Problem:

  1. Deploy the OpenHorizon Management Hub
  2. Let the management hub run under load for a while.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.