From owner-freebsd-questions Thu Nov 9 13:47:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id F1F4937B479 for ; Thu, 9 Nov 2000 13:47:22 -0800 (PST) Received: (qmail 26787 invoked by uid 100); 9 Nov 2000 21:47:22 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14859.7018.56644.168047@guru.mired.org> Date: Thu, 9 Nov 2000 15:47:22 -0600 (CST) To: Spades Cc: questions@freebsd.org Subject: IRCD running out of memory (Was: Question) In-Reply-To: <100774082@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Spades types: > Any idea how to solve the below? First, use more specific subject lines. Something like half the mail to freebsd-questions contains a question. > Message from syslogd@web at Thu Nov 9 19:02:54 2000 ... > ghostweb Nov 9 19:02:54ircd[: Out of memory: restarting server... > > Message from syslogd@web at Thu Nov 9 19:02:54 2000 ... > ghostweb Nov 9 19:02:54ircd[: Restarting Server because: Out of Memory, > memory data limit: 1163900 My first guess would be that ircd is leaking memory. That's a bug in ircd, and you'd have to dive into the source to fix it. The standard workaround for memory leaks is to restart the leaky program every so often - which it's doing for you already. If it's not a memory leak, then you need to give ircd more memory. In that case, you should check to see what limit's its got now, and whether you can raise that (with ulimit) before it runs. If worst comes to worst, you'll need to build a kernel with MAXDSIZ raised so you can give it more memory.