You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Question] sync hugegraph data daily with rocksdb, how to handle lots of g/logs #2257
changed the title [-]定时任务往hugegraph里同步数据,使用本地rocksdb存储,在g文件夹了产生了大量日志,要怎么设置才能不让日志占满磁盘呢[/-][+][Question] sync hugegraph data daily with rocksdb, how to handle lots of g/logs[/+]on Jul 26, 2023
Activity
[-]定时任务往hugegraph里同步数据,使用本地rocksdb存储,在g文件夹了产生了大量日志,要怎么设置才能不让日志占满磁盘呢[/-][+][Question] sync hugegraph data daily with rocksdb, how to handle lots of g/logs[/+]imbajin commentedon Jul 26, 2023
if u have a lot of rocksdb logs(and u dont't need them), try to just clean it with crontab?
the old log will be auto truncated by default I remember 🦙
xxyp commentedon Jul 26, 2023
定时任务是10分钟同步一次。这个日志的最长保留时间是多少天呀,因为同步的频率太高了,没有及时清理完?
用crontab清也可以,就是麻烦一点
imbajin commentedon Jul 26, 2023
forever if u don't delete it? (by default)
xxyp commentedon Jul 26, 2023
那现在除了定时清理之外,没有其他的办法可以设置了,是吗?