[Date Prev][Date Next]
Re: slapd crashes with ch_realloc of X bytes failed
> 2013/1/12 Meike Stone <firstname.lastname@example.org>:
> What I see, that slapd had reserved "Total: 7350688K"
> (overcommitted?), but only referenced 4900700K.
> Why does slapd reserve so much memory and use it not? Because of this,
> I changed the default values for memory overcomittment
> vm.overcommit_memory = 0 (guess, default)
> vm.overcommit_ratio = 50
> vm.overcommit_memory=2 (strict overcommit)
> but it crashed again (ch_malloc of 34545 bytes failed):
I was wondering, why it crashed in spite of overcommitting .
The solution sometimes is simple, but "far away" ;-) ...:
~# ulimit -v