[Spacewalk-list] Spacewalk Proxies failing to serve large packages

Stephen Herr sherr at redhat.com
Mon May 11 14:01:23 UTC 2015


On 05/08/2015 06:52 PM, Matthew Madey wrote:
> I'm seeing an issue with packages 300MB and larger being served by
> Spacewalk proxies. When I run yum install on a client, it gets to 97% of
> the download or so and fails with the below message:
> 
> Error Downloading Packages:
>  somepackage.x86_64: failed to retrieve
> getPackage/somepackage.x86_64.rpm from rhel-x86_64-server-6-datacenter
> error was [Errno 14] PYCURL ERROR 18 - "transfer closed with 1499666
> bytes remaining to read"
> 
> Looking at the Spacewalk proxy, I see the below error:
> 
> [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201] mod_wsgi
> (pid=9403): Exception occurred processing WSGI script
> '/usr/share/rhn/wsgi/xmlrpc.py'.
> [Fri May 08 18:42:28 2015] [error] [client 172.20.165.201] IOError:
> failed to write data
> 
> Here's what I've tried so far with no luck:
> 
> 1. Increase max_object_size parameter in squid.conf to 500MB
> 2. Turn on KeepAlive parameter in httpd.conf
> 3. Increase KeepAlive timeout in httpd.conf to 120 seconds
> 4. Increase Timeout in httpd.conf to 120 seconds
> 
> Any ideas?
> 

No ideas per say, but that doesn't sound like a squid problem. Your
client is saying "someone upstream killed the connection", and your
proxy is saying "someone downstream killed the connection". Do you have
anything between the Spacewalk proxy and the client, an http proxy perhaps?

-Stephen




More information about the Spacewalk-list mailing list