-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
- I set expire_items_per_iter=1000 and run
$echo "flush_all" | nc 127.0.0.1 11211
OK
Tarantool removes 50 records per second.
2. I found a typo in init.lua script:
--- a/memcached/init.lua
+++ b/memcached/init.lua
@@ -236,7 +236,7 @@ local stat_table = {
local conf_table = {
readahead = ffi.C.MEMCACHED_OPT_READAHEAD,
expire_enabled = ffi.C.MEMCACHED_OPT_EXPIRE_ENABLED,
- expire_items_per_item= ffi.C.MEMCACHED_OPT_EXPIRE_COUNT,
+ expire_items_per_iter = ffi.C.MEMCACHED_OPT_EXPIRE_COUNT,
expire_full_scan_time= ffi.C.MEMCACHED_OPT_EXPIRE_TIME,
verbosity = ffi.C.MEMCACHED_OPT_VERBOSITY,
protocol = ffi.C.MEMCACHED_OPT_PROTOCOL
After fixing tarantool uses 100% CPU and do not remove anything.
Metadata
Metadata
Assignees
Labels
No labels