Hi,

On 5/7/2007 12:37 PM, Per Andreas Buer wrote:
> Hi people.
> 
> Yesterday my bacula-dir process was killed by the OOM-killer. We are 
> running 2.0.3 (no patches) on Dapper/amd64 compiled from source. The 
> system has 10GB of memory and 4GB of swap. MySQL is taking roughly 1GB - 
> but the rest can be consumed by bacula-*. This means that bacula-dir 
> consumed ~13GB of memory at the time the OOM-killer decided it had to be 
> put down.
> 
> The system was only running a few days and had run 120 backup jobs. It 
> died in the middle of migration (we always do backup to disk and migrate 
> to tape).
> 
> I've seen bacula-dir grow big (4-5GB) on this system before - but it has 
> never OOMet.

Did that happen while many jobs were active?

I've found similar problems - typically on machines with less memory - 
and think the amount of memory the DIR consumes goes up with each job 
that's active (not surprising), but even jobs that are waiting use more 
than a bit of memory (more surprising).

Why? Because I have a client's machine, 512 MB IIRC, where the 30+ jobs, 
when started simultaneously, can cause the machine to die, but when 
scheduled in bunches of about 10 jobs memory consumption stays at about 
the 512 MB RAM.

All systems that I observed this on run linux, MySQL, and Bacula 
versions from 1.38.something (probably 5) to 2.0.3.

Baculas integrated memory watchdog smartalloc doesn't report anything 
extraordinary, so I think this might have to do with some libraries - I 
strongly suspect MySQL because I assume that's the library that has to 
handle most of the data that goes through the DIR.

Nothing proven, though... running Bacula with valgrind might tell more.

Arno
> Per.
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to