On Friday 06 October 2006 12:14, Heinz Ulrich Stille wrote: > On Thursday 05 October 2006 15:14, Kern Sibbald wrote: > > I have just released Bacula BETA 1.39.24.20061002 source and the Win32 > > binaries to Source Forge. This is very likely to be the last beta release > > or next to last release before the official 1.40 production release in the > > I've just run into a major problem with 1.39.22. As I've not yet pinpointed > the cause, I can't tell whether it's still present in .24, but if the final > release is looming... > > In some circumstances the director process eats all available memory and > then some. That is, 1GB ram and about 4GB swap on my machine. There is > nothing in the log. It has happened twice so far, both times I was running > a large job (about 300GB); it was waiting for or writing to the last (of > eight) tapes. Some other jobs had been started by schedule and were waiting > for a tape from a different pool. > > I'll try again with trace enabled, but that will take some days. Any > ideas what might have gone wrong? And what debug level should I use?
I'm not sure any specific debug level would help in this kind of case. Providing this is repeatable, what I personally would do would be to set the debug level on the the daemon using all the memory (Dir? FD? SD?) to say maximum 100 so as not to generate too much output, redirect the output to a file, then by scripting bconsole, have it do a "status" on the bacula daemon every say 10 seconds. The status will show at the beginning (or should show) the amount of memory that the daemon is using. When that gets to a fairly large value, kill the daemon, which then should print a rather long list of the "ophaned buffers" hopefully that will give us some idea where the memory leak is coming from. Be sure to look and see if it isn't your SQL engine that has gone crazy eating up memory ... > > MfG, Ulrich > > -- > Heinz Ulrich Stille / Tel.: +49-541-9400473 / Fax: +49-541-9400450 > design_d gmbh / Wilhelmstr. 16 / 49076 Osnabrück / www.design-d.de > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users