[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] pulp-admin number of threads



Thank you for your help, I updated the config.

Also, with your explanation, I understand now how it's working.

Best regards,
Cristian Falcas



On Wed, Apr 3, 2013 at 10:25 PM, Jason Connor <jconnor redhat com> wrote:
> Hi Cristian,
>
> You can reduce the number of syncs that happen concurrently in the "Asynchronous Tasks" section of the config file (starting at line 253 in the default config file).
>
> Please read the documentation in the config file carefully before adjusting the values in the [tasks] section.
>
> Below is my recommendations for changing the maximum number of concurrent syncs:
>
> To reduce the number of syncs that can happen concurrently to 1 (i.e. only 1 sync runs at a time), change the concurrency_threshold to 3. For a maximum of 2 syncs at a time, change the concurrency_threshold to 5.
>
> Then restart the server.
>
> I hope this helps.
>
>
> On Apr 3, 2013, at 3:00 AM, Cristian Falcas <cristi falcas gmail com> wrote:
>
>> Hello list,
>>
>> I have a machine where I keep around 20 repositories, some of them big
>> (epel5 and 6, ol5 and 6).
>>
>> When I'm running the sync command for one repository, the io goes to
>> 50%, apache consumes one cpu and the machine is getting sluggish. If
>> I'm trying to sync all repositories, the machine becomes useless.
>>
>> I didn't find anything in the config files or google, so I'm asking
>> here: how can I set the number of threads that pulp will use at one
>> time? I want to set it to 1 or 2.
>>
>> Best regards,
>> Cristian Falcas
>>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list redhat com
>> https://www.redhat.com/mailman/listinfo/pulp-list
>
> Jason L Connor
> linear on freenode #pulp
> http://pulpproject.org/
> RHCE: 805010912355231
> GPG Fingerprint: 2048R/CC4ED7C1
>
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]