WeFixIT

July 2019

GPG high CPU usage

Today I had a very high CPU usage while using GPG. I found the answer inside the following ticket https://dev.gnupg.org/T3972 The high CPU usage was caused by a process like this /usr/bin/gpg –charset utf-8 –display-charset utf-8 –no-auto-check-trustdb –batch –no-tty –status-fd 2 –with-fingerprint –fixed-list-mode –with-colons –list-secret-keys ***** The reason is a huge key in ~/.gnupg/pubring.gpg. Mine was 37MB!!! Thanks to “dkg” who publish the following awk script: < ${GNUPGHOME:-~/.gnupg}/pubring.gpg gpg –list-packets […]

GPG high CPU usage Read More »

Scroll to Top