[Spacewalk-list] repodata files not being updated

Jon Wakelin jw292 at leicester.ac.uk
Tue Jun 10 15:34:15 UTC 2014


On 09/06/14 23:28, waz0wski wrote:
> Hey Jon,
>
> Check to ensure that Taskomatic service is running, and check the logs 
> in /var/log/rhn/rhn_taskomatic_daemon.log)
>


> You should be able to trigger a run of the channel-repodata-bunch via 
> spacewalk webUI for taskomatic and tail the logs to see what it does.
>

Thanks, I did that.  Most of the repos get reuilt but I get an out of 
memory error on one of the large repos (>9000 packages).

   INFO   | jvm 1    | 2014/06/10 14:08:12 | 2014-06-10 14:08:12,810 
[Thread-54] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter 
- Generating new repository metadata for channel 'xroa-server'(sha1) 
9076 packages, 1390 errata
   INFO   | jvm 1    | 2014/06/10 14:08:31 | Exception in thread 
"Thread-54" java.lang.OutOfMemoryError: Java heap space


I doubled the amount of memory for taskomatic by adding

      taskomatic.maxmemory = 2048

to /etc/rhn/rhn.conf and restarted taskomatic. channel-repodata-bunch 
now runs to completion and regenerates all of the repodata.

Thanks for the pointer.
Jon








More information about the Spacewalk-list mailing list