I found another weird stuff that different from the issue mentioned above, here is the first rclone log:
first_rclone_log (github.com)
here is the second:
second_rclone_log (github.com)
And this is my sever log for second rclone log:
2023-12-10T23:57:46Z [info] Started to checked file id complete: cd637860967369dab018986e8595068ef7497cf4-144972-966-1046-jpg
2023-12-10T23:57:49Z [info] Started to checked file id complete: d6e878f252dec2d96cf4810e6fea6017ee8d5292-200849-800-1130-jpg
2023-12-10T23:57:49Z [info] Started to checked file id complete: 76cda65be5c86ebbbeac367255b966a994ed5817-337159-1280-1811-jpg
2023-12-10T23:57:50Z [info] Started to checked file id complete: 7f5d3b044cc4a6b67436fb76d30cc6c5d9f09cc4-372681-1200-1691-jpg
...
2023-12-11T00:01:58Z [info] Response checked file id complete: b0e1c1f229e5a148c788feabee51771a3660824a-212195-1280-720-jpg, timed used: 80.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 1d6bace0bbf82b44b841b8609bade18947738510-507390-1280-1859-jpg, timed used: 70.00
2023-12-11T00:01:58Z [info] Response checked file id complete: ae01b11611703e4f6d287ec70b6fbcc5e00c8ac4-224525-1280-1066-jpg, timed used: 112.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 9d0e904d6f8e1efe7ef54e52d9ddebeaf1f1dab1-60501-780-1038-jpg, timed used: 179.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 213.00
2023-12-11T00:01:58Z [info] Response checked file id complete: a1ca8f99e74cf990714a58ddb2857beb835e6132-245542-1280-775-jpg, timed used: 180.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 76cdec882146c3885a3a1623f94018bc6a8c740d-66318-780-552-jpg, timed used: 197.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 41916ed599e78cfafa176c19908c8645499c8403-294119-1280-1707-jpg, timed used: 193.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 200.00
2023-12-11T00:01:58Z [info] {10075/122.206.190.4} The connection was interrupted or closed by the remote host: java.net.SocketException: Broken pipe
2023-12-11T00:01:58Z [info] Response checked file id complete: 76cd375802cf5cf4e44428568cbba7c26b43e916-101267-1280-720-jpg, timed used: 169.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 189.00
2023-12-11T00:01:58Z [info] Response checked file id complete: ce56234a929c3fc3a0e3ec66103423fb98e4dc3d-34725-780-1024-jpg, timed used: 14.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 188.00
2023-12-11T00:01:58Z [info] Response checked file id complete: ce56234a929c3fc3a0e3ec66103423fb98e4dc3d-34725-780-1024-jpg, timed used: 1.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 0.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 138.00
2023-12-11T00:01:58Z [info] Response checked file id complete: b1d55488b6d12b25a6d02e41bce28ef758979bc9-481723-1280-1817-jpg, timed used: 145.00
2023-12-11T00:01:58Z [info] Response checked file id complete: b1d55488b6d12b25a6d02e41bce28ef758979bc9-481723-1280-1817-jpg, timed used: 204.00
2023-12-11T00:01:58Z [info] Response checked file id complete: b1d55488b6d12b25a6d02e41bce28ef758979bc9-481723-1280-1817-jpg, timed used: 182.00
2023-12-11T00:01:58Z [info] Response checked file id complete: b0e1c1f229e5a148c788feabee51771a3660824a-212195-1280-720-jpg, timed used: 58.00
2023-12-11T00:01:58Z [info] Response checked file id complete: b1d55488b6d12b25a6d02e41bce28ef758979bc9-481723-1280-1817-jpg, timed used: 8.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 13eb7753dc5298ff38a0ec6afecd15beb92c2db6-301592-1280-1707-jpg, timed used: 94.00
When server is checking file exist, like;
2023-12-10T23:57:46Z [info] Started to checked file id complete: cd637860967369dab018986e8595068ef7497cf4-144972-966-1046-jpg
The file is at cache/cd/63/cd637860967369dab018986e8595068ef7497cf4-144972-966-1046-jpg
rclone started to lookup for the file, then stall:
2023/12/10 23:57:46 DEBUG : cache/: Lookup: name="cd"
2023/12/10 23:57:48 DEBUG : : Statfs:
2023/12/10 23:57:48 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:57:53 DEBUG : : Statfs:
2023/12/10 23:57:53 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:01 DEBUG : : Statfs:
2023/12/10 23:58:01 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:09 DEBUG : : Statfs:
2023/12/10 23:58:09 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:17 DEBUG : : Statfs:
2023/12/10 23:58:17 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:25 DEBUG : : Statfs:
2023/12/10 23:58:25 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:33 DEBUG : : Statfs:
2023/12/10 23:58:33 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:41 DEBUG : : Statfs:
2023/12/10 23:58:41 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:49 DEBUG : : Statfs:
2023/12/10 23:58:49 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 23:58:57 DEBUG : : Statfs:
2023/12/10 23:58:57 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
You can see that server checking file for about 3 minutes long:
2023-12-11T00:01:58Z [info] Response checked file id complete: b0e1c1f229e5a148c788feabee51771a3660824a-212195-1280-720-jpg, timed used: 80.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 1d6bace0bbf82b44b841b8609bade18947738510-507390-1280-1859-jpg, timed used: 70.00
2023-12-11T00:01:58Z [info] Response checked file id complete: ae01b11611703e4f6d287ec70b6fbcc5e00c8ac4-224525-1280-1066-jpg, timed used: 112.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 9d0e904d6f8e1efe7ef54e52d9ddebeaf1f1dab1-60501-780-1038-jpg, timed used: 179.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 213.00
2023-12-11T00:01:58Z [info] Response checked file id complete: a1ca8f99e74cf990714a58ddb2857beb835e6132-245542-1280-775-jpg, timed used: 180.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 76cdec882146c3885a3a1623f94018bc6a8c740d-66318-780-552-jpg, timed used: 197.00
2023-12-11T00:01:58Z [info] Response checked file id complete: 41916ed599e78cfafa176c19908c8645499c8403-294119-1280-1707-jpg, timed used: 193.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 200.00
2023-12-11T00:01:58Z [info] {10075/122.206.190.4} The connection was interrupted or closed by the remote host: java.net.SocketException: Broken pipe
2023-12-11T00:01:58Z [info] Response checked file id complete: 76cd375802cf5cf4e44428568cbba7c26b43e916-101267-1280-720-jpg, timed used: 169.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 189.00
2023-12-11T00:01:58Z [info] Response checked file id complete: ce56234a929c3fc3a0e3ec66103423fb98e4dc3d-34725-780-1024-jpg, timed used: 14.00
2023-12-11T00:01:58Z [info] Response checked file id complete: f7606ad04448cc223246ffb2bd8c92aa8ff4e3dc-410370-1280-1811-jpg, timed used: 188.00
There has some same situations when this issue happened:
- rclone is invalidating directory cache at the same time:
2023/12/10 14:19:43 DEBUG : : changeNotify: relativePath="cache", type=0
2023/12/10 14:19:43 DEBUG : cache: invalidating directory cache
2023/12/10 23:57:42 DEBUG : : changeNotify: relativePath="cache", type=0
2023/12/10 23:57:42 DEBUG : cache: invalidating directory cache
- Only when rclone finished retrying Onedrive API the lookup started to process:
2023/12/10 14:23:52 DEBUG : pacer: low level retry 1/10 (error Get "https://graph.microsoft.com/v1.0/drives/b!QT-vBfWDykuEFt9u5LUVNJ3gNgu-9H5JtcpAQf5duVOunIoMaRPKRJ_ekSnZctYl/items/01QPGQHXLCYNEU64CERBAJ4K4DYE32FIFE/children?$top=1000": net/http: timeout awaiting response headers)
2023/12/10 14:23:52 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2023/12/10 14:23:56 DEBUG : : Statfs:
2023/12/10 14:23:56 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/10 14:23:57 DEBUG : pacer: Reducing sleep to 15ms
2023/12/10 14:23:57 DEBUG : cache/d6/: >Lookup: node=cache/d6/2c/, err=<nil>
2023/12/10 14:23:57 DEBUG : cache/d6/2c/: Attr:
2023/12/10 14:23:57 DEBUG : cache/d6/2c/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/12/10 14:23:57 DEBUG : cache/d6: invalidating directory cache
2023/12/10 14:23:57 DEBUG : : >changeNotify:
2023/12/10 14:23:57 DEBUG : : changeNotify: relativePath="cache/d6/e8", type=0
2023/12/10 14:23:57 DEBUG : cache/: Lookup: name="39"
2023/12/10 14:23:57 DEBUG : cache/: Lookup: name="1d"
2023/12/10 14:23:57 DEBUG : cache/: Lookup: name="6b"
2023/12/10 14:23:57 DEBUG : cache/: Lookup: name="d1"
2023/12/10 14:23:57 DEBUG : cache/: Lookup: name="38"
2023/12/11 00:01:52 DEBUG : pacer: low level retry 1/10 (error Get "https://graph.microsoft.com/v1.0/drives/b!QT-vBfWDykuEFt9u5LUVNJ3gNgu-9H5JtcpAQf5duVOunIoMaRPKRJ_ekSnZctYl/items/01QPGQHXK7LQERLIIJSVBKK7TUYAVAVCGT/children?$top=1000": net/http: timeout awaiting response headers)
2023/12/11 00:01:52 DEBUG : pacer: Rate limited, increasing sleep to 20ms
2023/12/11 00:01:53 DEBUG : : Statfs:
2023/12/11 00:01:53 DEBUG : : >Statfs: stat={Blocks:1342177280 Bfree:1336293151 Bavail:1336293151 Files:1000000000 Ffree:1000000000 Bsize:4096 Namelen:255 Frsize:4096}, err=<nil>
2023/12/11 00:01:58 DEBUG : pacer: Reducing sleep to 15ms
2023/12/11 00:01:58 DEBUG : cache/cf/: >Lookup: node=cache/cf/4d/, err=<nil>
2023/12/11 00:01:58 DEBUG : cache/cf: invalidating directory cache
2023/12/11 00:01:58 DEBUG : : >changeNotify:
2023/12/11 00:01:58 DEBUG : : changeNotify: relativePath="cache/cf/4d", type=0
2023/12/11 00:01:58 DEBUG : cache/cf/4d/: Attr:
2023/12/11 00:01:58 DEBUG : cache/cf/4d/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxrwxrwx, err=<nil>
2023/12/11 00:01:58 DEBUG : cache/: Lookup: name="f7"
2023/12/11 00:01:58 DEBUG : cache/: Lookup: name="7d"
2023/12/11 00:01:58 DEBUG : cache/: Lookup: name="1d"
2023/12/11 00:01:58 DEBUG : cache/: Lookup: name="b1"
2023/12/11 00:01:58 DEBUG : cache/: Lookup: name="cc"