kmem_malloc crashes running FreeBSD 5.2.1-RELEASE-p5

Kris Kennaway kris at obsecurity.org
Mon May 3 16:11:36 PDT 2004


On Mon, May 03, 2004 at 08:19:43AM -0700, John Uhlig wrote:
> 
> Well, Don Bowman was very helpful in suggesting some kernel parameters. 
> Unfortunately, they
> did not work for us. If we had the time to experiment with more 
> settings, perhaps we would have
> been able to find the right combination. Since we do not have that time 
> due to our schedule I was
> forced to "fix" the problem by setting "hw.physmem=2G" in 
> /boot/loader.conf (thanks again to Don).
> It ran for over 8 hours while I ran multiple scripts copying data from 
> multiple systems to it and
> while continuously running the /etc/periodic/security scripts on it. All 
> previous tests crashed the
> server (usually within 20 minutes).
> 
> I am hoping that this issue will be resolved by the developers in the 
> future as we would like to be
> able to use the full complement of available memory (4GB).

I'm pretty sure it's just a matter of the right tuning.  All I needed
to do was to add this on my heavily loaded 4GB machine:

options         VM_KMEM_SIZE_MAX=419430400      #400MB

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040503/a94ac0ab/attachment.bin


More information about the freebsd-hackers mailing list