powertop(8) Points at gpg-agent.
ralph at inputplus.co.uk
Fri Feb 17 14:59:52 CET 2017
gnupg 2.1.18-1 on Arch Linux. I noticed powertop ranking the
gpg-agents, one per user, quite highly, and their impact is multiplied
by their number. strace(1) showed the two-second select(2) timing out
with no syscalls in between, and the forking of two siblings to have a
`GETINFO pid' chat every minute.
Hans-Christoph Steiner noticed back in 2012, and Werner pointed the
# define TIMERTICK_INTERVAL (2)
# define CHECK_OWN_SOCKET_INTERVAL (60)
There's a few relevant patches by Daniel Kahn Gillmor, e.g. cancelling
the socket check if inotify(7) can be used.
Are there any plans to make gpg-agent consume less background resources?
It remains running here when a user logs out. Is that common? A
variety of users logging in over time divides TIMERTICK_INTERVAL quite a
More information about the Gnupg-users