If you kill dirmngr after it has spawned an ldap wrapper it does not terminate
and instead consumes CPU time. This behavior occurs with and without the patch
from T1838
To reproduce this send a kill signal to the dirmngr spawned after:
GNUPGHOME=$(mktemp -d) gpgsm --verify signed-smime-test.asc
You can take the file from T1838
When you attach an strace to that pid you can see that it keeps doing:
nanosleep({0, 200000}, NULL) = 0
On the system I've noticed this that leads to dirmngr continously taking 2-3% of
the CPU's attention.
Neal: I've assigned this to you as because werner assigned 1838 also to you and
I belive that these issues are related as both are about broken cleanup behavior
in ldap_wrapper.