رفتن به مطلب
رونمایی از اولین و قویترین قالب IPS در ایران و در مارکتهای جهانی ×

queue task continually locked


Bot

پست های پیشنهاد شده

  • تیم مدیریت

Creating a separate thread in case it's unrelated to this:

Someone requested that their account be deleted, and so an admin set that going. As this was being processed in the background, it seems to have got stuck (~23% of 9k posts). This has caused the queue task to be locked every time it tries to run, once a minute. A LOT of other tasks are getting backed up because of this (mostly notifications, so far) and it's getting worse over time.

Here is the System Log error when I try to set the background tasks running manually:

Error: Call to a member function container() on null (0)
#0 /usr/share/nginx/html/applications/forums/sources/Topic/Post.php(374): IPS\Content\_Comment->delete()
#1 /usr/share/nginx/html/applications/core/extensions/core/Queue/MemberContent.php(126): IPS\forums\Topic\_Post->delete()
#2 /usr/share/nginx/html/system/Task/Task.php(47): IPS\core\extensions\core\Queue\_MemberContent->run()
#3 /usr/share/nginx/html/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue()
#4 /usr/share/nginx/html/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}()
#5 /usr/share/nginx/html/applications/core/modules/admin/system/background.php(138): IPS\Helpers\_MultipleRedirect->__construct()
#6 /usr/share/nginx/html/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\system\_background->process()
#7 /usr/share/nginx/html/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute()
#8 /usr/share/nginx/html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute()
#9 /usr/share/nginx/html/admin/index.php(13): IPS\_Dispatcher->run()
#10 {main}

I disabled marketplace addons (we have two) to no avail.

When the admin kicked off the delete process, we were a couple of months behind on updates. I've since updated to latest (in an attempt to solve the issue in the linked thread above) but that didn't help.

 

edit - it seems the delete posts job was kicked off 3 separate times, looking at the stalled background processes at the bottom of the dashboard. Evidently, the admin tried to run it twice as he wasn't sure it was actually running. Unsure if this is the cause of the issue. Ideally, I'd like to:

- remove the delete posts job so the queue task and process all these pending jobs

- determine why we can't purge this user's posts

View the full Question

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

  • تعداد پاسخ 0
  • زمان ایجاد
  • آخرین پاسخ

بهترین ارسال کنندگان این موضوع

روزهای محبوب

بهترین ارسال کنندگان این موضوع

روزهای محبوب

مهمان
این موضوع برای عدم ارسال قفل گردیده است.
  • کاربران آنلاین در این صفحه   0 کاربر

    • هیچ کاربر عضوی،در حال مشاهده این صفحه نیست.
×
×
  • ایجاد مورد جدید...

اطلاعات مهم

برای تجربه رابط کاربری بهتر و تعامل بهتر شما با انجمن ما از کوکی ها استفاده میکنیم قوانین