I think you might not have enough space to do this. You should contact red
hat support and get them to help you.

On Thu, Mar 28, 2019 at 8:15 PM Sebastian Meyer <[email protected]> wrote:

> Hi,
>
> On 29.03.19 00:55, Sindhuja Koneru wrote:
> > '"'"'/usr/bin/python
> > /root/.ansible/tmp/ansible-tmp-1553783711.94-90505061625143/slurp.py &&
> > sleep 0'"'"''
>
> Any reason you are using slurp and not fetch?
>
> slurp reads the whole file into memory, afterwards it does base64
> encoding still in memory, and then transfers the content.
>
> This is basically what happens in slurp:
>
> ---
> $ python
> Python 2.7.14 (default, Oct 12 2017, 15:50:02) [GCC] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import base64
> >>> import os
> >>> with open('/isos/rhel-server-5.11-x86_64-dvd.iso', 'rb') as source:
> ...   source_content = source.read()
> ...
> >>> data = base64.b64encode(source_content)
> >>>
> ---
>
> My testfile is a 4.2GB and ram usage for that single python process goes
> up to 12.5GB before settling at 9.7GB.
>
> Sooooo you might not have enough RAM on the system you're slurping the
> file from.
>
> Sebastian
>
> --
> Sebastian Meyer
> Linux Consultant & Trainer
> Mail: [email protected]
>
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>
> --
> 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/31cc4d14-b626-8eaf-18ef-5a73dfd9c832%40b1-systems.de
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Jonathan lozada de la matta

AUTOMATION PRACTICE

-- 
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/CAFYJA%2BJzg%2Bg-zNrNx5xZ25aRhOEvS0b23kOq-1txNSDNqb36Jg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to