[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: max-cache-size doesn't work with 9.5.0b1

On 2008.01.30. 3:28, JINMEI Tatuya / 神明達哉 wrote:
Okay, please use the attached patch (applicable to 9.5.0b1, and also
to 9.5.0b2 when it's published).  Build it with:
% STD_CDEFINES='-DLRU_DEBUG2=2' ./configure --enable-threads
(or set STD_CDEFINES using setenv if you use a csh variant)

The log messages shouldn't be very noisy, but if you find them too
frequent, rebuild it with:
% STD_CDEFINES='-DLRU_DEBUG2=1' ./configure --enable-threads

Note that, if this is a thread-related bug, it may not always be
reproduceable; please try several times if the problem doesn't seem to
happen.  (BTW: did it always occur when you first found the problem?)
Yes, if bind was built with threads, the memory usage always grew behind max-cache-size very quickly.

Here is the log:
the memory usage (RSS, reported by top) in megabytes:
19:10:37 466
19:11:20 522
19:11:53 566
19:13:06 666
19:14:17 766

max-cache-size was set to 64M.

freebsd-performance_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-performance-unsubscribe_(_at_)_freebsd_(_dot_)_org"