FreeBSD 5.2: malloc(): error: allocation failed

Christian B. freebsd.org at bimmer.at
Sun Jan 25 13:25:43 PST 2004


Hello Doug, thanks for your answer.

> > First, I have FreeBSD 5.1 installed on my dual-Xeon machine 
> with 2GB RAM.
> > Now, I delete the disk and installed FreeBSD 5.2 with the 
> same ports 
> > and configuration.
> 
> Hm, you haven't been adjusting MAXDSIZ, have you? I've been 
> getting this exact same error sequence when I set MAXDSIZ so 
> big there was no space left for mmap() to work.  In that case 
> I was setting it to near 3GB.
> 
> Are you setting any tuning option in loader.conf or with a 
> custom kernel configuration?

This effect is also with my custom kernel and with the GENERIC-kernel.
The only setting in the loader.conf is: set console=comconsole
and in the sysctl.conf: kern.ipc.somaxconn=4096

Have you another idea?

thanks,
regards,
Christian



More information about the freebsd-current mailing list