لماذا يستخدم location plugin الكثير من المعالج؟

أعدت بناء الحاوية باستخدام أحدث إصدار تم اختباره بنجاح اليوم، وفجأة استُهلكت جميع دورات المعالج (CPU). وأصبح الموقع بطيئًا جدًا.

السيرفر يشغّل تقريبًا فقط Discourse. من هو مستخدم openvpn هذا الذي يشغّل Ruby/unicorns؟ هل هو نفس Unicons الخاصة بـ Discourse؟

بافتراض أن هذا مقصود ومرغوب فيه، كيف يمكنني تحرير بعض دورات المعالج (CPU) حتى لا يعمل الموقع ببطء شديد؟

يُظهر Sidekiq عدم وجود أي عمليات نشطة تقريبًا في الخلفية. ولا يوجد مستخدمون آخرون غيري.

إعجاب واحد (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)

سؤال أساسي، كيف يعرف المرء أي إضافة تستهلك وحدة المعالجة المركزية والذاكرة؟ يعرض htop فقط عمال يونيكورن ولكن ليس الكثير من الموارد التي تستخدمها كل إضافة.