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

BUG,处理心跳有问题 #1715

Open
1322630531 opened this issue Dec 12, 2024 · 4 comments
Open

BUG,处理心跳有问题 #1715

1322630531 opened this issue Dec 12, 2024 · 4 comments

Comments

@1322630531
Copy link

1322630531 commented Dec 12, 2024

环境信息:

    1. 部署方式 wvp-pro docker / zlm(docker) + 编译wvp-pro/ wvp-prp + zlm都是编译部署/
    1. 部署环境 centos

描述错误
10月30号提交的增强心跳消息并发处理 648540858 2024/10/30 15:19
好像有问题。项目启动不播放视频的情况下能正常执行executeTaskQueue方法,当任意播放视频之后executeTaskQueue就不会执行了

如何复现
播放任意视频

wvp-pro.log
抓包那边查看之后的效果心跳包在项目启动后没有播放视频的情况下心跳包是有来有回的,当播放视频后心跳包就没有回复了

@1322630531
Copy link
Author

Snipaste_2024-12-12_14-51-58
Snipaste_2024-12-12_14-59-10

@1322630531 1322630531 changed the title BUG BUG,处理心跳有问题 Dec 12, 2024
@1322630531
Copy link
Author

初步怀疑可能和Runtime.getRuntime().availableProcessors()有关,这台服务器的Runtime.getRuntime().availableProcessors()只有1,而在ScheduleConfig中是按这个来创建线程的

@1322630531
Copy link
Author

而我通过nproc执行出来的是32

@648540858
Copy link
Owner

我调整了线程池的配置, 你试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants