BackupPC-users

Re: [BackupPC-users] Out of memory, backuppc_dump with rsyncd

2014-05-06 13:36:42
Subject: Re: [BackupPC-users] Out of memory, backuppc_dump with rsyncd
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: pmaladjian AT hilaire DOT fr, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 6 May 2014 12:35:06 -0500
On Tue, May 6, 2014 at 7:22 AM, Philippe MALADJIAN
<pmaladjian AT hilaire DOT fr> wrote:
> Hello,
>
> For backup my server i'm using the rsyncd method but on one server, after a
> few minutes the backuppc_dump process use the all memory and the backup
> server wait the out of memory defined on the rsync options.
>
> I've go to strance -p XXXX rsyncd sub-process and i've this :
>
> [... before the copy it's ok... ]
> select(4, [3], [3], [3], {60, 0}) = 1 (out [3], left {60, 0})
> write(3,
> "\235\343\0\7M,\354Zys\333\306\25\377\237\237\342\211\243\32d\206\"%9IkI\224\302X\224"...,
> 58273) = 58273
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> select(4, [3], [], [3], {60, 0}) = 0 (Timeout)
> [...]
>
> My backuppc server a 6Go of RAM, I've 118 751 files for 9,1Go of data to
> save.
>

Rsync will send the entire directory tree to the server before both
systems walk the lists for the comparison, so it does take some
memory,  but your numbers look reasonable.  Just guessing - could the
target system have some other filesystems mounted or perhaps have
filesystem corruption or directory links that loop infinitely?

-- 
  Les Mikesell
    lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/