Skip to content
New issue

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

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

Already on GitHub? # to your account

负载问题 #110

Open
183452584 opened this issue Jan 24, 2021 · 6 comments
Open

负载问题 #110

183452584 opened this issue Jan 24, 2021 · 6 comments

Comments

@183452584
Copy link

xen框架不知道为啥群主程序3点半服务器就自己开始高负载了!可以修复一下吗?Screenshot_2021-01-24-03-33-10-728_com android browser
Screenshot_2021-01-24-03-33-00-513_com android browser

@183452584
Copy link
Author

Screenshot_2021-01-24-03-33-10-728_com android browser
Screenshot_2021-01-24-03-33-00-513_com android browser

@Qinmei
Copy link
Owner

Qinmei commented Jan 25, 2021

三点到四点有几个计划任务,目的是更新采集的信息,以及自动采集, 数据统计(评论数收藏数等等),这些其实还是比较重要的,毕竟三点几乎没人访问,所以用来做离线任务

持续的时间则根据你的数据量以及服务器的性能来决定,一般而言10分钟就会结束,这个属于正常现象,如果持续时间很长,则可能是有问题

@183452584
Copy link
Author

但是为啥服务器内存不释放呢?第二天起来一看占用内存还是2g多直接4g跑满了

@183452584
Copy link
Author

如果我想取消这个采集该怎么取消呢,因为我都是自己上传压根用不到

@Qinmei
Copy link
Owner

Qinmei commented Jan 28, 2021

https://github.com/Qinmei/qinVideo/tree/2.0/app/schedule

这个文件夹里面,删掉cloud以及source文件即可,如果还是有问题,那大概率是你的数据量有点多了

@Qinmei
Copy link
Owner

Qinmei commented Jan 28, 2021

内存占用这个不重要,设置下虚拟内存就行,主要看CPU的占用,内存高基本上就是缓存太多,需要减少缓存时间,这样缓存就会迅速过期然后释放掉

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

No branches or pull requests

2 participants