Hello!

On Mon, Jun 22, 2009 at 01:56:49PM +0300, Юрий Белотицкий wrote:

> 22 июня 2009 г. 13:43 пользователь Maxim Dounin <[email protected]>написал:
> 
> >
> > Hello!
> >
> > On Mon, Jun 22, 2009 at 10:42:56AM +0300, Юрий Белотицкий wrote:
> >
> > > 22 июня 2009 г. 10:34 пользователь Dustin <[email protected]> написал:
> > >
> > > >
> > > >
> > > > On Jun 21, 1:08 pm, Ю.Б. <[email protected]> wrote:
> > > > > memcached-1.2.8
> > > > >
> > > > > # make test
> > > > >
> > > > > t/lru................ok 4/149Out of memory during request for 569364
> > > > > bytes, total sbrk() is 536471552 bytes!
> > > > > WHOA!  Somehow you got a different number of results than tests ran!
> > > > > This should never happen!  Please contact the author immediately!
> > > > >
> > > > > What it means? Can I safely use this memcached?
> > > >
> > > >   What platform is this?  We have a lot of builders up and I've not
> > > > seen such an error before.
> > >
> > >
> > > PIII FreeBSD 5.4-RELEASE-p8
> > >
> > > Maybe it's have a sence to rebuild some dependences? What?
> >
> > Looks like you hit default datasize limit (512M).  Under 5.4 you
> > should be able to tune it via /boot/loader.conf (kern.dfldsiz,
> > kern.maxdsiz).  On older versions (<= 4.x) kernel recompilation
> > with appropriate options was necessary.
> >
> > Recent versions of FreeBSD (7+) use mmap-based allocator by default and
> > datasize limit no longer relevant.
> >
> > Maxim Dounin
> >
> 
> There are just 512M RAM in the server. Could this be causing the problem?

If you have no swap - this may be an issue too, but the above 
message looks like you reached datasize limit.

Note that the above message are from perl executing test script.  
This particular test script is a bit greedy since it uses big 
scalars.  In my tests this script doesn't consume more than 60M 
but I suppose other perl versions will lead to different numbers 
(I've tested on perl 5.8.9 and 5.10.0).

If you have enough memory you may try raising datasize limit and 
see if test passes.  But with just 512M I wouldn't recommend to 
do it.

Maxim Dounin

Reply via email to