BackupPC-users

Re: [BackupPC-users] rsyncd, Parent read EOF from child

2010-06-17 08:56:41
Subject: Re: [BackupPC-users] rsyncd, Parent read EOF from child
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 17 Jun 2010 07:54:42 -0500
Alexander Moisseev wrote:
> Matthias Meyer wrote:
>> So it is very interesting that it does work with cygwin-rsyncd-2.6.8_0,
>> Windows Server 2003 Std R2.
> 
> I have no problem  with one at all.
>   
>> "Got fatal error during xfer (Child exited prematurely)" means that your
>> cygwin-rsyncd die.
>> You should increase log verbosity on cygwin-rsyncd and check against this
>> log.
> 
> I had overlook this lines in BackupPC log:
> 
> 2010-06-11 04:04:13 1s_trade_at_phoenix: Out of memory during "large" request 
> for 16781312 bytes, total sbrk() is 529952768 bytes at 
> /usr/local/BackupPC/lib/BackupPC/FileZIO.pm line 203.
> 2010-06-11 04:04:19 Backup failed on 1s_trade_at_phoenix (Child exited 
> prematurely)
> 
> It seems that when BackupPC tries to _decompress_ 342 MB file from pool it 
> consumes all available RAM and swap.
> (I had 1G RAM + 1G swap). I had resolve the problem by adding extra 512 MB of 
> RAM.
> 
> But the directory that I am backing up is only about 1000 Files and 2.5 GB 
> and the biggest file is 342 MB. Is BackupPC really needs so much memory? Or 
> it is memory leaks?

Are you running a 64-bit perl on the server?  I think it consumes much more 
memory than a 32 bit instance would.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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/