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: crm by andrew from
([email protected])
2. Linux-HA CVS: lrm by alan from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 12 Jul 2006 09:42:35 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : andrew
Host :
Project : linux-ha
Module : crm
Dir : linux-ha/crm/admin
Modified Files:
crm_verify.c
Log Message:
Memory leak checking
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/admin/crm_verify.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- crm_verify.c 4 Jul 2006 14:11:11 -0000 1.16
+++ crm_verify.c 12 Jul 2006 15:42:35 -0000 1.17
@@ -1,4 +1,4 @@
-/* $Id: crm_verify.c,v 1.16 2006/07/04 14:11:11 lars Exp $ */
+/* $Id: crm_verify.c,v 1.17 2006/07/12 15:42:35 andrew Exp $ */
/*
* Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
@@ -161,13 +161,17 @@
crm_info("=#=#=#=#= Getting XML =#=#=#=#=");
+ crm_zero_mem_stats(NULL);
+#ifdef HA_MALLOC_TRACK
+ cl_malloc_dump_allocated(LOG_DEBUG_2, TRUE);
+#endif
+
if(USE_LIVE_CIB) {
cib_conn = cib_new();
rc = cib_conn->cmds->signon(
cib_conn, crm_system_name, cib_command_synchronous);
}
- crm_zero_mem_stats(NULL);
if(USE_LIVE_CIB) {
if(rc == cib_ok) {
@@ -239,22 +243,20 @@
active_stats->numfree++;
}
#endif
-
- CRM_CHECK(crm_mem_stats(NULL) == FALSE, ; );
if(was_config_error) {
fprintf(stderr, "Errors found during check: config not
valid\n");
if(crm_log_level < LOG_WARNING) {
fprintf(stderr, " -V may provide more details\n");
}
- return 2;
+ rc = 2;
} else if(was_config_warning) {
fprintf(stderr, "Warnings found during check: config may not be
valid\n");
if(crm_log_level < LOG_WARNING) {
fprintf(stderr, " Use -V for more details\n");
}
- return 1;
+ rc = 1;
}
if(USE_LIVE_CIB) {
@@ -262,7 +264,12 @@
cib_delete(cib_conn);
}
- return 0;
+ CRM_CHECK(crm_mem_stats(NULL) == FALSE, ; );
+#ifdef HA_MALLOC_TRACK
+ cl_malloc_dump_allocated(LOG_ERR, TRUE);
+#endif
+
+ return rc;
}
------------------------------
Message: 2
Date: Wed, 12 Jul 2006 10:19:01 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lrm by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : lrm
Dir : linux-ha/lrm/lrmd
Modified Files:
lrmd.c
Log Message:
Disabled the process throttling code in the LRM - to let us get the release out.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lrm/lrmd/lrmd.c,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -3 -r1.230 -r1.231
--- lrmd.c 27 Jun 2006 05:33:50 -0000 1.230
+++ lrmd.c 12 Jul 2006 16:19:00 -0000 1.231
@@ -1,4 +1,4 @@
-/* $Id: lrmd.c,v 1.230 2006/06/27 05:33:50 sunjd Exp $ */
+/* $Id: lrmd.c,v 1.231 2006/07/12 16:19:00 alan Exp $ */
/*
* Local Resource Manager Daemon
*
@@ -360,7 +360,7 @@
static gboolean shutdown_in_progress = FALSE;
static unsigned long apphb_interval = 2000; /* Millisecond */
static gboolean reg_to_apphbd = FALSE;
-static int MAX_CHILD_NUMBER = 16;
+static int MAX_CHILD_NUMBER = 512;
static int child_number = 0;
/*
@@ -3854,6 +3854,9 @@
}
/*
* $Log: lrmd.c,v $
+ * Revision 1.231 2006/07/12 16:19:00 alan
+ * Disabled the process throttling code in the LRM - to let us get the release
out.
+ *
* Revision 1.230 2006/06/27 05:33:50 sunjd
* close pipe FDs when error happens
*
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 32, Issue 42
********************************************