# use custom gpg configuration on AWX

**URL:** <https://forum.ansible.com/t/use-custom-gpg-configuration-on-awx/38532>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [October 19, 2023, 12:15pm UTC](https://forum.ansible.com/t/use-custom-gpg-configuration-on-awx/38532 "2023-10-19T12:15:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian\_Iuga](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@Christian\_Iuga](https://forum.ansible.com/u/Christian_Iuga)\
**Post date:** [October 19, 2023, 12:15pm UTC](https://forum.ansible.com/t/use-custom-gpg-configuration-on-awx/38532/1 "2023-10-19T12:15:51Z")

</div>

Hi,

We are now using “intensively” gpg for lookup in our ansible-playbook

If i use more than 8 fork at the same time, the ansible controller is crashing with this error

gpg-agent[5090]: command ‘PKDECRYPT’ failed: Ne peut allouer de la mémoire   
(sorry it’s in french but easily understandable.

- From my own Linux ansible controller, the fix is very easy :

-Need to add “auto-expand-secmem” on my~/.gnupg/gpg-agent.conf

- Then a restart of gpg-agent ( systemctl --user stop gpg-agent )

- But on AWX controller, i don’t found how to do this

If some-one can help me, i would strongly appreciate.

Regards
