Alist
建立索引时大量占用内存,主要错误为:context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1
,详细错误为:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
[root@iz2zeimmhbueqz com]# ./alist server INFO[2022-12-06 13:57:28] reading config file: data/config.json INFO[2022-12-06 13:57:28] load config from env with prefix: ALIST_ INFO[2022-12-06 13:57:28] init logrus... INFO[2022-12-06 13:57:28] Aria2 not ready. INFO[2022-12-06 13:57:29] success load storage: [/soft], driver: [Onedrive] INFO[2022-12-06 13:57:32] success load storage: [/bjut], driver: [WebDav] INFO[2022-12-06 13:57:35] success load storage: [/tianyi], driver: [189Cloud] INFO[2022-12-06 13:57:35] success load storage: [/xj], driver: [Onedrive] INFO[2022-12-06 13:57:35] success load storage: [/E5_mcj], driver: [Onedrive] INFO[2022-12-06 13:57:36] success load storage: [/mcj], driver: [Onedrive] INFO[2022-12-06 13:57:36] success load storage: [/123云盘], driver: [123Pan] INFO[2022-12-06 13:57:36] success load storage: [/191那个服务器], driver: [AList V3] INFO[2022-12-06 13:57:36] success load storage: [/百度云], driver: [BaiduNetdisk] INFO[2022-12-06 13:57:36] success load storage: [/E5_game], driver: [Onedrive] 2022/12/06 16:39:00.367418 ERROR RESTY Get "https://graph.microsoft.com/v1.0/me/drive/root:/darknet/scripts/VOCdevkit/VOC2012/Annotations:/children?$expand=thumbnails&$skiptoken=UGFMD0lEPTM3MjIyNA": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1 2022/12/06 16:49:27.273088 ERROR RESTY Get "https://graph.microsoft.com/v1.0/me/drive/root:/darknet/scripts/VOCdevkit/VOC2012/labels:/children?$expand=thumbnails&$skiptoken=UGFnZWQ9EPTM5ODY4OA": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 1 2022/12/06 16:51:14.809548 ERROR RESTY Get "https://graph.microsoft.com/v1.0/me/drive/root:/darknet/scripts/VOCdevkit/VOC2012/labels:/children?$expand=thumbnails&$skiptoken=UGFnZDY4OA": context deadline exceeded (Client.Timeout exceeded while awaiting headers), Attempt 2 |
目前看来应该是个bug
,AList
索引时会大量占用CPU
。
目前我的解决方案是先在本地搭建一个一样的环境,然后进行索引。索引结束把data.db
文件替换了即可,其实倒也不复杂,可以接收。
本文最后更新于2022年12月6日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!