Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2009 09:28:38 -0800
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Subject:   Re: Out of memory during request for 32 bytes
Message-ID:  <200907120928.39288.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <alpine.BSF.2.00.0907101605140.1019@wojtek.tensor.gdynia.pl>
References:  <4A572FAC.4060107@intersonic.se> <alpine.BSF.2.00.0907101605140.1019@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907120928.39288.mel.flynn%2Bfbsd.questions>