log files growing without limit
search cancel

log files growing without limit

book

Article ID: 187299

calendar_today

Updated On:

Products

BlazeMeter

Issue/Introduction

We are being hit by space being filled up, and I’m seeing that the docker logs are growing w/o limit.

 

I’m not really sure if this is by design or an oversight, but I need to find a way to keep this under control, and for the time being safely prune it.

 

How can I accomplish this?

Set the log size to a limit

Prune the existing log files

 

Please advise:

 

Addtl Info:

Location of docker container: /var/lib/docker/containers/3e9daa0bae31ab9e8ab2377bb394da9f9a661c96566f02904eeb3ab27c60ab80

Log file: -rw-r----- 1 root root 994762016 Mar 25 10:35 3e9daa0bae31ab9e8ab2377bb394da9f9a661c96566f02904eeb3ab27c60ab80-json.log

Environment

Release :

Component : BLOCKMASTER

Resolution

I double-checked with our R&D team to see if there was anything in the Blazemeter application settings to help configure, or control the size of the logs, and there isn't anything on our end to help with this.
However, they did say you can build an autosys job, or something similar, to clean up the logs to conserve space.
Since these are your own systems, you will need to build this yourself, or work with your local Linux Admin to help put something in place.