From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23324 invoked by alias); 27 Apr 2009 17:13:00 -0000 Received: (qmail 23318 invoked by alias); 27 Apr 2009 17:13:00 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bastion2.fedora.phx.redhat.com Subject: cluster: RHEL5 - rgmanager: Remove rg_test memory cap To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/RHEL5 X-Git-Reftype: branch X-Git-Oldrev: 1f17e8895b2f206a10a439180fd07d6c110e948b X-Git-Newrev: 0e67106dff2c3fd393e1e2702f97b1ff4c0dea8f From: Lon Hohberger Message-Id: <20090427171230.BA8621202D2@lists.fedorahosted.org> Date: Mon, 27 Apr 2009 17:13:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00123.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=0e67106dff2c3fd393e1e2702f97b1ff4c0dea8f Commit: 0e67106dff2c3fd393e1e2702f97b1ff4c0dea8f Parent: 1f17e8895b2f206a10a439180fd07d6c110e948b Author: Lon Hohberger AuthorDate: Tue Apr 21 14:23:38 2009 -0400 Committer: Lon Hohberger CommitterDate: Mon Apr 27 13:11:45 2009 -0400 rgmanager: Remove rg_test memory cap Newer libxml2 allocates more memory and hits a hard 8MB limit in the slab allocator used within rg_test. Note that rgmanager does not use this slab allocator; it's there primarily for debugging purposes, and serves no particularly useful purpose apart from that. This isn't actually a bug in either rg_test or libxml2; rather, it's an interaction problem which occurred when a couple of libxml2 buffer resize patches were added. Libxml2 now can (in certain conditions) temporarily require >8MB of parser space to parse a large cluster.conf this large, causing rg_test to run out of memory. Resolves bugzilla #490455 Signed-off-by: Lon Hohberger --- rgmanager/src/daemons/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rgmanager/src/daemons/Makefile b/rgmanager/src/daemons/Makefile index 5812fe6..e088aea 100644 --- a/rgmanager/src/daemons/Makefile +++ b/rgmanager/src/daemons/Makefile @@ -63,7 +63,7 @@ rg_script_test: slang_event.o rg_test: rg_locks-noccs.o test-noccs.o reslist-noccs.o \ resrules-noccs.o restree-noccs.o fo_domain-noccs.o \ event_config-noccs.o restart_counter.o - $(CC) -o $@ $^ $(INCLUDE) $(CFLAGS) -llalloc $(LDFLAGS) -lccs -lcman + $(CC) -o $@ $^ $(INCLUDE) $(CFLAGS) $(LDFLAGS) -lccs -lcman clurmtabd: clurmtabd.o clurmtabd_lib.o $(CC) -o $@ $^ $(INCLUDE) $(CFLAGS) $(LDFLAGS)