Paramiko's processing of known_hosts is rather poor for large host files.

I'd recommend using the SSH transport if you can.




On Wed, Mar 26, 2014 at 5:53 PM, Filip Slunecko <[email protected]>wrote:

> So the reason is that my known_hosts file has over 5k records.
> I think that Paramiko is for looping for each host in known_hosts and
> /etc/hosts file.
> In my case it's around 800k checks.
>
> On Saturday, March 15, 2014 7:20:06 AM UTC-7, Michael DeHaan wrote:
>
>> Paramiko's host file handling has been noted to be a performance problem
>> in some cases where host files get large.
>>
>> We haven't exactly tracked down *why*.
>>
>> (I really really wish RHEL/CentOS would update their OpenSSH... can't
>> wait for RHEL 7 -- and less and less folks will need paramiko)
>>
>>
>>
>>
>>
>>
>> On Fri, Mar 14, 2014 at 9:37 PM, Adam Heath <[email protected]> wrote:
>>
>>> nscd turned off?  ldap in use?
>>>
>>>
>>> On 03/14/2014 07:36 PM, Filip Slunecko wrote:
>>>
>>>> I deployed on different box (the same version) and it works just fine.
>>>> Not sure what is the issue on the first one.
>>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Ansible Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/ansible-project/5323AEF4.8040403%40brainfood.com.
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/1b6ac1e9-3cfe-4e50-8a3d-50be108f2263%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/1b6ac1e9-3cfe-4e50-8a3d-50be108f2263%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAEVJ8QPX8%3Dxdq4LrNcrFZ7OQt0LE%3DEt%3DieOZP%2BsZ5tsN69Q0oA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to