Purging elements from memcachedb

5 views
Skip to first unread message

Ryan LeCompte

unread,
Jun 17, 2009, 5:33:05 PM6/17/09
to memca...@googlegroups.com
Hello all,

Couple questions:

I notice that memcachedb keeps a ton of log.XXXXX files around in
addition to a "data.db" file. Can these .log files be deleted
periodically?

Also, when we delete items from memcachedb, we don't see the size of
the "data" file decrease at all. Is this is expected? Does memcachedb
not free up disk space immediately upon deletion?

Thanks,
Ryan

Steve Huffman

unread,
Jun 17, 2009, 6:54:38 PM6/17/09
to memca...@googlegroups.com
I notice that memcachedb keeps a ton of log.XXXXX files around in
addition to a "data.db" file. Can these .log files be deleted
periodically?

We run this periodically (every hour) to remove unused log files:

/usr/local/BerkeleyDB.4.7/bin/db_archive -d -h /var/db/

Steve 



Thanks,
Ryan



Reply all
Reply to author
Forward
0 new messages