cygwin runs three instances of rsync.exe at the same time

Sam Edge sam.edge.cygwin@gmx.com
Wed Jun 19 06:09:32 GMT 2024


On 18/06/2024 16:03, asdffdsa6132 via Cygwin wrote:
> hello, thanks, first time poster, sorry if i mis-posted.
>
> when in run rsync.exe, in task manager, i see three instances running at the same time.
> in five years, my backup script runs native windows apps such as rclone.exe, restic.exe, fastcopy.exe, 7z.exe and never had this happen.
>
> now, i added rsync.exe via cygwin to the script and can see three instances at the same time???
> thanks much for cygwin, david
>
> tasklist /fi "imagename eq rsync.exe"
> Image Name                     PID Session Name        Session#    Mem Usage
> ========================= ======== ================ =========== ============
> rsync.exe                    26804 Console                    1      9,132 K
> rsync.exe                    16744 Console                    1      8,204 K
> rsync.exe                     7796 Console                    1      7,228 K
>

This is how rsync works. The executable forked from the command line
runs up two communicating child processes to handle the 'from' and 'to'
ends of the transfer.

If you are using rsync across the network, one of the children is
created on the other computer, either via an rsync daemon process or via
remote shell, usually ssh.

The documentation for rsync explains this.

--
Sam Edge



More information about the Cygwin mailing list