If you have a lot of packages or channels, or even if you don't, I would recommend increasing the value of the memory settings on taskomatic. From my experience they are very low by default... in /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf update the values wrapper.java.maxmemory and wrapper.java.initmemory to larger values (I have mine to 1GB min/4GB max, but Red Hat recommends less, at https://access.redhat.com/solutions/43122).
Also, in /etc/rhn/rhn.conf, there are some sparsely documented values that can be increased as well: taskomatic.errata_cache_max_work_items = 50 taskomatic.channel_repodata_max_work_items = 50 Hope that helps and avoids you having to restart it so often. On Mon, Nov 21, 2016 at 8:29 AM Romo, Gary - DEN <[email protected]> wrote: > To force the re-application of packages and erratas in the database, use > > # rm -rf /var/cache/rhn/satsync/* > # satellite-sync [...] --force-all-errata --force-all-packages > > if you also want to re-download the packages they will need to be removed > from /var/satellite before running any satellite-sync of the original > channel > > > -GARY > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Frank Paulick > Sent: Monday, November 21, 2016 3:20 AM > To: [email protected] > Subject: [Spacewalk-list] New Packages in Channel, Repo Rebuild > > Hi, > > > what is the correct way to get spacewalk to rebuild the repo cache of a, > or all channels ? > > We have channels where we import packages a few times a day and most of > the time it takes a long time until these packages are available on the > subscribed systems. > > Currently restarting the taskomatic service helps (not always ..) > > > Regards > > Frank > > > -- > Mit freundlichen Grüßen > > Frank Paulick > IT Infrastruktur > _________________________________ > > Baader Bank AG > Weihenstephaner Straße 4 > 85716 Unterschleißheim, Deutschland > > T +49 89 5150 1522 <+49%2089%2051501522> > F +49 89 5150 2421 <+49%2089%2051502421> > > [email protected] > http://www.baaderbank.de > _________________________________ > > Baader Bank Aktiengesellschaft • Vorstand: Nico Baader (Vors.), Dieter > Brichmann (stv. Vors.), Christian Bacherl, Oliver Riedel Vorsitzender des > Aufsichtsrates: Dr. Horst Schiessl Amtsgericht München HRB 121537 • Sitz > der Gesellschaft: Unterschleißheim • StNr. 143/100/10066 • USt-IdNr. > DE114123893 > _____________________________________________________________________________________________________ > > Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich > geschützte Informationen. Wenn Sie nicht der richtige Adressat dieser > E-Mail sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie > uns bitte unverzüglich und löschen Sie diese E-Mail. Das unerlaubte > Vervielfältigen oder Weiterleiten dieser E-Mail ist strikt untersagt. > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
