为什么位置插件占用如此多的CPU?

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 个赞

Potentially also an issue here, I upgraded at 09:03 this morning, will monitor during the day:

Our two CPU cores are 100% utilized.

1 个赞

Mine seems to be coming down again now, will continue to monitor.

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 个赞

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 ?

1 个赞

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 个赞

一个基本问题,一个人如何知道哪个插件占用了多少 CPU 和内存?htop 只显示 unicorn 工作进程,但没有显示每个插件利用了多少资源。