ckshen
2020 年11 月 27 日 09:29
1
I rebuilt the container with the latest test-passed from today, and suddenly all the CPU cycles are used up. The site becomes real slow.
The server pretty much only has Discourse running. What’s this openvpn user running the Ruby/ unicorns? Is it the same as the Discourse unicorns?
Assuming this is intended and desired, how can I free up some cpu cycles so the site doesn’t run so slow?
Sidekiq is showing barely anything running in the background. No users are on other than me.
1 个赞
Richie
(Richie Rich)
2020 年11 月 27 日 09:40
2
Potentially also an issue here, I upgraded at 09:03 this morning, will monitor during the day:
ckshen
2020 年11 月 27 日 09:43
3
Our two CPU cores are 100% utilized.
1 个赞
Richie
(Richie Rich)
2020 年11 月 27 日 09:52
4
Mine seems to be coming down again now, will continue to monitor.
ckshen
2020 年11 月 27 日 09:59
5
Removed the layouts plugin and the location plugin and the problem resolved itself for now. Because its really late my time I haven’t had a chance to isolate whether one or both or none are causing the issue, but @angus @merefield giving you a heads up.
1 个赞
Richie
(Richie Rich)
2020 年11 月 27 日 11:39
6
Mine has also returned completely back to normal after turning off the locations plugin:
Did you have the issue I’ve mentioned in this topic too @ckshen ?
Latest update to core seems to have killed this stone dead:
[image]
Clicking the user map, or the map icon on a user card causes a self inflicted dos
[dead]
It then just keeps going, killing the browser stone dead within a handful of seconds:
[dead2]
Same on the user map page:
[dead3]
I’ve had to disable the plugin completely this morning.
1 个赞
ckshen
2020 年11 月 28 日 07:14
8
I didn’t have a chance to check the errors before I took down the plugins. And then today I rebuilt Discourse to 2.6.0.beta6 ( e7bad9f05d ). Problem went away.
1 个赞
RBoy
(RBoy)
2025 年7 月 16 日 19:00
9
一个基本问题,一个人如何知道哪个插件占用了多少 CPU 和内存?htop 只显示 unicorn 工作进程,但没有显示每个插件利用了多少资源。