[Spacewalk-list] Increase concurrent repmod.RepositoryWriter tasks

Miroslav Suchý msuchy at redhat.com
Wed Mar 7 14:58:48 UTC 2012


On 03/06/2012 07:19 PM, Renato Botelho wrote:
> I noted taskomatic starts 2 concurrent tasks to do it, the task
> name is:
>
> com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter
>
> In this case it will generate 2 channels metadata / hour. Sometimes
> we receive updates for 40 channels, and it takes about 15 hours
> to finish all these tasks.
>
> During this 15 hours, users can see new erratas on RHN Satellite
> web interface, but cannot apply them because channel metadata
> is old.
>
> I'm wondering if there is a way to improve this process, the first
> thing that came to mind was increase the concurrent tasks, but
> i couldn't find any kind of configuration to do it.


Yes, there is way. Put:
taskomatic.channel_repodata_workers = 10
into /etc/rhn/rhn.conf and you will get ten workers.

-- 
Miroslav Suchy
Red Hat Satellite Engineering




More information about the Spacewalk-list mailing list