NewFuture / DDNS

:triangular_flag_on_post: 自动更新域名解析到本机IP(支持dnspod,阿里DNS,CloudFlare,华为云,DNSCOM...)
https://ddns.newfuture.cc/
MIT License
4.31k stars 657 forks source link

ddns同步出错时会在tmp目录下生成大量_MEI开头的目录 #198

Closed PHCSJC closed 2 years ago

PHCSJC commented 4 years ago

版本是v2.9.6,平台是x64 配置如下 { "$schema": "https://ddns.newfuture.cc/schema/v2.json", "dns": "cloudflare", "id": "****", "token": "*****", "index4": "url:http://myip.ipip.net/s", "index6": "url:http://ipv6.ip.sb", "ipv4": ["**"], "ipv6": ["**"], "ttl": 120, "cache": false }

成功的时候没有这个问题,如果失败了就会在/tmp目录下生成大量的_MEI开头的目录,每个目录25M。 1 2

PHCSJC commented 4 years ago

重现的方法也很简单: 把配置中"index6": "url:http://ipv6.ip.sb" 这个域名随便修改一下,比如修改为ipv666.ip.sb,再执行一次,就会在/tmp目录下看到了

NewFuture commented 4 years ago

这个定时任务是pyinstalller编译后的版本的吗? 看起来似乎是解包python库后的临时文件。

PHCSJC commented 4 years ago

@NewFuture 不是编译的,是直接下载的bin文件

PHCSJC commented 4 years ago

昨天试了2.9.7版本,还是有同样的问题,又退回到2.9.2版本了,这个版本是正常的。