On 2008.01.30. 3:28, JINMEI Tatuya / 神明達哉 wrote:
Yes, if bind was built with threads, the memory usage always grew behind max-cache-size very quickly.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?)
Here is the log: http://people.fsn.hu/~bra/freebsd/bind950-memory-20080203/bind950b1 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 http://lists.freebsd.org/mailman/listinfo/freebsd-performance To unsubscribe, send any mail to "freebsd-performance-unsubscribe_(_at_)_freebsd_(_dot_)_org"