From owner-freebsd-questions Thu Nov 2 13:31:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from css-1.cs.iastate.edu (css-1.cs.iastate.edu [129.186.3.24]) by hub.freebsd.org (Postfix) with ESMTP id 8A83337B4D7 for ; Thu, 2 Nov 2000 13:31:38 -0800 (PST) Received: from popeye.cs.iastate.edu (ghelmer@popeye.cs.iastate.edu [129.186.3.4]) by css-1.cs.iastate.edu (8.9.0/8.9.0) with ESMTP id PAA00219; Thu, 2 Nov 2000 15:31:37 -0600 (CST) Received: from localhost (ghelmer@localhost) by popeye.cs.iastate.edu (8.9.0/8.9.0) with ESMTP id PAA25926; Thu, 2 Nov 2000 15:31:32 -0600 (CST) X-Authentication-Warning: popeye.cs.iastate.edu: ghelmer owned process doing -bs Date: Thu, 2 Nov 2000 15:31:31 -0600 (CST) From: Guy Helmer To: stanb@panix.com Cc: Free BSD Questions list Subject: Re: in malloc(): warning: pointer to wrong page. In-Reply-To: <200011022011.PAA17587@panix3.panix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 2 Nov 2000 stanb@panix.com wrote: > All of a sedden I am getting _lots_ of these messages, primarily from > mrtg being run from cron. > > The machnine in question is a PI with 32MB of RAM a,d 2 hard drives. > Each drive has some swap space on it. I have been able to replicate > this with each of the swap partitions out of service. Replacing the 32M > memory temporarily with 128M eliminated the problem. At this point in > time I have a replaced that with a new 32M memory segment, and the > problem has re-apeared. 3.4-STABLE cron did not deal with memory allocation failures prior to 3.5.1; after a single memory allocation failure, it could possibly cause this message from malloc() every time it fired off a program. If you can't upgrade to 3.5.1 or 4.1.1, you can download the cron sources from the source archives on ftp.freebsd.org, build, and install the current cron, which should take care of this problem. Hope this helps, Guy Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu http://www.cs.iastate.edu/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message