On Sun, 13 Nov 2016 18:48:21 +0100
Per Jessen
I have an rsyncd service for mirroring sanesecurity data. Generally it works very well, but occasionally the rsyncd server will get hung up with many rsyncd processes just waiting on (apparently) inactive clients. This can go on for minutes, possibly hours. I'm running rsyncd via xinetd. The 'timeout' parameter for rsyncd.conf doesn't seem to take effect. I have now taken to automatically killing any rsyncd process running for more than 90seconds, which has improved things tremendously.
I have a number of rsync jobs that run regularly. Mine take hours rather than minutes. My jobs are mostly 'receivers' in rsync terminology; the 'senders' are public sites. Mostly my jobs run OK and I use a program called dirvish to manage rsync - it restarts rsync if it fails. That handles the most common failure cases but I do have one site in particular that sometimes hangs with an open but unresponsive connection. Unfortunately the site owners are not very helpful in diagnosing the problem. I used to use rsync 3.06 but now use 3.1.2 and that has had no effect (the other end still uses 3.0.6 though). Some troubles seem to be caused by one particular file since it became just over 1 TB in size. But I really don't understand what causes the failures or the hangs, sorry.
Also, rsyncd seems to ignore my "hosts deny" setting - I tried refusing access to a couple of the most frequently hanging clients, but afaict, rsyncd just ignores "hosts deny".
I haven't tried anything like this so can't help at all with this point. Cheers, Dave
I'm happy to post complete configs, but before I clog up the list with that, somebody might recognise the scenario above?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org