From: Kern Sibbald Date: Thu, 10 May 2007 16:51:52 +0000 (+0000) Subject: Move sbreak into to top of dird.c X-Git-Tag: Release-7.0.0~6391 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9ee7f2a97d0d94d80579886307168d8ec23faa80;p=bacula%2Fbacula Move sbreak into to top of dird.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4740 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/dird.c b/bacula/src/dird/dird.c index 2f05570153..9cdab0fb86 100644 --- a/bacula/src/dird/dird.c +++ b/bacula/src/dird/dird.c @@ -128,12 +128,12 @@ int main (int argc, char *argv[]) char *uid = NULL; char *gid = NULL; + start_heap = sbrk(0); setlocale(LC_ALL, ""); bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); init_stack_dump(); - start_heap = sbrk(0); my_name_is(argc, argv, "bacula-dir"); init_msg(NULL, NULL); /* initialize message handler */ init_reload(); diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 6bd6f7bfac..f007b39e2d 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -2,6 +2,8 @@ General: 10May07 +kes If time diff between DIR and FD is more than 600 seconds convert + INFO message to WARNING. kes Implement heap size display in status for all daemons. kes Attempt to fix MySQL db open memory loss (not successfull). kes Don't set SIGKILL and SIGSTOP neither can be trapped.