It seems deliver is taking up a lot of cpu. Is there a way to throttle just the delivery command?
On Fri, 2009-09-04 at 12:41 -0500, AMP Admin wrote:
It seems deliver is taking up a lot of cpu.
It probably shouldn't be. See what it's doing with e.g. strace? http://wiki.dovecot.org/Debugging/ProcessTracing
Also show your dovecot -n output.
Is there a way to throttle just the delivery command?
Run "nice deliver" instead?
What if I turn off dovecot just while the newsletter is going out? it uses postfix to send so it shouldn't hurt anything, right?
Regards,
-Team AMP http://www.ampprod.com
====== CONFIDENTIALITY NOTICE ====== NOTICE: This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.
-----Original Message----- From: dovecot-bounces+admin=ampprod.com@dovecot.org [mailto:dovecot-bounces+admin=ampprod.com@dovecot.org] On Behalf Of Timo Sirainen Sent: Friday, September 04, 2009 12:50 PM To: Dovecot Mailing List Subject: Re: [Dovecot] deliver command
On Fri, 2009-09-04 at 12:41 -0500, AMP Admin wrote:
It seems deliver is taking up a lot of cpu.
It probably shouldn't be. See what it's doing with e.g. strace? http://wiki.dovecot.org/Debugging/ProcessTracing
Also show your dovecot -n output.
Is there a way to throttle just the delivery command?
Run "nice deliver" instead?
Shutting down Dovecot doesn't shut down deliver, since it's called by Postfix.
On Fri, 2009-09-04 at 13:42 -0500, AMP Admin wrote:
What if I turn off dovecot just while the newsletter is going out? it uses postfix to send so it shouldn't hurt anything, right?
Regards,
-Team AMP http://www.ampprod.com
====== CONFIDENTIALITY NOTICE ====== NOTICE: This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.
-----Original Message----- From: dovecot-bounces+admin=ampprod.com@dovecot.org [mailto:dovecot-bounces+admin=ampprod.com@dovecot.org] On Behalf Of Timo Sirainen Sent: Friday, September 04, 2009 12:50 PM To: Dovecot Mailing List Subject: Re: [Dovecot] deliver command
On Fri, 2009-09-04 at 12:41 -0500, AMP Admin wrote:
It seems deliver is taking up a lot of cpu.
It probably shouldn't be. See what it's doing with e.g. strace? http://wiki.dovecot.org/Debugging/ProcessTracing
Also show your dovecot -n output.
Is there a way to throttle just the delivery command?
Run "nice deliver" instead?
I put nice in there but I'm still getting this from top...
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13594 vmail 26 10 3816 2392 1088 D 14.6 0.1 0:00.54 deliver 13585 vmail 26 10 17212 7756 1144 D 10.9 0.2 0:00.60 deliver 13560 vmail 26 10 3824 2488 1144 D 9.3 0.1 0:00.88 deliver 13584 vmail 26 10 17212 7756 1144 R 8.3 0.2 0:00.65 deliver 13601 vmail 26 10 3816 2392 1088 D 8.3 0.1 0:00.25 deliver 13580 vmail 26 10 3824 2460 1124 D 7.0 0.1 0:00.50 deliver 13587 vmail 26 10 3824 2464 1124 D 6.6 0.1 0:00.49 deliver 13574 vmail 26 10 17212 7756 1144 D 5.0 0.2 0:00.77 deliver 13586 vmail 26 10 3816 2396 1088 D 5.0 0.1 0:00.42 deliver 13592 vmail 26 10 3824 2460 1124 D 5.0 0.1 0:00.48 deliver 13595 vmail 26 10 3816 2392 1084 D 4.6 0.1 0:00.17 deliver 13559 vmail 26 10 3816 2388 1084 R 3.3 0.1 0:00.65 deliver 13571 vmail 26 10 3824 2472 1136 D 3.3 0.1 0:00.66 deliver 11483 postfix 15 0 17060 10m 1620 D 3.0 0.3 0:04.08 qmgr 13558 vmail 26 10 3824 2484 1144 D 3.0 0.1 0:00.91 deliver 13575 vmail 26 10 3824 2476 1136 D 2.7 0.1 0:00.63 deliver 13593 vmail 26 10 3816 2396 1084 D 2.3 0.1 0:00.11 deliver
-----Original Message----- From: dovecot-bounces+admin=ampprod.com@dovecot.org [mailto:dovecot-bounces+admin=ampprod.com@dovecot.org] On Behalf Of Timo Sirainen Sent: Friday, September 04, 2009 2:05 PM To: Dovecot Mailing List Subject: Re: [Dovecot] deliver command
Shutting down Dovecot doesn't shut down deliver, since it's called by Postfix.
On Fri, 2009-09-04 at 13:42 -0500, AMP Admin wrote:
What if I turn off dovecot just while the newsletter is going out? it uses postfix to send so it shouldn't hurt anything, right?
Regards,
-Team AMP http://www.ampprod.com
====== CONFIDENTIALITY NOTICE ====== NOTICE: This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.
-----Original Message----- From: dovecot-bounces+admin=ampprod.com@dovecot.org [mailto:dovecot-bounces+admin=ampprod.com@dovecot.org] On Behalf Of Timo Sirainen Sent: Friday, September 04, 2009 12:50 PM To: Dovecot Mailing List Subject: Re: [Dovecot] deliver command
On Fri, 2009-09-04 at 12:41 -0500, AMP Admin wrote:
It seems deliver is taking up a lot of cpu.
It probably shouldn't be. See what it's doing with e.g. strace? http://wiki.dovecot.org/Debugging/ProcessTracing
Also show your dovecot -n output.
Is there a way to throttle just the delivery command?
Run "nice deliver" instead?
On Fri, 2009-09-04 at 14:22 -0500, AMP Admin wrote:
I put nice in there but I'm still getting this from top...
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13594 vmail 26 10 3816 2392 1088 D 14.6 0.1 0:00.54 deliver 13585 vmail 26 10 17212 7756 1144 D 10.9 0.2 0:00.60 deliver
I think you've configured something badly. If I had to guess, you're using dirsize quota. http://wiki.dovecot.org/Quota/Dirsize
It probably shouldn't be. See what it's doing with e.g. strace? http://wiki.dovecot.org/Debugging/ProcessTracing
Also show your dovecot -n output.
On Friday 04 September 2009 22:02:15 Timo Sirainen wrote:
On Fri, 2009-09-04 at 14:22 -0500, AMP Admin wrote:
I put nice in there but I'm still getting this from top...
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13594 vmail 26 10 3816 2392 1088 D 14.6 0.1 0:00.54 deliver 13585 vmail 26 10 17212 7756 1144 D 10.9 0.2 0:00.60 deliver
I think you've configured something badly.
I'm wondering why "sending a newsletter" in previous mail, should have anything to do with postfix+deliver. Are you sending an internal newsletter? Normally, a newsletter goes outwards and should not call deliver at all, but smtp(8) over tcp.
Mel
Omg! I found the following in the config!!! I commented it out and it's working great! Thank you so much! plugin { # 10MB quota limit quota = dirsize:user quota_rule = *:storage=10M }
Regards,
-Team AMP http://www.ampprod.com
====== CONFIDENTIALITY NOTICE ====== NOTICE: This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message from your system. Thank you.
-----Original Message----- From: dovecot-bounces+admin=ampprod.com@dovecot.org [mailto:dovecot-bounces+admin=ampprod.com@dovecot.org] On Behalf Of Timo Sirainen Sent: Friday, September 04, 2009 3:02 PM To: Dovecot Mailing List Subject: Re: [Dovecot] deliver command
On Fri, 2009-09-04 at 14:22 -0500, AMP Admin wrote:
I put nice in there but I'm still getting this from top...
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 13594 vmail 26 10 3816 2392 1088 D 14.6 0.1 0:00.54 deliver 13585 vmail 26 10 17212 7756 1144 D 10.9 0.2 0:00.60 deliver
I think you've configured something badly. If I had to guess, you're using dirsize quota. http://wiki.dovecot.org/Quota/Dirsize
It probably shouldn't be. See what it's doing with e.g. strace? http://wiki.dovecot.org/Debugging/ProcessTracing
Also show your dovecot -n output.
On Fri, 2009-09-04 at 15:05 -0400, Timo Sirainen wrote:
Shutting down Dovecot doesn't shut down deliver, since it's called by Postfix.
However, if you use its SASL, that's not entirely true if you're relying on normal message injection methods (smtpd), postfix will bail.
/etc/rc.d/rc.dovecot stop Stopping dovecot POP3/IMAP daemon... Done. Stopping IMAP Proxy... Done.
telnet 10.10.0.10 25 Trying 10.10.0.10... Connected to mx3. Escape character is '^]'. Connection closed by foreign host.
postfix/smtpd[386]: fatal: no SASL authentication mechanisms
But this I feel is (if it can be really called an error at all) postfix's failure, not Dovecots.
participants (4)
-
AMP Admin
-
Mel Flynn
-
Noel Butler
-
Timo Sirainen