Re: Out of memory during request for 32 bytes

2009-07-12 Thread Mel Flynn
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Out of memory during request for 32 bytes

2009-07-10 Thread Wojciech Puchar

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 bytes!
Out of memory during request for 4072 bytes, total sbrk() is 17192960 bytes!
Global $r object is not available. Set:
   PerlOptions +GlobalRequest
in httpd.conf at /usr/local/lib/perl5/site_perl/5.8.9/CGI/Carp.pm line 553.
Global $r object is not available. Set:
   PerlOptions +GlobalRequest
in httpd.conf at /usr/local/lib/perl5/site_perl/5.8.9/CGI/Carp.pm line 553.

--
per
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"