Bacula-users

Re: [Bacula-users] Accurate backup and memory usage

2011-03-16 04:18:00
Subject: Re: [Bacula-users] Accurate backup and memory usage
From: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 16 Mar 2011 09:14:39 +0100
Am 15.03.2011 19:12, schrieb Christian Manal:
> Am 15.03.2011 17:49, schrieb Kjetil Torgrim Homme:
>> Christian Manal <moenoel AT informatik.uni-bremen DOT de> writes:
>>
>>> Also, after several accurate jobs running without restarting Bacula,
>>> the total memory usage of the director and fd didn't go up anymore, so
>>> I presume it comes down to the behavior of Solaris' free(), as
>>> described in the above quoted manpage.
>>
>> libumem may work better -- just set LD_PRELOAD, you don't have to
>> recompile.  I'd appreciate it if you report back if you try it.
>>
> 
> Actually, I already did that. Modified the startup script for the
> affected fd (don't want the director crashing if things go wrong) and
> restarted. I will report the results tomorrow.

Looks good. Backups went fine, the director is at 2G of RAM again but
the fd that uses libumem is down to measly 11M :)

For everyone who wants to try this, I added the following lines at the
top of bacula-ctl-fd to make this work:

   LD_PRELOAD=libumem.so
   export LD_PRELOAD
   UMEM_OPTIONS=backend=mmap
   export UMEM_OPTIONS


Regards,
Christian Manal

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users