[Fwd: Apache as a Rsync HTTP proxy]
vincent at xtra-net.org
Wed Dec 21 06:50:51 GMT 2005
see below ....
I hope this can help you.
> 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 :
PS1=`whoami`@`hostname -s` [$PWD] #
_AST_FEATURES=UNIVERSE - ucb
> 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
>> 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
>> 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