Mailing List Archive

[Bug 1406] SMTP backoff based on queue size
https://bugs.exim.org/show_bug.cgi?id=1406

Git Commit <git@exim.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |git@exim.org

--- Comment #3 from Git Commit <git@exim.org> ---
Git commit:
https://git.exim.org/exim.git/commitdiff/04403ab0b5778126d98d5c9dc8064405688129e0

commit 04403ab0b5778126d98d5c9dc8064405688129e0
Author: Jeremy Harris <jgh146exb@wizmail.org>
AuthorDate: Sat Jan 10 21:39:44 2015 +0000
Commit: Jeremy Harris <jgh146exb@wizmail.org>
CommitDate: Wed Feb 19 00:19:06 2020 +0000

add queue_size variable. bug 1406
----
doc/doc-docbook/spec.xfpt | 7 +++++
doc/doc-txt/NewStuff | 3 ++-
src/src/daemon.c | 36 ++++++++++++++++++++++----
src/src/exim.c | 2 +-
src/src/expand.c | 61 ++++++++++++++++++++++++++++++++++++++++++++
src/src/functions.h | 3 ++-
src/src/globals.c | 2 ++
src/src/globals.h | 2 ++
src/src/macros.h | 3 ++-
src/src/queue.c | 32 ++++++++++++++++-------
test/confs/0621 | 22 ++++++++++++++++
test/log/0621 | 11 ++++++++
test/runtest | 3 +++
test/scripts/0000-Basic/0621 | 19 ++++++++++++++
test/stderr/0433 | 6 +++++
test/stderr/0438 | 3 +++
test/stderr/0609 | 1 +
test/stderr/1007 | 8 ++++++
test/stderr/2201 | 1 +
19 files changed, 207 insertions(+), 18 deletions(-)

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 1406] SMTP backoff based on queue size [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=1406

Jeremy Harris <jgh146exb@wizmail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Target Milestone|Indeterminate |Exim 4.94
Assignee|unallocated@exim.org |jgh146exb@wizmail.org

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 1406] SMTP backoff based on queue size [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=1406

Arkadiusz Miskiewicz <arekm@maven.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |arekm@maven.pl

--- Comment #4 from Arkadiusz Miskiewicz <arekm@maven.pl> ---
Is $queue_size implemented differently to be fast when comparing to exim -bpc?

For example here, ssd disks, VM with exim (but there are other VMs, too) exim
-bpc takes over 20s:

# time exim -bpc
7009

real 0m23,327s
user 0m0,020s
sys 0m0,040s

# uptime
07:09:22 up 13 days, 18:45, 0 users, load average: 37,00, 28,16, 24,40
# ps aux|grep exim | wc -l
956
# iostat -m
Linux 4.9.210-1 (mailmxout) 19.02.2020 _x86_64_ (24 CPU)

avg-cpu: %user %nice %system %iowait %steal %idle
0,11 14,50 26,10 0,11 0,45 58,73

Device tps MB_read/s MB_wrtn/s MB_dscd/s MB_read
MB_wrtn MB_dscd
dm-0 643,81 0,00 8,72 0,00 2291
11210519 0
vda 587,45 0,00 8,73 0,00 2974
11214512 0

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
[Bug 1406] SMTP backoff based on queue size [ In reply to ]
https://bugs.exim.org/show_bug.cgi?id=1406

--- Comment #5 from Jeremy Harris <jgh146exb@wizmail.org> ---
Slightly. It uses a cached value with an expiry of 60 seconds. When it does
re-evaluate it'll be just as slow.

Having said that, I'm surprised at your measurement. On an unloaded SSD-based
laptop I get 54ms to count a 10^4 - sized spool.
However, your iostat is lying to you; that will be the average since boot.
Use "iostat -dxz 10" run in parallel with the test, to get a better view on
disk
activity.

--
You are receiving this mail because:
You are on the CC list for the bug.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##