I have noticed a weird issue with rclone and CentOS 8.
I have a server with a rclone mounted to a b2 drive. Occasionally throughout the day, we copy files into that directory.
On my CentOS 6/7 boxes, it works rock solid. On the CentOS 8 box, it will randomly freeze. My logfile set to info did not show anything, I am waiting for it to happen again with debug.
When I do a ls -l /directory it freezes, when I do a df -h, it freezes. I have a third directory with a symlink and that also freezes. I cannot unmount the drive and can only reboot.
Clearly I need a log to provide but here is my mount command
This is the end of the logfile. I am waiting for it to happen again with DEBUG enabled
2020/02/21 17:11:28 INFO : 202002/01_S_00019249_01_T_0001.jpg: Removed from cache
2020/02/21 17:11:28 INFO : 202002/01_S_00019249_01_T_0002.jpg: Removed from cache
2020/02/21 17:11:28 INFO : 202002/01_S_00019252_01_G_0001.jpg: Removed from cache
2020/02/21 17:11:28 INFO : 202002/01_S_00019249_01_G_0001.jpg: Removed from cache
2020/02/21 17:11:28 INFO : 202002/01_S_00019252_01_G_0003.jpg: Removed from cache
2020/02/21 17:11:28 INFO : 202002/01_S_00019252_01_G_0002.jpg: Removed from cache
2020/02/21 17:11:28 INFO : 202002/01_S_00019249_01_T_0003.jpg: Removed from cache
2020/02/21 17:11:28 INFO : Cleaned the cache: objects 8 (was 15), total size 6.532M (was 9.500M)
2020/02/21 17:12:28 INFO : Cleaned the cache: objects 8 (was 8), total size 2.901M (was 6.532M)
2020/02/21 17:13:28 INFO : Cleaned the cache: objects 8 (was 8), total size 2.901M (was 2.901M)
2020/02/21 17:14:28 INFO : Cleaned the cache: objects 8 (was 8), total size 2.901M (was 2.901M)
2020/02/21 17:15:28 INFO : Cleaned the cache: objects 8 (was 8), total size 2.901M (was 2.901M)
I will try and do a kill -QUIT next time around. It is a production machine so time is a bit of the essence. Also, just to note, I have the exact same config with the exact same VPS environment. The only difference is CentOS 8 vs 7
Right now, the only thing I've been able to do is to simply do a pkill -9 rclone and then re-mound as a script. It runs every 10 minutes. Very dirty I know.