Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新的IPTV-API在DOCKER下运行会被卡死,CPU占用高 #606

Closed
liulei120 opened this issue Dec 1, 2024 · 4 comments
Closed

新的IPTV-API在DOCKER下运行会被卡死,CPU占用高 #606

liulei120 opened this issue Dec 1, 2024 · 4 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@liulei120
Copy link

如题,在进行测速排序时,CPU占用很高,最高会到140%左右。另外大概到排序1002条左右的时候就会被卡死,但是这个时候CPU占用率就会下降到百分之十几,我已经重启三次容器了,均是一样的情况。但之前老版本的就没有这个问题。
CPU占用截图:
屏幕截图 2024-12-01 161723

容器内的执行日志截图:
屏幕截图 2024-12-01 163214

LOG.LOG文件的部分日志:

[0;31mERROR:�[0m [generic] Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: Not Found>) �[0;31mERROR:�[0m [generic] Unable to download webpage: (<urllib3.connection.HTTPConnection object at 0x7fe75cfb7490>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)') (caused by TransportError("(<urllib3.connection.HTTPConnection object at 0x7fe75cfb7490>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)')")) �[0;31mERROR:�[0m [generic] Unable to download webpage: (<urllib3.connection.HTTPConnection object at 0x7fe75cfb7490>, 'Connection to 120.84.96.87 timed out. (connect timeout=10.0)') (caused by TransportError("(<urllib3.connection.HTTPConnection object at 0x7fe75cfb7490>, 'Connection to 120.84.96.87 timed out. (connect timeout=10.0)')")) �[0;31mERROR:�[0m [generic] Unable to download webpage: (<urllib3.connection.HTTPConnection object at 0x7fe75cfb7490>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)') (caused by TransportError("(<urllib3.connection.HTTPConnection object at 0x7fe75cfb7490>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)')")) �[0;31mERROR:�[0m [generic] Unable to download webpage: (<urllib3.connection.HTTPConnection object at 0x7fe75cfb7230>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)') (caused by TransportError("(<urllib3.connection.HTTPConnection object at 0x7fe75cfb7230>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)')")) �[0;31mERROR:�[0m [generic] Unable to download webpage: (<urllib3.connection.HTTPConnection object at 0x7fe75cfb6fd0>, 'Connection to 125.227.210.55 timed out. (connect timeout=10.0)') (caused by TransportError("(<urllib3.connection.HTTPConnection object at 0x7fe75cfb6fd0>, 'Connection to 125.227.210.55 timed out. (connect timeout=10.0)')")) �[0;31mERROR:�[0m [generic] Unable to download webpage: (<urllib3.connection.HTTPConnection object at 0x7fe75cfb6d70>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)') (caused by TransportError("(<urllib3.connection.HTTPConnection object at 0x7fe75cfb6d70>, 'Connection to 211.72.65.236 timed out. (connect timeout=10.0)')"))

@Guovin
Copy link
Owner

Guovin commented Dec 2, 2024

这是新的测速方法的问题,对于部分配置较低的设置有可能会出现这种情况,目前默认是开启了10个线程进行测速。

@Guovin Guovin added question Further information is requested enhancement New feature or request labels Dec 2, 2024
@Guovin
Copy link
Owner

Guovin commented Dec 2, 2024

我将在下版对该现象进行优化

Guovin added a commit that referenced this issue Dec 2, 2024
@Guovin Guovin mentioned this issue Dec 2, 2024
@Guovin
Copy link
Owner

Guovin commented Dec 3, 2024

更新最新镜像再试试,看看cpu的情况如何,如果还是占用高的话,我后续会考虑增加并发配置

@liulei120
Copy link
Author

目前在排序的时候CPU占用最高在60%左右,很完美。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants