gpg-agent and AIX

Albert Chin gnupg-devel at mlists.thewrittenword.com
Thu Mar 15 21:46:27 CET 2012


On Thu, Mar 15, 2012 at 12:41:57PM -0500, Albert Chin wrote:
> We have GnuPG 2.0.18 built on AIX. gpg-agent --help takes forever to
> start. The reason is because get_max_fds() in common/exechelp.c
> returns 2147483647 for max_fds. This is regardless of the limit placed
> on file descriptors:
>   $ limit
>   cputime         unlimited
>   filesize        unlimited
>   datasize        unlimited
>   stacksize       128MB
>   coredumpsize    unlimited
>   resident        unlimited
>   addressspace    unlimited
>   descriptors     2048
> 
> So I guess we have to come up with an alternate way to get the max_fds
> on this platform?

The patch below fixes the issue for us. Glib does something similar.

-- 
albert chin (china at thewrittenword.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnupg.patch
Type: text/x-diff
Size: 434 bytes
Desc: not available
URL: </pipermail/attachments/20120315/ecd14210/attachment.patch>


More information about the Gnupg-devel mailing list