Description
The manual section regarding how to monitor warmup is incorrect.
http://docs.couchbase.com/couchbase-manual-2.2/#monitoring-startup-warmup
Some of the stats listed here no longer exist, there are other new stats to watch for and other stats don't behave as described.
ep_warmed_up does not exist in 2.1.1 or 2.2
curr_items_tot does not increment as warmup is progressing.
I have attached 2 files that print the 'cbstats warmup' stats during warmup on 2.1.1 and 2.2 that can be used for the example. My description of which are the pertinent stats to monitor is as follows:
- ep_warmup_thread - this is your overall indication of whether or not warmup is still running. Look for values "running" and "complete"
- ep_warmup_state describes which phase of warmup is currently running. Look for "loading keys", "loading access log" then "done"
- when ep_warmup_state is "loading keys" compare ep_warmup_key_count (current number) with ep_warmup_estimated_key_count (target number)
- when ep_warmup_state is "loading access log" compare ep_warmup_value_count (current number) with ep_warmup_estimated_value_count (target number)