Managing RGW container logs filling up disk space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am running a Ceph Octopus cluster deployed with cephadm. I have three RGW
nodes, the RGW containers are writing their logs to
/var/lib/docker/containers/<container_id>/<container_id>-json.log

Over time this causes the mount point to become 100% utilized.
What is the recommended way to manage or limit these logs?
- Should I configure a log driver in /etc/docker/daemon.json? If so, can
this be done through Ceph/cephadm, or should it be configured manually on
each node?
- Would setting up a logrotate for /var/lib/docker/containers/*/*-json.log
be appropriate?
- Are there other best practices to control container log growth in this
setup?

Any advice or examples from others managing this would be greatly
appreciated.

Thanks!

Sinan
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux