Am 15.03.2011 19:12, schrieb Christian Manal:
> Am 15.03.2011 17:49, schrieb Kjetil Torgrim Homme:
>> Christian Manal <moen...@informatik.uni-bremen.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to