[Spacewalk-list] Increase concurrent repmod.RepositoryWriter tasks

Renato Botelho rbgarga at gmail.com
Wed Mar 7 15:27:48 UTC 2012


2012/3/7 Miroslav Suchý <msuchy at redhat.com>:
> 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.

Hello Miroslav,

It worked as expected. Thank you!

Is there any recommendation about how many workers to run? I
mean, is it related with the number of CPUs you have or with
the amount of memory? Or i need to increase it and take a look
to figure out the ideal number?

Regards
-- 
Renato Botelho




More information about the Spacewalk-list mailing list