https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-06-07T08:17:12ZRedmineRedmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=387902012-06-07T08:17:12ZEtienne Massip
<ul></ul><p>You should consider using async option in notification settings.</p>
<p>Else, the page is rendered only once all the notifications emails have been sent.</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=387932012-06-07T09:43:04ZBen Lei
<ul></ul><p>Hello:</p>
<p>I have config the "configuration.yml", as below, but it also slow.</p>
<p>production:<br /> delivery_method: :async_sendmail</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=387942012-06-07T09:49:37ZEtienne Massip
<ul></ul><p>Less?</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=387952012-06-07T09:51:29ZBen Lei
<ul></ul><p>The cost time almost the same before.</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=389092012-06-11T03:37:35ZBen Lei
<ul></ul><p>Dears:<br />Thanks your reply. <br />How may I confirm the async_sendmail is work?</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=389112012-06-11T06:01:03ZBen Lei
<ul></ul><p>This is my configuration on /usr/redmine-1.2.2/config/configuration.yml</p>
<pre><code>production:<br /> delivery_method: :async_smtp<br /> smtp_settings:<br /> tls: true<br /> address: "xxx.com.tw" <br /> port: 587<br /> authentication: :plain<br /> domain: 'xxx.com.tw'<br /> user_name: xxx<br /> password: xxx</code></pre> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=389132012-06-11T06:57:30ZBen Lei
<ul></ul><p>Dears:</p>
<p>I also try to use gmail, but the cost time was 29XXXms, still have long time.</p>
<pre><code class="yaml syntaxhl"><span class="na">production</span><span class="pi">:</span>
<span class="na">email_delivery</span><span class="pi">:</span>
<span class="na">delivery_method</span><span class="pi">:</span> <span class="s">:async_smtp</span>
<span class="na">smtp_settings</span><span class="pi">:</span>
<span class="na">tls</span><span class="pi">:</span> <span class="no">true</span>
<span class="na">enable_starttls_auto</span><span class="pi">:</span> <span class="no">true</span>
<span class="na">address</span><span class="pi">:</span> <span class="s2">"</span><span class="s">smtp.gmail.com"</span>
<span class="na">port</span><span class="pi">:</span> <span class="s1">'</span><span class="s">587'</span>
<span class="na">domain</span><span class="pi">:</span> <span class="s2">"</span><span class="s">smtp.gmail.com"</span>
<span class="na">authentication</span><span class="pi">:</span> <span class="s">:plain</span>
<span class="na">user_name</span><span class="pi">:</span> <span class="s2">"</span><span class="s">xxx@gmail.com"</span>
<span class="na">password</span><span class="pi">:</span> <span class="s2">"</span><span class="s">xxx"</span>
</code></pre> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=389672012-06-13T02:49:33ZBen Lei
<ul></ul><p>Another Question:<br />4. The same environment, when I use the "Private" button on "New issue", and choose 5 watcher only. Why the CPU usage is full use between 30 sec. If the system was waiting mail server response, What does the CPU work?</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=395592012-07-10T13:57:02ZAdam Bellaire
<ul></ul><p>I'd just like to add that I was having a similar problem with async_smtp, causing 500 internal server error and consuming 100% cpu for around 30 seconds. I was using <strong>async_smtp</strong> against our local SMTP server, both with and without TLS. I was not able to resolve the issue, and had to switch to using <strong>async_sendmail</strong> (which fortunately was a valid option for me), and everything is fine.</p>
<p>This really seems like an implementation problem with async_smtp.</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=793192017-06-19T16:37:08ZShe Bytes
<ul></ul><p>Ben Lei wrote:</p>
<blockquote>
<p>This is my configuration on /usr/redmine-1.2.2/config/configuration.yml</p>
<p>production:<br />delivery_method: :async_smtp<br />smtp_settings:<br />tls: true<br />address: "xxx.com.tw" <br />port: 587<br />authentication: :plain<br />domain: 'xxx.com.tw'<br />user_name: xxx<br />password: xxx</p>
</blockquote>
<p>Switching from delivery_method "smtp" to "async_smtp" solved my problem. Thanks!</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=796572017-07-03T07:52:15ZGo MAEDA
<ul><li><strong>Category</strong> set to <i>Email notifications</i></li></ul> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=819072017-11-04T05:58:55ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>It seems that using asynchronous delivery solved the problem. Closing.</p> Redmine - Defect #11106: Email notification processing is slow - Redmine 1.2.2https://www.redmine.org/issues/11106?journal_id=819082017-11-04T05:59:18ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/26791">Feature #26791</a>: Send individual notification mails per mail recipient</i> added</li></ul>