-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
sxbackup seems to use pv whenever it finds it installed, even when not running on a shell.
When running from a systemd timer-service setup, this will add a lot of CPU overhead as pv seems to misbehave under such conditions and runs at 100% CPU usage (i.e. fully loads a single core by itself) and causes transfer speeds to tank.
In any case, using an interactive progress indicator like pv makes no sense for a timed background job.
I would suggest not using pv unless specifically requested via commandline. Alternatively some kind of autodetection if sxbackup is running in an interactive shell or not, if that can be done reliably.
Reactions are currently unavailable