On Thu, Oct 23, 2008 at 07:26:43PM -0400, Pradeep Kilambi wrote: > 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: > > > >[EMAIL PROTECTED] 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 > > > >[EMAIL PROTECTED] 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
Yep, seems to do the trick, thankyou. I suspect this tweak might also help when a number of machines all contact Spacewalk at once and make the system unresponsive enough to trigger the timeout, for example when using OSAD and scheduling actions immediately. This leads to actions failing from time to time. I'll experiment and see. Thanks & regards, -- David Nutter Tel: +44 (0)131 650 4888 BioSS, JCMB, King's Buildings, Mayfield Rd, EH9 3JZ. Scotland, UK Biomathematics and Statistics Scotland (BioSS) is formally part of The Scottish Crop Research Institute (SCRI), a registered Scottish charity No. SC006662 _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
