Is it possible to cap CPU/Memory usage


#1

Is it possible to cap or limit CPU/Memory usage during copy/sync operations?


#2

I don’t think directly you can limit those things.

You could potentially either throttle the amount of transfers to reduce the load.

You can use “nice” to limit the CPU usage to available cycles, which is similiar to ionice that does the same for disk IO.

Something like:

/usr/bin/nice -n 19 /usr/bin/ionice -c2 -n7 rclone sync something1 something2


#3

You can use OS features as @Animosity022 suggests.

Lowering --transfers and --checkers will decrease Memory and CPU usage.

If you want to use less CPU then use --bwlimit or --tpslimit to slow rclone down.


#4

Thanks folks, I will try these out!