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 <[email protected]> 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
> [email protected]
> https://www.redhat.com/mailman/listinfo/pulp-list

Jason L Connor
linear on freenode #pulp
http://pulpproject.org/
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1




_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to