Kern Sibbald wrote:
On Monday 01 May 2006 10:00, Dominic Marks wrote:
Kern Sibbald wrote:
On Monday 01 May 2006 00:41, Dominic Marks wrote:
 From top:

PID   USERNAME THR PRI NICE  SIZE  RES STATE    TIME   WCPU COMMAND
28233 bacula     3  20    0  269M 265M kserel 173:54  0.00% bacula-sd

I just noticed this on one of our Bacula servers. Curious since the SD
shouldn't be using much memory at all from what I know of it.

OS is FreeBSD 6.1-RC.
Yes, but much more important is what version of Bacula are you using?
Latest, 1.38.8.

OK, in previous versions it was remotely possible that could happen in some bizarre cases, but in 1.38.x Bacula does a garbage collection once a day releasing unused pooled buffers, so it shouldn't happen.

I'd recommend that you ensure that the line #define DEVELOPER 1 is not commented out in the file src/version.h, then rebuild and reinstall your binaries. When you run them, redirect output to some log file somewhere, and then if you notice large memory usage, simply stop the daemon and see what is printed in the output. If there is nothing, then the problem is not with Bacula as *all* Bacula's memory using is tracked and reported if it is not released when the daemon stops. In that case, the problem will be in one of the libraries linked in -- e.g. sqlite, or the MySQL or PostgreSQL client libraries.

Ok, I'll keep an eye on it.

Thanks Kern.

Dominic

Thanks,
Dominic

After restarting the SD I am back to the more reasonable:

60159 bacula    3   20   0  4364K 2212K kserel  0:00  0.00% bacula-sd

Presumably this is being caused by a memory leak somewhere. Anyone else
on FreeBSD observed this occuring?

Cheers,
Dominic


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services,
security? Get stuff done quickly with pre-integrated technology to make
your job easier Download IBM WebSphere Application Server v.1.0.1 based
on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to