From 9ee7f2a97d0d94d80579886307168d8ec23faa80 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 10 May 2007 16:51:52 +0000 Subject: [PATCH] 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 --- bacula/src/dird/dird.c | 2 +- bacula/technotes-2.1 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5