Send Linux-ha-cvs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: heartbeat by alan from 
      ([email protected])
   2. Linux-HA CVS: linux-ha by alan from 
      ([email protected])
   3. Linux-HA CVS: lib by alan from  ([email protected])
   4. Linux-HA CVS: heartbeat by alan from 
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Tue, 31 Jan 2006 22:34:13 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by alan from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : alan
Host    : 
Project : linux-ha
Module  : heartbeat

Dir     : linux-ha/heartbeat


Modified Files:
        heartbeat.c 


Log Message:
Increased the amount of memory the main heartbeat process asks for when it 
preallocates memory.

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/heartbeat.c,v
retrieving revision 1.483
retrieving revision 1.484
diff -u -3 -r1.483 -r1.484
--- heartbeat.c 31 Jan 2006 19:59:50 -0000      1.483
+++ heartbeat.c 1 Feb 2006 05:34:12 -0000       1.484
@@ -2,7 +2,7 @@
  * TODO:
  * 1) Man page update
  */
-/* $Id: heartbeat.c,v 1.483 2006/01/31 19:59:50 alan Exp $ */
+/* $Id: heartbeat.c,v 1.484 2006/02/01 05:34:12 alan Exp $ */
 /*
  * heartbeat: Linux-HA heartbeat code
  *
@@ -1339,7 +1339,7 @@
                ,       cl_cpu_limit_ms_interval()
                ,       hb_update_cpu_limit, NULL, NULL);
        }
-       cl_make_realtime(-1, hb_realtime_prio, 32, 150);
+       cl_make_realtime(-1, hb_realtime_prio, 32, 1024);
 
        set_proc_title("%s: master control process", cmdname);
 
@@ -6099,6 +6099,9 @@
 
 /*
  * $Log: heartbeat.c,v $
+ * Revision 1.484  2006/02/01 05:34:12  alan
+ * Increased the amount of memory the main heartbeat process asks for when it 
preallocates memory.
+ *
  * Revision 1.483  2006/01/31 19:59:50  alan
  * Added code to be able to tell what source it is that is misbehaving and/or 
getting the shaft.
  *




------------------------------

Message: 2
Date: Tue, 31 Jan 2006 22:35:25 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: linux-ha by alan from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : alan
Host    : 
Module  : linux-ha

Dir     : linux-ha


Modified Files:
        configure.in 


Log Message:
Put in code to keep malloc from using mmap to get memory, and also to
keep it from returning it to the system.

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/configure.in,v
retrieving revision 1.486
retrieving revision 1.487
diff -u -3 -r1.486 -r1.487
--- configure.in        18 Jan 2006 17:51:32 -0000      1.486
+++ configure.in        1 Feb 2006 05:35:24 -0000       1.487
@@ -10,7 +10,7 @@
 AC_INIT(heartbeat.spec.in)
 
 AC_CONFIG_AUX_DIR(.)
-AC_REVISION($Revision: 1.486 $) dnl cvs revision
+AC_REVISION($Revision: 1.487 $) dnl cvs revision
 AC_CANONICAL_HOST
 
 
@@ -1443,6 +1443,8 @@
          enable_lrm=yes;
          enable_snmp_subagent=try;
          enable_swig=try;
+         enable_mgmt=try;
+         enable_cim_provider=try;
        fi
 
 AC_ARG_ENABLE([bundled-ltdl],
@@ -1463,6 +1465,9 @@
    AC_MSG_NOTICE([Installing local ltdl])
    LIBLTDL_DIR=libltdl
    ( cd $srcdir ; $TAR -xvf libltdl.tar )
+   if test "$?" -ne 0; then
+     AC_MSG_ERROR([$TAR of libltdl.tar in $srcdir failed])
+   fi
    AC_CONFIG_SUBDIRS(libltdl)
 else
    LIBS="$LIBS -lltdl"
@@ -1921,6 +1926,7 @@
 AC_CHECK_FUNCS(flock)
 AC_CHECK_FUNCS(inet_aton)
 AC_CHECK_FUNCS(mallinfo)
+AC_CHECK_FUNCS(mallopt)
 AC_CHECK_FUNCS(__default_morecore)
 AC_CHECK_FUNCS(seteuid)
 AC_CHECK_FUNCS(setegid)




------------------------------

Message: 3
Date: Tue, 31 Jan 2006 22:35:25 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lib by alan from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : alan
Host    : 
Project : linux-ha
Module  : lib

Dir     : linux-ha/lib/clplumbing


Modified Files:
        realtime.c 


Log Message:
Put in code to keep malloc from using mmap to get memory, and also to
keep it from returning it to the system.

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lib/clplumbing/realtime.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- realtime.c  18 Dec 2005 22:02:39 -0000      1.31
+++ realtime.c  1 Feb 2006 05:35:24 -0000       1.32
@@ -1,4 +1,4 @@
-/* $Id: realtime.c,v 1.31 2005/12/18 22:02:39 alan Exp $ */
+/* $Id: realtime.c,v 1.32 2006/02/01 05:35:24 alan Exp $ */
 /*
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -88,9 +88,20 @@
        int     chunksize       = 1024;
        long    nchunks         = (int)(size / chunksize);
        int     chunkbytes      = nchunks * sizeof(void *);
-       void**  chunks          = malloc(chunkbytes);
+       void**  chunks;
        int     j;
 
+#ifdef HAVE_MALLOPT
+#      ifdef M_MMAP_MAX
+       /* Keep malloc from using mmap */
+       mallopt(M_MMAP_MAX, 0);
+#endif
+#      ifdef M_TRIM_THRESHOLD
+       /* Keep malloc from giving memory back to the system */
+       mallopt(M_TRIM_THRESHOLD, 1024*1024);
+#endif
+#endif
+       chunks=malloc(chunkbytes);
        if (chunks == NULL) {
                cl_log(LOG_INFO, "Could not preallocate (%d) bytes" 
                ,       chunkbytes);




------------------------------

Message: 4
Date: Tue, 31 Jan 2006 23:27:29 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: heartbeat by alan from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : alan
Host    : 
Project : linux-ha
Module  : heartbeat

Dir     : linux-ha/heartbeat


Modified Files:
        heartbeat.c 


Log Message:
Grabbed an even bigger chunk of memory when starting up heartbeat.

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/heartbeat.c,v
retrieving revision 1.484
retrieving revision 1.485
diff -u -3 -r1.484 -r1.485
--- heartbeat.c 1 Feb 2006 05:34:12 -0000       1.484
+++ heartbeat.c 1 Feb 2006 06:27:28 -0000       1.485
@@ -2,7 +2,7 @@
  * TODO:
  * 1) Man page update
  */
-/* $Id: heartbeat.c,v 1.484 2006/02/01 05:34:12 alan Exp $ */
+/* $Id: heartbeat.c,v 1.485 2006/02/01 06:27:28 alan Exp $ */
 /*
  * heartbeat: Linux-HA heartbeat code
  *
@@ -1339,7 +1339,7 @@
                ,       cl_cpu_limit_ms_interval()
                ,       hb_update_cpu_limit, NULL, NULL);
        }
-       cl_make_realtime(-1, hb_realtime_prio, 32, 1024);
+       cl_make_realtime(-1, hb_realtime_prio, 32, 4096);
 
        set_proc_title("%s: master control process", cmdname);
 
@@ -6099,6 +6099,9 @@
 
 /*
  * $Log: heartbeat.c,v $
+ * Revision 1.485  2006/02/01 06:27:28  alan
+ * Grabbed an even bigger chunk of memory when starting up heartbeat.
+ *
  * Revision 1.484  2006/02/01 05:34:12  alan
  * Increased the amount of memory the main heartbeat process asks for when it 
preallocates memory.
  *




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 26, Issue 71
********************************************

Reply via email to