# 連続投稿でメールがすべて送信されない

**URL:** <https://meta.discourse.org/t/posts-in-rapid-succession-do-not-send-all-emails/194946>\
**Category:** Product Support\
**Created:** [2021 年 6 月 24 日午後 10:06 UTC](https://meta.discourse.org/t/posts-in-rapid-succession-do-not-send-all-emails/194946 "2021-06-24T22:06:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2021 年 11 月 29 日午前 7:45 UTC](https://meta.discourse.org/t/posts-in-rapid-succession-do-not-send-all-emails/194946/2 "2021-11-29T07:45:24Z")

</div>

ここ数ヶ月でいくつかの新しい知見が得られました。

- 問題は実際のメールではなく、基盤となる通知の生成にあったこと
- 短時間に多数の通知を生成すると、Sidekiq が `Sidekiq is consuming too much memory` というエラーで再起動してしまうこと
- Sidekiq が再起動すると、投稿のために生成中の現在の通知バッチが **中止** され、通知が不完全になること

編集：`UNICORN_SIDEKIQ_MAX_RSS` を引き上げたことで、過去9日間この問題は再発していません。

---

_[View the full topic](https://meta.discourse.org/t/posts-in-rapid-succession-do-not-send-all-emails/194946)._
