Out of memory on FreeBsd 5.4

Per olof Ljungmark peo at intersonic.se
Thu Jun 16 23:09:28 GMT 2005


scuba at centroin.com.br wrote:
.
.
> Jun 16 16:18:19 host1 mimedefang-multiplexor[7689]: Slave 1 stderr: Out of
> memory during "large" request for 69632 bytes, total sbrk() is 27547648
> bytes at
> /usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/PerMsgStatus.pm
> line 2262.

Got this reply from Dan Nelson when I asked (almost) the same question:

According to that output, perl was already using 464MB, and a malloc
request for 64MB failed, which is reasonable since the default hard
datasize limit on FreeBSD is 512MB.  To raise it, put this in
/boot/loader.conf and reboot:

kern.maxdsiz="1024M"

HTH


More information about the freebsd-questions mailing list