Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2004 22:25:21 +0100
From:      "Christian B." <freebsd.org@bimmer.at>
To:        "'Doug White'" <dwhite@gumbysoft.com>
Cc:        freebsd-current@freebsd.org
Subject:   RE: FreeBSD 5.2: malloc(): error: allocation failed
Message-ID:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAjsr3Y8m61BGK3QDgfQG1wCKBAAAQAAAABg3Qm56B8UeMWTcjBjsrBwEAAAAA@bimmer.at>
In-Reply-To: <20040125122226.J81485@carver.gumbysoft.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAjsr3Y8m61BGK3QDgfQG1wCKBAAAQAAAABg3Qm56B8UeMWTcjBjsrBwEAAAAA>