Skip to content

split-gpg2 VM hangs on signing too many commits in a row #9779

@Rot127

Description

@Rot127

Qubes OS release

Qubes OS 4.2

Brief summary

Rebasing a large branch (signing 70+ commits) can make the split-gpg2 VM freeze up.
This happens possibly because of all the swap space is filled after a while (see screenshot below).

Once all swap space is full, the VM hangs for a while. After a few minutes some "gpg access granted" notifications are shown late.

The split-gpg2 VM has to be restarted/killed to continue committing.

Steps to reproduce

  1. Rebase a branch with many commits (signing required of course).
  2. Observe split-gpg2 notification-daemon uses up all the memory/swap without cleaning up.
  3. VM hangs

Expected behavior

Split-gpg2 is able to sign all commits, even with only 1GB of swap + 500 MB of memory.
The notification-daemon doesn't consume all the memory.

Actual behavior

VM freezes:

htop at the time of freeze:

Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: split-gpg2This issue pertains to Split GPG version 2.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.affects-4.2This issue affects Qubes OS 4.2.diagnosedTechnical diagnosis of this issue has been performed.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions