On 04/08/2019 04.58, L A Walsh wrote:
On 2019/08/03 04:20, Carlos E. R. wrote:
Isengard:~ # systemctl status rsyncd ● rsyncd.service - Start the rsync server daemon Loaded: loaded (/usr/lib/systemd/system/rsyncd.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/rsyncd.service.d └─override.conf Active: active (running) since Sat 2019-08-03 13:11:26 CEST; 3min 37s ago Main PID: 15728 (rsyncd) Tasks: 3 (limit: 4915) <============= CPU: 2.066s CGroup: /system.slice/rsyncd.service ├─15728 /usr/sbin/rsyncd --daemon --no-detach ├─15796 /usr/sbin/rsyncd --daemon --no-detach └─15797 /usr/sbin/rsyncd --daemon --no-detach
Aug 03 13:11:26 Isengard systemd[1]: Started Start the rsync server daemon. Isengard:~ #
Bingo! :-D
Sometimes I love systemd :-! :-)
--- That's nice. Um, so 2.066s out of 217s = 90%?
Must be systemd math. :^/
You haven't shown that it is limiting it to 90% of 1 cpu.
For that, you need to fire up top and observe the load going up and down, but not passing 85% (I set the load limit to 85). See: (s): 9.4 us, 16.7 sy, 0.0 ni, 72.8 id, 0.1 wa, 0.0 hi, 1.1 si, 0.0 st KiB Mem : 8012476 total, 125164 free, 681720 used, 7205592 buff/cache KiB Swap: 9446396 total, 8819452 free, 626944 used. 6880100 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 19518 root 20 0 91204 4108 1860 R 84.87 0.051 3:32.60 rsyncd 25536 root 20 0 52992 7308 2304 S 3.947 0.091 121:29.16 iotop ... top - 12:35:36 up 39 days, 22:21, 6 users, load average: 2.55, 2.06, 1.07 Tasks: 394 total, 2 running, 392 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.5 us, 17.0 sy, 0.0 ni, 70.1 id, 1.8 wa, 0.0 hi, 1.7 si, 0.0 st KiB Mem : 8012476 total, 130232 free, 678100 used, 7204144 buff/cache KiB Swap: 9446396 total, 8819452 free, 626944 used. 6885392 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 19518 root 20 0 91204 4108 1860 R 85.25 0.051 4:03.47 rsyncd 25536 root 20 0 52992 7308 2304 S 4.262 0.091 121:30.59 iotop ... top - 12:36:00 up 39 days, 22:22, 6 users, load average: 2.22, 2.03, 1.08 Tasks: 394 total, 2 running, 392 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.4 us, 19.5 sy, 1.5 ni, 66.4 id, 1.3 wa, 0.0 hi, 1.8 si, 0.0 st KiB Mem : 8012476 total, 141572 free, 676808 used, 7194096 buff/cache KiB Swap: 9446396 total, 8819452 free, 626944 used. 6886684 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 19518 root 20 0 91204 3872 1624 R 84.26 0.048 4:20.53 rsyncd 925 cer 20 0 2832304 143504 5512 S 10.82 1.791 825:42.78 kodi-x11 25536 root 20 0 52992 7136 2132 S 4.262 0.089 121:31.53 iotop -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)