On Friday 06 October 2006 14:11, Kern Sibbald wrote: > On Friday 06 October 2006 12:14, Heinz Ulrich Stille wrote: > > 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
> 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 It's the director process (bacula-dir). > 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 It does so only for file and storage daemons, not for the director. Or will it do so once debug is enabled? > 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. I remember quite a few messages about orphaned buffers on restarting bacula, I'm just not sure which daemon they were from - I think it was storage. Iirc I was puzzled by the fact that they weren't from the director. At the moment I've another try of a full backup running, which I don't want to abort. I'll check as soon as possible. > Be sure to look and see if it isn't your SQL engine that has gone crazy > eating up memory ... The one time I actually looked, bacula-dir held about 2.3GB. Some time later the system went down due to a hardware problem that took out some of the swap disks. The other time I saw afterwards that the oom-killer choose bacula-dir, some amavisds and, yes, mysqld. But amavisd and mysqld always are somewhat large (about 60 and 125 MB resp.) and so far always have stayed in their bounds. 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