المشاركات المتتالية لا ترسل جميع رسائل البريد الإلكتروني

This forum must approve all posts. As a result some posts are published in rapid succession: when a moderator logs in they approve the posts quickly after each other.

Most categories are set to “watching” for all users and almost no users log in, the forum is relying very heavily on email notifications.

The problem is that whenever posts are published in rapid succession (less than 1.5 minutes apart), not all emails are being sent. This query shows the count of all sent emails (entries in email_logs per topic). The amount of users that should be getting an email is around 2250. When people have logged in recently (about 1%) they don’t get an email, so the number varies a bit but should be between 2200 and 2250.

As you can see in the first three lines, posts published quickly after each other do not have the full amount of emails.

What could be going on here?

Oh, max_emails_per_day_per_user is set to something really high.


columns: topic, date/time, category, # emails sent

إعجابَين (2)

في الأشهر القليلة الماضية، توصلنا إلى بعض الأفكار الجديدة:

  • لم تكن المشكلة في رسائل البريد الإلكتروني الفعلية، بل في إنشاء الإشعارات الأساسية
  • يؤدي إنشاء العديد من الإشعارات في تتابع سريع إلى إعادة تشغيل Sidekiq مع ظهور الرسالة Sidekiq is consuming too much memory (يستهلك Sidekiq الكثير من الذاكرة)
  • تؤدي إعادة تشغيل Sidekiq إلى إجهاض الدفعة الحالية من الإشعارات التي يتم إنشاؤها لمنشور، مما يؤدي إلى مجموعة غير مكتملة من الإشعارات.

تحرير: رفع UNICORN_SIDEKIQ_MAX_RSS منع حدوث هذه المشكلة مرة أخرى خلال الأيام التسعة الماضية.

إعجابَين (2)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.