Re: special ccache performance issue

2019-05-13 Thread Charles Hedrick
That’s exec /bin/ssh “$@" On May 13, 2019, at 4:50 PM, Charles Hedrick mailto:hedr...@rutgers.edu>> wrote: exec /bin/sh “$@" Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: special ccache performance issue

2019-05-13 Thread Charles Hedrick
We have a workaround, although it wasn’t intended for this purpose. In https://github.com/clhedrick/kerberos, look at krenew-wrapper. It builds a sharable library intended to be loaded with LD_PRELOAD. It wraps krb5_init_context with code that renews and copies the TGT into a memory cache, and

Re: special ccache performance issue

2019-05-13 Thread Greg Hudson
On 5/13/19 3:22 AM, Wang Jian wrote: > When using ansible with kerberos for thousands of targets, there is a > serious ccache performance issue. Agreed. > Using file ccache (DIR:) > - from a cold ccache, running simple script on servers is fast, at 500-700 > hosts/min with 2 or 4 concurrent

special ccache performance issue

2019-05-13 Thread Wang Jian
Hi list, When using ansible with kerberos for thousands of targets, there is a serious ccache performance issue. Using file ccache (DIR:) - from a cold ccache, running simple script on servers is fast, at 500-700 hosts/min with 2 or 4 concurrent ansible instance. But things change when ccache