rsync processes

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

rsync processes

aditsu
Hi, from time to time I notice that I have some rsync processes (with masterdistfiles) that never seem to finish, they keep on running for days (and multiple instances are running in parallel).
I've been killing them manually, is there a better way? Or how can I prevent this from happening?

Thanks
Adrian
Reply | Threaded
Open this post in threaded view
|

Re: rsync processes

Jeremy Olexa-3
On Thu, Sep 15, 2011 at 12:25 PM, Adrian Sandor <[hidden email]> wrote:
>
> Hi, from time to time I notice that I have some rsync processes (with masterdistfiles) that never seem to finish, they keep on running for days (and multiple instances are running in parallel).
> I've been killing them manually, is there a better way? Or how can I prevent this from happening?
> Thanks
> Adrian

Hello,

There is a tip on the bottom of the rsync document[1] to kill rsync
processes. Are you using masterdistfiles-us or -eu? It will probably
help to pick the one closest to you.

-Jeremy

[1]: http://www.gentoo.org/doc/en/rsync.xml

Reply | Threaded
Open this post in threaded view
|

Re: rsync processes

aditsu
From: Jeremy Olexa <[hidden email]>

>
>On Thu, Sep 15, 2011 at 12:25 PM, Adrian Sandor <[hidden email]> wrote:
>>
>> Hi, from time to time I notice that I have some rsync processes (with masterdistfiles) that never seem to finish, they keep on running for days (and multiple instances are running in parallel).
>> I've been killing them manually, is there a better way? Or how can I prevent this from happening?
>> Thanks
>> Adrian
>
>Hello,
>
>There is a tip on the bottom of the rsync document[1] to kill rsync
>processes. Are you using masterdistfiles-us or -eu? It will probably
>help to pick the one closest to you.
>
>-Jeremy
>
>[1]: http://www.gentoo.org/doc/en/rsync.xml
>


Thanks I'll try it.
I'm using masterdistfiles.gentoo.org ; the server is located in Asia (Hong Kong) so neither US nor Europe is "close".

Adrian


Reply | Threaded
Open this post in threaded view
|

Re: rsync processes

Jeremy Olexa-3
On Thu, Sep 15, 2011 at 1:12 PM, Adrian Sandor <[hidden email]> wrote:

> I'm using masterdistfiles.gentoo.org ; the server is located in Asia (Hong Kong) so neither US nor Europe is "close".

Of course, by 'close' I meant via ping/latency/network, not
geographical location.
-Jeremy

Reply | Threaded
Open this post in threaded view
|

Re: rsync processes

aditsu
> From: Jeremy Olexa <[hidden email]>

>
> On Thu, Sep 15, 2011 at 1:12 PM, Adrian Sandor <[hidden email]> wrote:
>
>>  I'm using masterdistfiles.gentoo.org ; the server is located in Asia
> (Hong Kong) so neither US nor Europe is "close".
>
> Of course, by 'close' I meant via ping/latency/network, not
> geographical location.
> -Jeremy
>

Yeah but they are related too (due to the speed of light if nothing else).
Anyway:

ping masterdistfiles.gentoo.org
PING rsync.osuosl.org (64.50.233.100) 56(84) bytes of data.
64 bytes from ftp-nyc.osuosl.org (64.50.233.100): icmp_req=1 ttl=50 time=301 ms
[...]
--- rsync.osuosl.org ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9066ms
rtt min/avg/max/mdev = 286.854/292.275/301.749/5.198 ms

ping masterdistfiles-us.gentoo.org
PING rsync.osuosl.org (64.50.236.52) 56(84) bytes of data.
64 bytes from ftp-chi.osuosl.org (64.50.236.52): icmp_req=1 ttl=51 time=238 ms
[...]
--- rsync.osuosl.org ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9009ms
rtt min/avg/max/mdev = 232.765/233.949/238.296/2.030 ms

ping masterdistfiles-eu.gentoo.org
PING kea.gentoo.org (194.116.84.30) 56(84) bytes of data.
64 bytes from kea.gentoo.org (194.116.84.30): icmp_req=1 ttl=51 time=340 ms
[...]
--- kea.gentoo.org ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9152ms
rtt min/avg/max/mdev = 340.814/341.800/347.640/2.111 ms

Looks like the -us one has slightly lower latency. Don't know about bandwidth.

Adrian