Memcacheq db size keeps on growing

17 views
Skip to first unread message

eclecticpockets

unread,
Nov 4, 2009, 11:30:52 AM11/4/09
to memcachedb
Hi,

I have been experimenting with the memcacheq and although we are
putting and getting all the items the database size on disc is
continually growing - i.e. when we pop all the records they remain in
the database. So preiodically I have to stop the queue and delete the
queue/database - otherwise I run out of disc space.

Am I missing something - is there some way of stopping the database
growing?

Steve Chu

unread,
Nov 4, 2009, 11:59:39 AM11/4/09
to memca...@googlegroups.com
This may be a bug of BDB's Queue Method, sometime it can not recycle
the database file normally. Here's a workaround way, try to
reconfigure the -E option. The default setting is 131072, that means
if your page size is 4K, you single database file size is 512MB, you
may set this option half of or 1/4 of default value, keep the db file
small.
--
Best Regards,

Steve Chu
http://stvchu.org
Reply all
Reply to author
Forward
0 new messages