<div dir="ltr">Stephen, that was exactly it! Thank you! </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 11, 2015 at 2:46 PM, Stephen Herr <span dir="ltr"><<a href="mailto:sherr@redhat.com" target="_blank">sherr@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oh, I bet you're running out of space in /tmp and hitting this behavior:<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1158193" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1158193</a><br>
<br>
Proxy 2.0 and on stores large files in /tmp instead of in-memory, since<br>
people were having problems where they ran out of memory and then the<br>
Out-Of-Memory killer would kill httpd. Proxy 2.3 adds an config option<br>
that allows you to better control the in-memory vs on-disk size limit,<br>
but the best solution is probably just to extend your /tmp partition.<br>
<br>
-Stephen<br>
<span class=""><br>
<br>
On 05/11/2015 02:39 PM, Matthew Madey wrote:<br>
> Thanks for the responses. No, there are no other proxies between the<br>
> Spacewalk Proxy and client, and I don't have any timeout settings<br>
> specified in rhn.conf, yum.conf, or up2date.<br>
> If I register the client directly to the Spacewalk server, I'm able to<br>
> download the package without an issue.. so the problem definitely lies<br>
> in the caching mechanism of the Spacewalk proxy. What concerns me is the<br>
> below error I see on the Spacewalk Proxy when attempting to retrieve the<br>
> package.<br>
><br>
> [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201] mod_wsgi<br>
> (pid=9403): Exception occurred processing WSGI script<br>
> '/usr/share/rhn/wsgi/xmlrpc.py'.<br>
> [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201] IOError:<br>
> failed to write data<br>
><br>
><br>
><br>
> On Mon, May 11, 2015 at 11:21 AM, Michael Calmer <<a href="mailto:mc@suse.de">mc@suse.de</a><br>
</span><div><div class="h5">> <mailto:<a href="mailto:mc@suse.de">mc@suse.de</a>>> wrote:<br>
><br>
>     Hi,<br>
><br>
>     Am Freitag, 8. Mai 2015, 17:52:29 schrieb Matthew Madey:<br>
>     > I'm seeing an issue with packages 300MB and larger being served by<br>
>     > Spacewalk proxies. When I run yum install on a client, it gets to<br>
>     97% of<br>
>     > the download or so and fails with the below message:<br>
>     ><br>
>     > Error Downloading Packages:<br>
>     >  somepackage.x86_64: failed to retrieve<br>
>     getPackage/somepackage.x86_64.rpm<br>
>     > from rhel-x86_64-server-6-datacenter<br>
>     > error was [Errno 14] PYCURL ERROR 18 - "transfer closed with<br>
>     1499666 bytes<br>
>     > remaining to read"<br>
>     ><br>
>     > Looking at the Spacewalk proxy, I see the below error:<br>
>     ><br>
>     > [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201] mod_wsgi<br>
>     > (pid=9403): Exception occurred processing WSGI script<br>
>     > '/usr/share/rhn/wsgi/xmlrpc.py'.<br>
>     > [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201]<br>
>     IOError: failed<br>
>     > to write data<br>
>     ><br>
>     > Here's what I've tried so far with no luck:<br>
>     ><br>
>     > 1. Increase max_object_size parameter in squid.conf to 500MB<br>
>     > 2. Turn on KeepAlive parameter in httpd.conf<br>
>     > 3. Increase KeepAlive timeout in httpd.conf to 120 seconds<br>
>     > 4. Increase Timeout in httpd.conf to 120 seconds<br>
><br>
>     What about the timeout parameter in rhn.conf (server and proxy) and<br>
>     in up2date<br>
>     conf (for yum - or was it in a special yum config file?)<br>
><br>
>     --<br>
>     Regards<br>
><br>
>             Michael Calmer<br>
><br>
>     --------------------------------------------------------------------------<br>
>     Michael Calmer<br>
>     SUSE LINUX GmbH, Maxfeldstr. 5, D-90409 Nuernberg<br>
</div></div>>     T: <a href="tel:%2B49%20%280%29%20911%2074053%200" value="+49911740530">+49 (0) 911 74053 0</a> <tel:%2B49%20%280%29%20911%2074053%200><br>
>     F: <a href="tel:%2B49%20%280%29%20911%2074053575" value="+4991174053575">+49 (0) 911 74053575</a> <tel:%2B49%20%280%29%20911%2074053575>  -<br>
>     e-mail: <a href="mailto:Michael.Calmer@suse.com">Michael.Calmer@suse.com</a> <mailto:<a href="mailto:Michael.Calmer@suse.com">Michael.Calmer@suse.com</a>><br>
<span class="">>     --------------------------------------------------------------------------<br>
>     SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu,<br>
>                          Graham Norton, HRB 21284 (AG Nürnberg)<br>
><br>
><br>
>     _______________________________________________<br>
>     Spacewalk-list mailing list<br>
</span>>     <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a> <mailto:<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>><br>
>     <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<div class="HOEnZb"><div class="h5">><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> <a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
><br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</div></div></blockquote></div><br></div>