Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.0-beta
-
Security Level: Public
-
None
Description
I think I am seesing something I am not expecting.
I have a single node server with ~50% resident ratio (I reduce the bucket side until I got to that).
I restarted the server and I see 11M key count, and about 5M value count, which is what I expect (50% of the data is loaded)
ep_warmup: enabled
ep_warmup_dups: 0
ep_warmup_estimated_item_count: unknown
ep_warmup_estimated_warmup_count: unknown
ep_warmup_key_count: 11000000
ep_warmup_keys_time: 24645719
ep_warmup_min_item_threshold: 100
ep_warmup_min_memory_threshold: 100
ep_warmup_oom: 0
ep_warmup_state: done
ep_warmup_thread: complete
ep_warmup_time: 54231769
ep_warmup_value_count: 5037945
However, the resident ratio is 99%. Here are some of the cbstats:
/opt/couchbase/bin/cbstats localhost:11210 all | egrep "mem_used|wat|res|curr"
connection_structures: 5000
curr_connections: 10
curr_conns_on_port_11209: 6
curr_conns_on_port_11210: 2
curr_items: 11000000
curr_items_tot: 11000000
ep_concurrentDB: 1
ep_couch_response_timeout: 180000
ep_data_age_highwat: 0
ep_flush_duration_highwat: 0
ep_mem_high_wat: 4718592000
ep_mem_low_wat: 3774873600
ep_mutation_mem_threshold: 0
ep_num_eject_failures: 0
ep_num_non_resident: 6696
ep_restore_file_checks: 1
ep_restore_mode: 0
ep_storage_age_highwat: 0
ep_store_max_concurrency: 10
ep_tap_backfill_resident: 0.9
ep_tap_throttle_threshold: 90
ep_warmup_min_items_threshold: 100
ep_warmup_min_memory_threshold: 100
mem_used: 3824422144
vb_active_curr_items: 11000000
vb_active_num_non_resident: 6696
vb_active_perc_mem_resident: 99
vb_pending_curr_items: 0
vb_pending_num_non_resident: 0
vb_pending_perc_mem_resident: 0
vb_replica_curr_items: 0
vb_replica_num_non_resident: 0
vb_replica_perc_mem_resident: 0
I think we are calculating the resident ratio wrongly after warmup.
Attachments
For Gerrit Dashboard: MB-5737 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
17748,1 | MB-5737 Update nonResidentItem count correctly during warmup | master | ep-engine | Status: MERGED | +2 | +1 |