From owner-freebsd-questions@FreeBSD.ORG Sun Jul 12 17:28:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68420106564A for ; Sun, 12 Jul 2009 17:28:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 30C018FC18 for ; Sun, 12 Jul 2009 17:28:41 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 4227B7E818; Sun, 12 Jul 2009 09:28:40 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 12 Jul 2009 09:28:38 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-CURRENT; KDE/4.2.4; i386; ; ) References: <4A572FAC.4060107@intersonic.se> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907120928.39288.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Wojciech Puchar Subject: Re: Out of memory during request for 32 bytes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2009 17:28:41 -0000 On Friday 10 July 2009 06:06:06 Wojciech Puchar wrote: > do uname -a > > if you are on 32-bit arch you may add > > kern.dfldsiz=2147483648 > kern.maxdsiz=2147483648 > > > to /boot/loader.conf > > > but most likely you'll need to edit /etc/login.conf > > On Fri, 10 Jul 2009, Per olof Ljungmark wrote: > > Apache web server on 7-STABLE running nagios and OTRS. My problem is I > > cannot understand what I should increase to satisfy those memory-hungry > > Perl scripts? > > > > Out of memory during request for 32 bytes, total sbrk() is 17192960 This only shows ~16M in use, so process data size shouldn't be affected. Check the apache start up script for the limits args, login.conf for the user apache runs on and anything where "default memory limit of 16MB" triggers a hit in "stuff you read somewhere when setting this up". -- Mel