On 08/26/2015 03:56 PM, David Kupka wrote:
On 26/08/15 15:45, Petr Vobornik wrote:
On 08/26/2015 02:13 PM, David Kupka wrote:
Attaching updated patch. With changes discussed offline.
Changes works for me, ACK.
(with the changes it is also ACK from me)
Not related to the patch:
This patch limits the size to 1MB instead of proposed 10MB. Testing
showed that even 10MB raises a MemoryError in archive_encrypted_data
which is AFAIK a KraClient method - Endi, this sounds as something which
should be also handled in PKI.
Especially when it happens the subsequent vault-archive command ends
with HTTPError: 503 Server Error: Service Unavailable. After restart of
pki, subsequent vault-archive with 1M file took about 4mins (in
vault_retrieve_internal). Next archive command with 1M file took "only"
10k file took 9s.
Why is it so slow?
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code