rsync --server and "max connections"

Wayne Davison wayned at samba.org
Thu Jul 14 01:38:25 GMT 2005


On Tue, Jul 12, 2005 at 10:06:09PM -0400, Jeremy Lepore wrote:
> Is there also [a "max connections"] when rsync --server (on the target
> node) is us used (in the absence of a rsyncd.conf file) ? 

There is nothing like that built-in to rsync.  You could, however,
create a wrapper script that would do some kind of locking and refuse to
run rsync if there were too many concurrent rsync invocations (put the
wrapper in place of the normal rsync, and have it call the relocated
rsync if it gets a lock).  As long as the wrapper outputs an error
message on stderr (not stdout) when the locking failed, the user would
see the reason why their rsync command failed.

..wayne..


More information about the rsync mailing list