[Spacewalk-list] Timeouts with rhnpush and large packages

Pradeep Kilambi pkilambi at redhat.com
Thu Oct 23 23:26:43 UTC 2008


David Nutter wrote:
> Hello,
>
> I'm having some difficulty uploading some Matlab RPMs I made to
> Spacewalk: rhnpush times out when pushing very large (553Mb in this
> case) packages. 
>
> Interestingly it seems that the physical upload of the package file to
> /var/satellite succeeds:
>
> [davidn at spacewalk yum] $ find /var/satellite/redhat/1 -iname 'matlab*'
> /var/satellite/redhat/1/187/matlab
> /var/satellite/redhat/1/187/matlab/7.7-1.el5/x86_64/187b13b86120f2eac40a741e83e8044a/matlab-7.7-1.el5.x86_64.rpm
>
> [davidn at spacewalk yum] $ ls -lh /var/satellite/redhat/1/187/matlab/7.7-1.el5/x86_64/187b13b86120f2eac40a741e83e8044a/matlab-7.7-1.el5.x86_64.rpm
> -rw-r--r-- 1 apache apache 553M Oct 23 12:46 /var/satellite/redhat/1/187/matlab/7.7-1.el5/x86_64/187b13b86120f2eac40a741e83e8044a/matlab-7.7-1.el5.x86_64.rpm
>
> Is it possible to increase the timeout period? My spacewalk server is
> hosted on a Xen VM using XVDA disk images; consequently disk IO for
> both uploads and DB access is very slow so I may need a longer timeout
> than is customary.
>   
We dont limit the session from the server side. rhnlib waits for the 
server response and automatically times out if the server did not 
respond in a given time.

try bumping this to higher value and see if that helps:

# cat /usr/lib/python2.3/site-packages/rhn/SSL.py | grep TIMEOUT
DEFAULT_TIMEOUT = 120

~ Prad


> Regards,
>
>   


-- 
--
Pradeep Kilambi
RHN Satellite Engineering
pkilambi at redhat.com
Phone: +1 919 754 4285
RHCE # 805008680430554





More information about the Spacewalk-list mailing list