Re: [BackupPC-users] Backup faiures, how to troublehoot
2009-03-11 16:02:55
Andrew Libby wrote:
>
>>
>> So we calculated it and the ram comes to under a gig. We've
>> got 4G of ram. The system does not seem to swap when
>> processing a backup. fsck also seems to be in good standing.
>>
>> Thanks for the suggestions,
>>
>> Andy
>
> Okay, so I've got some more information. Seems that the
> log in /var/lib/backuppc/log called LOG has
>
> 2009-03-11 10:12:23 shyamalan: Out of memory!
> 2009-03-11 10:12:35 Backup failed on shyamalan (Child exited
> prematurely)
>
>
> I thought out of memory errors were to happen on the client,
> rather than the server. I don't know why I would think that
> though.
The client sends the directory list to the server, then the server walks
though it comparing against the previous full.
> The server here has 4G, and as I said, the ram required for
> the 6M files should be under a gig 6512257 * 100 == 621M
> unless my math stinks (and it frequently does).
Where did you find the '100' factor? I'd have guessed bigger - and I
think some versions of 64 bit perl have bugs that make it consume more
memory. It might work better to stay 32-bit on a 4 gig machine - or add
more RAM if you are 64-bit.
> My sar stats clearly show the backuppc server running out
> of memory, but swap utilization remains low.
Sar takes snapshots at 10 minute intervals - you might easily miss
peaks. If you are running more than one backup concurrently it might
help to cut back.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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/
|
|
|