public inbox for cluster-cvs@sourceware.org help / color / mirror / Atom feed
From: Lon Hohberger <lon@fedoraproject.org> To: cluster-cvs-relay@redhat.com Subject: cluster: RHEL5 - rgmanager: Remove rg_test memory cap Date: Mon, 27 Apr 2009 17:13:00 -0000 [thread overview] Message-ID: <20090427171230.BA8621202D2@lists.fedorahosted.org> (raw) Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=0e67106dff2c3fd393e1e2702f97b1ff4c0dea8f Commit: 0e67106dff2c3fd393e1e2702f97b1ff4c0dea8f Parent: 1f17e8895b2f206a10a439180fd07d6c110e948b Author: Lon Hohberger <lhh@redhat.com> AuthorDate: Tue Apr 21 14:23:38 2009 -0400 Committer: Lon Hohberger <lhh@redhat.com> 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 <lhh@redhat.com> --- 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)
reply other threads:[~2009-04-27 17:13 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090427171230.BA8621202D2@lists.fedorahosted.org \ --to=lon@fedoraproject.org \ --cc=cluster-cvs-relay@redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).