From a2ade98debfa1bdd6c9c6f8cee8cf6445abe2795 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 21 Mar 2012 06:18:32 +0000 Subject: limit the number of simultaneous downloads on rsync, so we do not have 15 rsync running when cloudsigma try to download iso ( since this produces xymon alert ). Check with lsof | grep rsync | grep TCP --- modules/rsyncd/templates/xinetd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/rsyncd/templates/xinetd b/modules/rsyncd/templates/xinetd index 7b15520d..3359ca84 100644 --- a/modules/rsyncd/templates/xinetd +++ b/modules/rsyncd/templates/xinetd @@ -1,4 +1,3 @@ -# $Id: xinetd 319 2009-02-28 17:05:16Z guillomovitch $ service rsync { disable = no @@ -8,6 +7,9 @@ service rsync server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID - flags = IPv6 + flags = IPv6 + # some mirorrs do not seems to use lock when downloading from + # us and try to download the same stuff 15 time in a row + per_source = 4 } -- cgit v1.2.1