>>>>> On Thu, 29 Dec 2005 08:34:07 +0100, Moritz Bunkus <[EMAIL PROTECTED]> >>>>> said:
Moritz> A couple of months ago we've replaced another backup solution with Moritz> Bacula. Very nice piece of software, we're very satisfied. Our setup Moritz> isn't that big: a single DDS5 tape drive to which six servers are backed Moritz> up. A full backup takes up ~50 GB of space (two tapes). All machines are Moritz> running Debian Sarge and the Bacula version that comes with it (Debian Moritz> package version number is 1.36.2-2sarge1). Moritz> Unfortunately the file demon (and only that one) seems to be Moritz> memleaking. A few weeks ago our main server ran out of memory (including Moritz> swap space), and random tasks were killed, all because bacula-fd was Moritz> sucking up all available memory. A simple restart of bacula-fd fixed Moritz> that problem, and the backup continued to run normally. Moritz> But this problem still occurs. Today bacula-fd is again using more Moritz> memory than I think it should: Moritz> 0 [EMAIL PROTECTED]:~$ ps auxww | grep bacula-fd Moritz> root 18215 0.0 0.4 307836 3920 ? Ss Dec13 =20 Moritz> 0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf Moritz> =2E.. Moritz> This is on our main file server with the largest part of those 50 GB Moritz> that are backup up. Moritz> On another server, our web and email server containing ~15 GB worth of Moritz> backup up data, the memory consumption is too high, too: Moritz> 0 [EMAIL PROTECTED]:~$ ps auxww | grep bacula-fd Moritz> root 5312 0.0 0.6 111916 3304 ? Ss Dec07 =20 Moritz> 0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf Moritz> The FDs on the other servers use way less memory, around 6 MB. Two Moritz> servers use slightly older versions of Bacula (Debian package version Moritz> 1.36.2-2 and 1.36.2-1), but a third one uses 1.36.2-2sarge1, too, and on Moritz> that server bacula-fd only needs those 6 MB even though it has been Moritz> running since August. Moritz> So, what do I do? Searching for memleaks on this list via gmane didn't Moritz> turn up a lot, and nothing about the FD. Moritz> I can provide additional information (e.g. configuration files), try Moritz> patches, whatever, if that sheds more light on this problem. Do you do anything that might make leaks more likely, e.g. cancelling lots of jobs or running jobs that fail often, have runbefore scripts that fail often? It might be useful to post the output of cat /proc/5312/maps (where 5312 is the pid) which will give a rough idea about the kinds of memory usage. __Martin ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
