Bug#989122: exim4: takes 10 seconds to accept connections after waking up on another network
Rémi Letot
hobbes at poukram.net
Tue Jun 1 20:55:01 BST 2021
Marc Haber <mh+debian-packages at zugschlus.de> writes:
> On Wed, May 26, 2021 at 11:52:10PM +0200, Rémi Letot wrote:
>> getsockname(6, {sa_family=AF_INET6, sin6_port=htons(25), sin6_flowinfo=htonl(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_scope_id=0}, [28]) = 0
>> clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7faf36b64c50) = 706004
>> close(6) = 0
>> close(7) = 0
>> select(6, [3 4 5], NULL, NULL, NULL
>>
>> waits 10 seconds here
>
> Is your IPv6 setup ok?
I think so, but I'm no specialist, so see for yourself :-)
> Do you have ::1 on lo?
yep:
hobbes at sphax:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
> Are the IPv6 specific entries for localhost present in /etc/hosts?
seems so:
hobbes at sphax:~$ grep localhost /etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
> Is your local resolver configured to use /etc/hosts?
I guess so because I do have some hosts configured in /etc/hosts and dns
resolution (for those or others) is instantaneous.
Thanks,
--
Rémi
More information about the Pkg-exim4-maintainers
mailing list