[Spacewalk-list] Spacewalk Proxy 1.7 on RHEL 6 .. 'Operation too slow'

Miroslav Suchy msuchy at redhat.com
Tue Jul 17 21:11:57 UTC 2012


On 17.7.2012 22:10, Igor Widlinski wrote:
> Sorry, is there something special I have to do in order to view the
> bugs? There does not seem to be a way to check bugzilla through RHN
> Customer Portal either.

Ah sorry, both contain customers data so they are private. I will give 
you summary:

> https://bugzilla.redhat.com/show_bug.cgi?id=767443
Proxy will timeout becouse it will not get data within given timeframe.
This happen on very slow network or with big files.

The timeout can be tuned by setting:
   self.sock.settimeout(CFG['sometimeout'])
in getresponse() or __init__() of HTTPConnection class in connections.py

The trouble is that this is rhnlib code, which knows nothing about CFG, 
so we have to pass it from rhnShared.py in _proxy2server() to rhnlib


> https://bugzilla.redhat.com/show_bug.cgi?id=783928

and this is that rhnlib bugzilla, where we either have to read that 
timeout from some config or provide interface for proxy to set it.

Temporary workaround is to manually edit:
DEFAULT_TIMEOUT=120 in /usr/lib/python2.6/site-packages/rhn/SSL.py
to some higher value. But this change will be wiped next time you 
upgrade rhnlib package.

Mirek




More information about the Spacewalk-list mailing list