[Fwd: Apache as a Rsync HTTP proxy]
Vincent Blondel
vincent at xtra-net.org
Wed Dec 21 06:50:51 GMT 2005
John,
see below ....
I hope this can help you.
> Vincent,
>
> Thanks for the additional info. "the problem is always happening" is
> different from "sometimes" that you used in your original email.
>
> The idle rsync processes implies that Apache is closing the channel
> on its own. So...
>
> What is the command that you use to run the rsync client?
rsync -clprtzv --delete
>
> What environment variables do you set, like RSYNC_PROXY?
This is the result of "env" command :
_=/usr/bin/env
BLOCKSIZE=K
EDITOR=vi
FTP_PASSIVE_MODE=YES
HOME=/root
MAIL=/var/mail/root
PAGER=more
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin
RSYNC_PROXY=sbezoxaa:8081
PS1=`whoami`@`hostname -s` [$PWD] #
SHELL=/bin/ksh
TERM=xterm
USER=root
_AST_FEATURES=UNIVERSE - ucb
>
> John
>
>
> On Tue, 20 Dec 2005, Vincent Blondel <vincent at xtra-net.org> wrote:
>>
>> So, to be very clear, I get a server (in my LAN) that synchronizes a website (on the net) twice an hour with the rsync
>> utility. My web server is located in a vlan that doesn't have any access on the internet.
>>
>> So the server access the internet through an HTTP proxy ( apache 1.3.X ) with rsync 2.6.6.
>>
>> Rsync Server
>> ^
>> |
>> internet
>> ^
>> |
>> router
>> ^
>> |
>> Apache HTTP proxy
>> ^
>> |
>> Server (Rsync client)
>>
>> When you have a look at my httpd config, I am also using ProxyReceiveBufferSize with value 2048 and ProxyIOBufferSize
>> with
>> value 131072 but the problem is always happening.
>>
>> Each time, rsync starts, the connection breaks a few seconds after it receives the files list and at the end of the day I
>> get 50 rsync idle processes. I get exacly the same situation on the HTTP proxy that gets 50 idle processes waiting an
>> answer from the rsync processes.
>
>
More information about the rsync
mailing list