Evictions, OOM and other troubleshooting suggestion request

18 views
Skip to first unread message

Артём Яшков

unread,
Sep 19, 2022, 7:01:32 AMSep 19
to memcached
Hello there, I am new to using memcached, but I would like to improve the performance of out project by adjusting some of settings and improving stats of out memcached usage.
Could you please help me understand what should I change (if anything) ?

It's used mostly for containing compressed html-pages of a huge web-app (350-450kb each) and smaller data. TTL is set to 10minutes.

STAT pid 1213
STAT uptime 18491072
STAT time 1663584971
STAT version 1.5.16
STAT libevent 2.0.21-stable
STAT pointer_size 64
STAT rusage_user 168879.888699
STAT rusage_system 628808.673825
STAT max_connections 4000
STAT curr_connections 60
STAT total_connections 33757
STAT rejected_connections 0
STAT connection_structures 175
STAT reserved_fds 20
STAT cmd_get 81749230
STAT cmd_set 7246273
STAT cmd_flush 54
STAT cmd_touch 0
STAT get_hits 73088366
STAT get_misses 8660864
STAT get_expired 282887
STAT get_flushed 536
STAT delete_misses 0
STAT delete_hits 0
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 693399361640
STAT bytes_written 1452329058754
STAT limit_maxbytes 2147483648
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT time_in_listen_disabled_us 0
STAT threads 4
STAT conn_yields 1545
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT slab_reassign_rescues 213233
STAT slab_reassign_chunk_rescues 157770
STAT slab_reassign_evictions_nomem 182616
STAT slab_reassign_inline_reclaim 182196
STAT slab_reassign_busy_items 184670
STAT slab_reassign_busy_deletes 0
STAT slab_reassign_running 0
STAT slabs_moved 118905
STAT lru_crawler_running 0
STAT lru_crawler_starts 2157221
STAT lru_maintainer_juggles 48468923
STAT malloc_fails 0
STAT log_worker_dropped 0
STAT log_worker_written 0
STAT log_watcher_skipped 0
STAT log_watcher_sent 0
STAT bytes 1974566295
STAT curr_items 22221
STAT total_items 7459506
STAT slab_global_page_pool 0
STAT expired_unfetched 3257723
STAT evicted_unfetched 465989
STAT evicted_active 3
STAT evictions 515146
STAT reclaimed 2711477
STAT crawler_reclaimed 3485764
STAT crawler_items_checked 433929115
STAT lrutail_reflocked 2197
STAT moves_to_cold 7634486
STAT moves_to_warm 4325739
STAT moves_within_lru 4284211
STAT direct_reclaims 557604
STAT lru_bumps_dropped 0

stats settings
STAT maxbytes 2147483648
STAT maxconns 4000
STAT tcpport 11211
STAT udpport 0
STAT inter NULL
STAT verbosity 0
STAT oldest 18482584
STAT evictions on
STAT domain_socket NULL
STAT umask 700
STAT growth_factor 1.25
STAT chunk_size 48
STAT num_threads 4
STAT num_threads_per_udp 4
STAT stat_key_prefix :
STAT detail_enabled no
STAT reqs_per_event 20
STAT cas_enabled yes
STAT tcp_backlog 1024
STAT binding_protocol auto-negotiate
STAT auth_enabled_sasl no
STAT auth_enabled_ascii no
STAT item_size_max 134217728
STAT maxconns_fast yes
STAT hashpower_init 0
STAT slab_reassign yes
STAT slab_automove 1
STAT slab_automove_ratio 0.80
STAT slab_automove_window 30
STAT slab_chunk_max 524288
STAT lru_crawler yes
STAT lru_crawler_sleep 100
STAT lru_crawler_tocrawl 0
STAT tail_repair_time 0
STAT flush_enabled yes
STAT dump_enabled yes
STAT hash_algorithm murmur3
STAT lru_maintainer_thread yes
STAT lru_segmented yes
STAT hot_lru_pct 20
STAT warm_lru_pct 40
STAT hot_max_factor 0.20
STAT warm_max_factor 2.00
STAT temp_lru no
STAT temporary_ttl 61
STAT idle_timeout 0
STAT watcher_logbuf_size 262144
STAT worker_logbuf_size 65536
STAT track_sizes no
STAT inline_ascii_response no

STAT 1:chunk_size 96
STAT 1:chunks_per_page 10922
STAT 1:total_pages 1
STAT 1:total_chunks 10922
STAT 1:used_chunks 352
STAT 1:free_chunks 10570
STAT 1:free_chunks_end 0
STAT 1:mem_requested 31855
STAT 1:get_hits 1291370
STAT 1:cmd_set 9428
STAT 1:delete_hits 0
STAT 1:incr_hits 0
STAT 1:decr_hits 0
STAT 1:cas_hits 0
STAT 1:cas_badval 0
STAT 1:touch_hits 0
STAT 2:chunk_size 120
STAT 2:chunks_per_page 8738
STAT 2:total_pages 1
STAT 2:total_chunks 8738
STAT 2:used_chunks 1573
STAT 2:free_chunks 7165
STAT 2:free_chunks_end 0
STAT 2:mem_requested 182484
STAT 2:get_hits 7988943
STAT 2:cmd_set 612246
STAT 2:delete_hits 0
STAT 2:incr_hits 0
STAT 2:decr_hits 0
STAT 2:cas_hits 0
STAT 2:cas_badval 0
STAT 2:touch_hits 0
STAT 3:chunk_size 152
STAT 3:chunks_per_page 6898
STAT 3:total_pages 1
STAT 3:total_chunks 6898
STAT 3:used_chunks 1961
STAT 3:free_chunks 4937
STAT 3:free_chunks_end 0
STAT 3:mem_requested 274055
STAT 3:get_hits 9139112
STAT 3:cmd_set 786714
STAT 3:delete_hits 0
STAT 3:incr_hits 0
STAT 3:decr_hits 0
STAT 3:cas_hits 0
STAT 3:cas_badval 0
STAT 3:touch_hits 0
STAT 4:chunk_size 192
STAT 4:chunks_per_page 5461
STAT 4:total_pages 1
STAT 4:total_chunks 5461
STAT 4:used_chunks 2064
STAT 4:free_chunks 3397
STAT 4:free_chunks_end 0
STAT 4:mem_requested 157549864
STAT 4:get_hits 3399873
STAT 4:cmd_set 269583
STAT 4:delete_hits 0
STAT 4:incr_hits 0
STAT 4:decr_hits 0
STAT 4:cas_hits 0
STAT 4:cas_badval 0
STAT 4:touch_hits 0
STAT 5:chunk_size 240
STAT 5:chunks_per_page 4369
STAT 5:total_pages 1
STAT 5:total_chunks 4369
STAT 5:used_chunks 337
STAT 5:free_chunks 4032
STAT 5:free_chunks_end 0
STAT 5:mem_requested 73561
STAT 5:get_hits 2550373
STAT 5:cmd_set 148119
STAT 5:delete_hits 0
STAT 5:incr_hits 0
STAT 5:decr_hits 0
STAT 5:cas_hits 0
STAT 5:cas_badval 0
STAT 5:touch_hits 0
STAT 6:chunk_size 304
STAT 6:chunks_per_page 3449
STAT 6:total_pages 1
STAT 6:total_chunks 3449
STAT 6:used_chunks 284
STAT 6:free_chunks 3165
STAT 6:free_chunks_end 0
STAT 6:mem_requested 176392
STAT 6:get_hits 1631432
STAT 6:cmd_set 101117
STAT 6:delete_hits 0
STAT 6:incr_hits 0
STAT 6:decr_hits 0
STAT 6:cas_hits 0
STAT 6:cas_badval 0
STAT 6:touch_hits 0
STAT 7:chunk_size 384
STAT 7:chunks_per_page 2730
STAT 7:total_pages 1
STAT 7:total_chunks 2730
STAT 7:used_chunks 399
STAT 7:free_chunks 2331
STAT 7:free_chunks_end 0
STAT 7:mem_requested 141987
STAT 7:get_hits 6308106
STAT 7:cmd_set 159230
STAT 7:delete_hits 0
STAT 7:incr_hits 0
STAT 7:decr_hits 0
STAT 7:cas_hits 0
STAT 7:cas_badval 0
STAT 7:touch_hits 0
STAT 8:chunk_size 480
STAT 8:chunks_per_page 2184
STAT 8:total_pages 1
STAT 8:total_chunks 2184
STAT 8:used_chunks 542
STAT 8:free_chunks 1642
STAT 8:free_chunks_end 0
STAT 8:mem_requested 249728
STAT 8:get_hits 934991
STAT 8:cmd_set 140820
STAT 8:delete_hits 0
STAT 8:incr_hits 0
STAT 8:decr_hits 0
STAT 8:cas_hits 0
STAT 8:cas_badval 0
STAT 8:touch_hits 0
STAT 9:chunk_size 600
STAT 9:chunks_per_page 1747
STAT 9:total_pages 2
STAT 9:total_chunks 3494
STAT 9:used_chunks 3016
STAT 9:free_chunks 478
STAT 9:free_chunks_end 0
STAT 9:mem_requested 1632988
STAT 9:get_hits 5198729
STAT 9:cmd_set 629738
STAT 9:delete_hits 0
STAT 9:incr_hits 0
STAT 9:decr_hits 0
STAT 9:cas_hits 0
STAT 9:cas_badval 0
STAT 9:touch_hits 0
STAT 10:chunk_size 752
STAT 10:chunks_per_page 1394
STAT 10:total_pages 1
STAT 10:total_chunks 1394
STAT 10:used_chunks 294
STAT 10:free_chunks 1100
STAT 10:free_chunks_end 0
STAT 10:mem_requested 200967
STAT 10:get_hits 2732565
STAT 10:cmd_set 106494
STAT 10:delete_hits 0
STAT 10:incr_hits 0
STAT 10:decr_hits 0
STAT 10:cas_hits 0
STAT 10:cas_badval 0
STAT 10:touch_hits 0
STAT 11:chunk_size 944
STAT 11:chunks_per_page 1110
STAT 11:total_pages 2
STAT 11:total_chunks 2220
STAT 11:used_chunks 737
STAT 11:free_chunks 1483
STAT 11:free_chunks_end 0
STAT 11:mem_requested 633011
STAT 11:get_hits 4650393
STAT 11:cmd_set 194004
STAT 11:delete_hits 0
STAT 11:incr_hits 0
STAT 11:decr_hits 0
STAT 11:cas_hits 0
STAT 11:cas_badval 0
STAT 11:touch_hits 0
STAT 12:chunk_size 1184
STAT 12:chunks_per_page 885
STAT 12:total_pages 1
STAT 12:total_chunks 885
STAT 12:used_chunks 319
STAT 12:free_chunks 566
STAT 12:free_chunks_end 0
STAT 12:mem_requested 324287
STAT 12:get_hits 318087
STAT 12:cmd_set 68503
STAT 12:delete_hits 0
STAT 12:incr_hits 0
STAT 12:decr_hits 0
STAT 12:cas_hits 0
STAT 12:cas_badval 0
STAT 12:touch_hits 0
STAT 13:chunk_size 1480
STAT 13:chunks_per_page 708
STAT 13:total_pages 1
STAT 13:total_chunks 708
STAT 13:used_chunks 314
STAT 13:free_chunks 394
STAT 13:free_chunks_end 0
STAT 13:mem_requested 423841
STAT 13:get_hits 849144
STAT 13:cmd_set 96041
STAT 13:delete_hits 0
STAT 13:incr_hits 0
STAT 13:decr_hits 0
STAT 13:cas_hits 0
STAT 13:cas_badval 0
STAT 13:touch_hits 0
STAT 14:chunk_size 1856
STAT 14:chunks_per_page 564
STAT 14:total_pages 2
STAT 14:total_chunks 1128
STAT 14:used_chunks 497
STAT 14:free_chunks 631
STAT 14:free_chunks_end 0
STAT 14:mem_requested 832743
STAT 14:get_hits 1565630
STAT 14:cmd_set 131330
STAT 14:delete_hits 0
STAT 14:incr_hits 0
STAT 14:decr_hits 0
STAT 14:cas_hits 0
STAT 14:cas_badval 0
STAT 14:touch_hits 0
STAT 15:chunk_size 2320
STAT 15:chunks_per_page 451
STAT 15:total_pages 2
STAT 15:total_chunks 902
STAT 15:used_chunks 489
STAT 15:free_chunks 413
STAT 15:free_chunks_end 0
STAT 15:mem_requested 1001136
STAT 15:get_hits 2233068
STAT 15:cmd_set 137954
STAT 15:delete_hits 0
STAT 15:incr_hits 0
STAT 15:decr_hits 0
STAT 15:cas_hits 0
STAT 15:cas_badval 0
STAT 15:touch_hits 0
STAT 16:chunk_size 2904
STAT 16:chunks_per_page 361
STAT 16:total_pages 2
STAT 16:total_chunks 722
STAT 16:used_chunks 265
STAT 16:free_chunks 457
STAT 16:free_chunks_end 0
STAT 16:mem_requested 690694
STAT 16:get_hits 3833719
STAT 16:cmd_set 63315
STAT 16:delete_hits 0
STAT 16:incr_hits 0
STAT 16:decr_hits 0
STAT 16:cas_hits 0
STAT 16:cas_badval 0
STAT 16:touch_hits 0
STAT 17:chunk_size 3632
STAT 17:chunks_per_page 288
STAT 17:total_pages 2
STAT 17:total_chunks 576
STAT 17:used_chunks 274
STAT 17:free_chunks 302
STAT 17:free_chunks_end 0
STAT 17:mem_requested 895530
STAT 17:get_hits 833979
STAT 17:cmd_set 63149
STAT 17:delete_hits 0
STAT 17:incr_hits 0
STAT 17:decr_hits 0
STAT 17:cas_hits 0
STAT 17:cas_badval 0
STAT 17:touch_hits 0
STAT 18:chunk_size 4544
STAT 18:chunks_per_page 230
STAT 18:total_pages 2
STAT 18:total_chunks 460
STAT 18:used_chunks 444
STAT 18:free_chunks 16
STAT 18:free_chunks_end 0
STAT 18:mem_requested 1807501
STAT 18:get_hits 396717
STAT 18:cmd_set 105630
STAT 18:delete_hits 0
STAT 18:incr_hits 0
STAT 18:decr_hits 0
STAT 18:cas_hits 0
STAT 18:cas_badval 0
STAT 18:touch_hits 0
STAT 19:chunk_size 5680
STAT 19:chunks_per_page 184
STAT 19:total_pages 3
STAT 19:total_chunks 552
STAT 19:used_chunks 381
STAT 19:free_chunks 171
STAT 19:free_chunks_end 0
STAT 19:mem_requested 1955378
STAT 19:get_hits 195357
STAT 19:cmd_set 141390
STAT 19:delete_hits 0
STAT 19:incr_hits 0
STAT 19:decr_hits 0
STAT 19:cas_hits 0
STAT 19:cas_badval 0
STAT 19:touch_hits 0
STAT 20:chunk_size 7104
STAT 20:chunks_per_page 147
STAT 20:total_pages 2
STAT 20:total_chunks 294
STAT 20:used_chunks 294
STAT 20:free_chunks 0
STAT 20:free_chunks_end 0
STAT 20:mem_requested 1856695
STAT 20:get_hits 216100
STAT 20:cmd_set 111877
STAT 20:delete_hits 0
STAT 20:incr_hits 0
STAT 20:decr_hits 0
STAT 20:cas_hits 0
STAT 20:cas_badval 0
STAT 20:touch_hits 0
STAT 21:chunk_size 8880
STAT 21:chunks_per_page 118
STAT 21:total_pages 2
STAT 21:total_chunks 236
STAT 21:used_chunks 236
STAT 21:free_chunks 0
STAT 21:free_chunks_end 0
STAT 21:mem_requested 1876156
STAT 21:get_hits 409370
STAT 21:cmd_set 159107
STAT 21:delete_hits 0
STAT 21:incr_hits 0
STAT 21:decr_hits 0
STAT 21:cas_hits 0
STAT 21:cas_badval 0
STAT 21:touch_hits 0
STAT 22:chunk_size 11104
STAT 22:chunks_per_page 94
STAT 22:total_pages 2
STAT 22:total_chunks 188
STAT 22:used_chunks 188
STAT 22:free_chunks 0
STAT 22:free_chunks_end 0
STAT 22:mem_requested 1889692
STAT 22:get_hits 516349
STAT 22:cmd_set 167884
STAT 22:delete_hits 0
STAT 22:incr_hits 0
STAT 22:decr_hits 0
STAT 22:cas_hits 0
STAT 22:cas_badval 0
STAT 22:touch_hits 0
STAT 23:chunk_size 13880
STAT 23:chunks_per_page 75
STAT 23:total_pages 7
STAT 23:total_chunks 525
STAT 23:used_chunks 525
STAT 23:free_chunks 0
STAT 23:free_chunks_end 0
STAT 23:mem_requested 6669507
STAT 23:get_hits 1162060
STAT 23:cmd_set 197846
STAT 23:delete_hits 0
STAT 23:incr_hits 0
STAT 23:decr_hits 0
STAT 23:cas_hits 0
STAT 23:cas_badval 0
STAT 23:touch_hits 0
STAT 24:chunk_size 17352
STAT 24:chunks_per_page 60
STAT 24:total_pages 8
STAT 24:total_chunks 480
STAT 24:used_chunks 480
STAT 24:free_chunks 0
STAT 24:free_chunks_end 0
STAT 24:mem_requested 7362075
STAT 24:get_hits 3328608
STAT 24:cmd_set 229287
STAT 24:delete_hits 0
STAT 24:incr_hits 0
STAT 24:decr_hits 0
STAT 24:cas_hits 0
STAT 24:cas_badval 0
STAT 24:touch_hits 0
STAT 25:chunk_size 21696
STAT 25:chunks_per_page 48
STAT 25:total_pages 11
STAT 25:total_chunks 528
STAT 25:used_chunks 525
STAT 25:free_chunks 3
STAT 25:free_chunks_end 0
STAT 25:mem_requested 10179900
STAT 25:get_hits 2626572
STAT 25:cmd_set 194317
STAT 25:delete_hits 0
STAT 25:incr_hits 0
STAT 25:decr_hits 0
STAT 25:cas_hits 0
STAT 25:cas_badval 0
STAT 25:touch_hits 0
STAT 26:chunk_size 27120
STAT 26:chunks_per_page 38
STAT 26:total_pages 9
STAT 26:total_chunks 342
STAT 26:used_chunks 342
STAT 26:free_chunks 0
STAT 26:free_chunks_end 0
STAT 26:mem_requested 8259584
STAT 26:get_hits 1259222
STAT 26:cmd_set 108060
STAT 26:delete_hits 0
STAT 26:incr_hits 0
STAT 26:decr_hits 0
STAT 26:cas_hits 0
STAT 26:cas_badval 0
STAT 26:touch_hits 0
STAT 27:chunk_size 33904
STAT 27:chunks_per_page 30
STAT 27:total_pages 10
STAT 27:total_chunks 300
STAT 27:used_chunks 280
STAT 27:free_chunks 20
STAT 27:free_chunks_end 0
STAT 27:mem_requested 8391971
STAT 27:get_hits 872248
STAT 27:cmd_set 105385
STAT 27:delete_hits 0
STAT 27:incr_hits 0
STAT 27:decr_hits 0
STAT 27:cas_hits 0
STAT 27:cas_badval 0
STAT 27:touch_hits 0
STAT 28:chunk_size 42384
STAT 28:chunks_per_page 24
STAT 28:total_pages 14
STAT 28:total_chunks 336
STAT 28:used_chunks 336
STAT 28:free_chunks 0
STAT 28:free_chunks_end 0
STAT 28:mem_requested 12818038
STAT 28:get_hits 392467
STAT 28:cmd_set 129882
STAT 28:delete_hits 0
STAT 28:incr_hits 0
STAT 28:decr_hits 0
STAT 28:cas_hits 0
STAT 28:cas_badval 0
STAT 28:touch_hits 0
STAT 29:chunk_size 52984
STAT 29:chunks_per_page 19
STAT 29:total_pages 27
STAT 29:total_chunks 513
STAT 29:used_chunks 512
STAT 29:free_chunks 1
STAT 29:free_chunks_end 0
STAT 29:mem_requested 23633573
STAT 29:get_hits 829369
STAT 29:cmd_set 264734
STAT 29:delete_hits 0
STAT 29:incr_hits 0
STAT 29:decr_hits 0
STAT 29:cas_hits 0
STAT 29:cas_badval 0
STAT 29:touch_hits 0
STAT 30:chunk_size 66232
STAT 30:chunks_per_page 15
STAT 30:total_pages 29
STAT 30:total_chunks 435
STAT 30:used_chunks 433
STAT 30:free_chunks 2
STAT 30:free_chunks_end 0
STAT 30:mem_requested 25707670
STAT 30:get_hits 641935
STAT 30:cmd_set 120072
STAT 30:delete_hits 0
STAT 30:incr_hits 0
STAT 30:decr_hits 0
STAT 30:cas_hits 0
STAT 30:cas_badval 0
STAT 30:touch_hits 0
STAT 31:chunk_size 82792
STAT 31:chunks_per_page 12
STAT 31:total_pages 53
STAT 31:total_chunks 636
STAT 31:used_chunks 636
STAT 31:free_chunks 0
STAT 31:free_chunks_end 0
STAT 31:mem_requested 46672369
STAT 31:get_hits 874375
STAT 31:cmd_set 229754
STAT 31:delete_hits 0
STAT 31:incr_hits 0
STAT 31:decr_hits 0
STAT 31:cas_hits 0
STAT 31:cas_badval 0
STAT 31:touch_hits 0
STAT 32:chunk_size 103496
STAT 32:chunks_per_page 10
STAT 32:total_pages 16
STAT 32:total_chunks 160
STAT 32:used_chunks 160
STAT 32:free_chunks 0
STAT 32:free_chunks_end 0
STAT 32:mem_requested 15430764
STAT 32:get_hits 155837
STAT 32:cmd_set 17327
STAT 32:delete_hits 0
STAT 32:incr_hits 0
STAT 32:decr_hits 0
STAT 32:cas_hits 0
STAT 32:cas_badval 0
STAT 32:touch_hits 0
STAT 33:chunk_size 129376
STAT 33:chunks_per_page 8
STAT 33:total_pages 22
STAT 33:total_chunks 176
STAT 33:used_chunks 176
STAT 33:free_chunks 0
STAT 33:free_chunks_end 0
STAT 33:mem_requested 20751009
STAT 33:get_hits 610271
STAT 33:cmd_set 52144
STAT 33:delete_hits 0
STAT 33:incr_hits 0
STAT 33:decr_hits 0
STAT 33:cas_hits 0
STAT 33:cas_badval 0
STAT 33:touch_hits 0
STAT 34:chunk_size 161720
STAT 34:chunks_per_page 6
STAT 34:total_pages 358
STAT 34:total_chunks 2148
STAT 34:used_chunks 2148
STAT 34:free_chunks 0
STAT 34:free_chunks_end 0
STAT 34:mem_requested 325268610
STAT 34:get_hits 221745
STAT 34:cmd_set 537012
STAT 34:delete_hits 0
STAT 34:incr_hits 0
STAT 34:decr_hits 0
STAT 34:cas_hits 0
STAT 34:cas_badval 0
STAT 34:touch_hits 0
STAT 35:chunk_size 202152
STAT 35:chunks_per_page 5
STAT 35:total_pages 77
STAT 35:total_chunks 385
STAT 35:used_chunks 385
STAT 35:free_chunks 0
STAT 35:free_chunks_end 0
STAT 35:mem_requested 68999992
STAT 35:get_hits 733170
STAT 35:cmd_set 93202
STAT 35:delete_hits 0
STAT 35:incr_hits 0
STAT 35:decr_hits 0
STAT 35:cas_hits 0
STAT 35:cas_badval 0
STAT 35:touch_hits 0
STAT 36:chunk_size 252696
STAT 36:chunks_per_page 4
STAT 36:total_pages 68
STAT 36:total_chunks 272
STAT 36:used_chunks 268
STAT 36:free_chunks 4
STAT 36:free_chunks_end 0
STAT 36:mem_requested 59502254
STAT 36:get_hits 414488
STAT 36:cmd_set 36299
STAT 36:delete_hits 0
STAT 36:incr_hits 0
STAT 36:decr_hits 0
STAT 36:cas_hits 0
STAT 36:cas_badval 0
STAT 36:touch_hits 0
STAT 37:chunk_size 315872
STAT 37:chunks_per_page 3
STAT 37:total_pages 52
STAT 37:total_chunks 156
STAT 37:used_chunks 153
STAT 37:free_chunks 3
STAT 37:free_chunks_end 0
STAT 37:mem_requested 42109274
STAT 37:get_hits 915424
STAT 37:cmd_set 29204
STAT 37:delete_hits 0
STAT 37:incr_hits 0
STAT 37:decr_hits 0
STAT 37:cas_hits 0
STAT 37:cas_badval 0
STAT 37:touch_hits 0
STAT 38:chunk_size 394840
STAT 38:chunks_per_page 2
STAT 38:total_pages 20
STAT 38:total_chunks 40
STAT 38:used_chunks 40
STAT 38:free_chunks 0
STAT 38:free_chunks_end 0
STAT 38:mem_requested 13976604
STAT 38:get_hits 2834
STAT 38:cmd_set 6511
STAT 38:delete_hits 0
STAT 38:incr_hits 0
STAT 38:decr_hits 0
STAT 38:cas_hits 0
STAT 38:cas_badval 0
STAT 38:touch_hits 0
STAT 39:chunk_size 524288
STAT 39:chunks_per_page 2
STAT 39:total_pages 1233
STAT 39:total_chunks 2466
STAT 39:used_chunks 2466
STAT 39:free_chunks 0
STAT 39:free_chunks_end 0
STAT 39:mem_requested 1269019927
STAT 39:get_hits 878244
STAT 39:cmd_set 494420
STAT 39:delete_hits 0
STAT 39:incr_hits 0
STAT 39:decr_hits 0
STAT 39:cas_hits 0
STAT 39:cas_badval 0
STAT 39:touch_hits 0
STAT active_slabs 39
STAT total_malloced 2147483648

Wish to hear your answers. Thank you in advance
script stats.jpg

dormando

unread,
Sep 20, 2022, 2:27:02 AMSep 20
to memcached
Hey,

I'm not sure if you have a specific question or not, since it sounds like
you're just putting up stats and asking about what you can do better? Do
you have a goal in mind?

Since your objects are fairly large (350-450kb) you said, and you seem to
be seeing OOM errors, can you try upgrading to 1.6.17? A fix just went in
fixing OOM's and excess evictions for caches with mostly large objects.

-Dormando
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to memcached+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/6ca77f9a-25ed-41c9-b85e-e0052d1096abn%40googlegroups.com.
>
>

Артём Яшков

unread,
Sep 20, 2022, 2:54:16 AMSep 20
to memcached
Hello, Dormando,

I'm glad you've answered! 

The goal is simple - it is to make memcached work properly as the server cashing service in our project, as it seems to me that it's not working so by now.

My decision now is to create a new virtual server having much larger RAM available and adjusting configs that way:
-u memcached -p 11211 -m (*max available*) -c 4000 -R 100 (as I see conn_yields errors in stats) -I 2m (as I get errors when it is 1m or lower)

Would you suggest increasing -n or lowering -f in addiction to this? Why?
Also, I am looking forward to reestimate TTL to give actual htmls, it seems low to me now.

вторник, 20 сентября 2022 г. в 11:27:02 UTC+5, Dormando:

Артём Яшков

unread,
Sep 20, 2022, 2:55:26 AMSep 20
to memcached
I've forgotten to mension, I will also upgrade to 1.6.17, as you have suggested to me before.

вторник, 20 сентября 2022 г. в 11:54:16 UTC+5, Артём Яшков:

dormando

unread,
Sep 20, 2022, 1:21:55 PMSep 20
to memcached
> Hello, Dormando,
>
> I'm glad you've answered! 
>
> The goal is simple - it is to make memcached work properly as the server cashing service in our project, as it seems to me that it's not working so by
> now.

What are you specifically seeing that you disagree with? I don't really
want to comb 1,000 lines of stats output :) Though I think you have stats
slabs but not stats items output.

> My decision now is to create a new virtual server having much larger RAM available and adjusting configs that way:
> -u memcached -p 11211 -m (*max available*) -c 4000 -R 100 (as I see conn_yields errors in stats) -I 2m (as I get errors when it is 1m or lower)

What errors are you getting specifically? "item too large"?

conn_yields isn't an error; if you raise -R you might cause excess
latency.

more RAM probably can't hurt.

> Would you suggest increasing -n or lowering -f in addiction to this? Why?
> Also, I am looking forward to reestimate TTL to give actual htmls, it seems low to me now.

No, probably not. If your items are large the overhead is small enough
that it's not worth changing settings (and you will have to re-tune if
your workload changes over time). The upgrade to 1.6.17 should fix any
issues with large items.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/475f19a4-2427-48d7-a63e-f729d03c57f9n%40googlegroups.com.
>
>

Артём Яшков

unread,
Sep 21, 2022, 1:31:53 AMSep 21
to memcached
"Memcache returned an error: SERVER_ERROR object too large for cache"
but when I change -I to 2m the cache stops erroring and cacheRes is Buffer(+-355617 bytes) of size

I write stats items below, haven't ever checked them before, but all stats were stats resetted at last friday

STAT items:1:number 257
STAT items:1:number_hot 18
STAT items:1:number_warm 103
STAT items:1:number_cold 136
STAT items:1:age_hot 515
STAT items:1:age_warm 97
STAT items:1:age 2791
STAT items:1:evicted 0
STAT items:1:evicted_nonzero 0
STAT items:1:evicted_time 0
STAT items:1:outofmemory 0
STAT items:1:tailrepairs 0
STAT items:1:reclaimed 9181
STAT items:1:expired_unfetched 2402
STAT items:1:evicted_unfetched 0
STAT items:1:evicted_active 0
STAT items:1:crawler_reclaimed 2647
STAT items:1:crawler_items_checked 196947
STAT items:1:lrutail_reflocked 9
STAT items:1:moves_to_cold 75564
STAT items:1:moves_to_warm 73936
STAT items:1:moves_within_lru 182222
STAT items:1:direct_reclaims 0
STAT items:1:hits_to_hot 111653
STAT items:1:hits_to_warm 1998737
STAT items:1:hits_to_cold 73596
STAT items:1:hits_to_temp 0
STAT items:2:number 1316
STAT items:2:number_hot 264
STAT items:2:number_warm 524
STAT items:2:number_cold 528
STAT items:2:age_hot 142
STAT items:2:age_warm 336
STAT items:2:age 2663
STAT items:2:evicted 0
STAT items:2:evicted_nonzero 0
STAT items:2:evicted_time 0
STAT items:2:outofmemory 0
STAT items:2:tailrepairs 0
STAT items:2:reclaimed 68910
STAT items:2:expired_unfetched 189699
STAT items:2:evicted_unfetched 0
STAT items:2:evicted_active 0
STAT items:2:crawler_reclaimed 850918
STAT items:2:crawler_items_checked 65694884
STAT items:2:lrutail_reflocked 27
STAT items:2:moves_to_cold 1298481
STAT items:2:moves_to_warm 1223960
STAT items:2:moves_within_lru 1213898
STAT items:2:direct_reclaims 0
STAT items:2:hits_to_hot 2825325
STAT items:2:hits_to_warm 9281983
STAT items:2:hits_to_cold 1094466
STAT items:2:hits_to_temp 0
STAT items:3:number 1668
STAT items:3:number_hot 281
STAT items:3:number_warm 689
STAT items:3:number_cold 698
STAT items:3:age_hot 120
STAT items:3:age_warm 450
STAT items:3:age 598
STAT items:3:evicted 0
STAT items:3:evicted_nonzero 0
STAT items:3:evicted_time 0
STAT items:3:outofmemory 0
STAT items:3:tailrepairs 0
STAT items:3:reclaimed 408013
STAT items:3:expired_unfetched 250245
STAT items:3:evicted_unfetched 0
STAT items:3:evicted_active 0
STAT items:3:crawler_reclaimed 781404
STAT items:3:crawler_items_checked 81632845
STAT items:3:lrutail_reflocked 30
STAT items:3:moves_to_cold 1340049
STAT items:3:moves_to_warm 1188848
STAT items:3:moves_within_lru 1027625
STAT items:3:direct_reclaims 0
STAT items:3:hits_to_hot 2979474
STAT items:3:hits_to_warm 11040546
STAT items:3:hits_to_cold 1169857
STAT items:3:hits_to_temp 0
STAT items:4:number 565
STAT items:4:number_hot 99
STAT items:4:number_warm 232
STAT items:4:number_cold 234
STAT items:4:age_hot 114
STAT items:4:age_warm 591
STAT items:4:age 596
STAT items:4:evicted 0
STAT items:4:evicted_nonzero 0
STAT items:4:evicted_time 0
STAT items:4:outofmemory 0
STAT items:4:tailrepairs 0
STAT items:4:reclaimed 145435
STAT items:4:expired_unfetched 79928
STAT items:4:evicted_unfetched 0
STAT items:4:evicted_active 0
STAT items:4:crawler_reclaimed 262589
STAT items:4:crawler_items_checked 27867101
STAT items:4:lrutail_reflocked 12
STAT items:4:moves_to_cold 295224
STAT items:4:moves_to_warm 296056
STAT items:4:moves_within_lru 157801
STAT items:4:direct_reclaims 0
STAT items:4:hits_to_hot 1194336
STAT items:4:hits_to_warm 4190006
STAT items:4:hits_to_cold 262074
STAT items:4:hits_to_temp 0
STAT items:5:number 259
STAT items:5:number_hot 52
STAT items:5:number_warm 89
STAT items:5:number_cold 118
STAT items:5:age_hot 104
STAT items:5:age_warm 347
STAT items:5:age 598
STAT items:5:evicted 0
STAT items:5:evicted_nonzero 0
STAT items:5:evicted_time 0
STAT items:5:outofmemory 0
STAT items:5:tailrepairs 0
STAT items:5:reclaimed 65832
STAT items:5:expired_unfetched 38319
STAT items:5:evicted_unfetched 0
STAT items:5:evicted_active 0
STAT items:5:crawler_reclaimed 156328
STAT items:5:crawler_items_checked 15562571
STAT items:5:lrutail_reflocked 32
STAT items:5:moves_to_cold 521727
STAT items:5:moves_to_warm 461376
STAT items:5:moves_within_lru 274768
STAT items:5:direct_reclaims 0
STAT items:5:hits_to_hot 543398
STAT items:5:hits_to_warm 3123443
STAT items:5:hits_to_cold 491230
STAT items:5:hits_to_temp 0
STAT items:6:number 227
STAT items:6:number_hot 113
STAT items:6:number_warm 54
STAT items:6:number_cold 60
STAT items:6:age_hot 313
STAT items:6:age_warm 613
STAT items:6:age 1566
STAT items:6:evicted 0
STAT items:6:evicted_nonzero 0
STAT items:6:evicted_time 0
STAT items:6:outofmemory 0
STAT items:6:tailrepairs 0
STAT items:6:reclaimed 11152
STAT items:6:expired_unfetched 38647
STAT items:6:evicted_unfetched 0
STAT items:6:evicted_active 0
STAT items:6:crawler_reclaimed 141106
STAT items:6:crawler_items_checked 7355947
STAT items:6:lrutail_reflocked 11
STAT items:6:moves_to_cold 83475
STAT items:6:moves_to_warm 98377
STAT items:6:moves_within_lru 34563
STAT items:6:direct_reclaims 0
STAT items:6:hits_to_hot 905236
STAT items:6:hits_to_warm 1801370
STAT items:6:hits_to_cold 40948
STAT items:6:hits_to_temp 0
STAT items:7:number 340
STAT items:7:number_hot 57
STAT items:7:number_warm 135
STAT items:7:number_cold 148
STAT items:7:age_hot 105
STAT items:7:age_warm 64
STAT items:7:age 599
STAT items:7:evicted 0
STAT items:7:evicted_nonzero 0
STAT items:7:evicted_time 0
STAT items:7:outofmemory 0
STAT items:7:tailrepairs 0
STAT items:7:reclaimed 84250
STAT items:7:expired_unfetched 54499
STAT items:7:evicted_unfetched 0
STAT items:7:evicted_active 0
STAT items:7:crawler_reclaimed 145730
STAT items:7:crawler_items_checked 16566659
STAT items:7:lrutail_reflocked 150
STAT items:7:moves_to_cold 552851
STAT items:7:moves_to_warm 519311
STAT items:7:moves_within_lru 571108
STAT items:7:direct_reclaims 0
STAT items:7:hits_to_hot 1712631
STAT items:7:hits_to_warm 8261422
STAT items:7:hits_to_cold 479882
STAT items:7:hits_to_temp 0
STAT items:8:number 465
STAT items:8:number_hot 91
STAT items:8:number_warm 54
STAT items:8:number_cold 320
STAT items:8:age_hot 96
STAT items:8:age_warm 92
STAT items:8:age 2105
STAT items:8:evicted 0
STAT items:8:evicted_nonzero 0
STAT items:8:evicted_time 0
STAT items:8:outofmemory 0
STAT items:8:tailrepairs 0
STAT items:8:reclaimed 16882
STAT items:8:expired_unfetched 153869
STAT items:8:evicted_unfetched 0
STAT items:8:evicted_active 0
STAT items:8:crawler_reclaimed 211915
STAT items:8:crawler_items_checked 15872637
STAT items:8:lrutail_reflocked 5
STAT items:8:moves_to_cold 206300
STAT items:8:moves_to_warm 55946
STAT items:8:moves_within_lru 13201
STAT items:8:direct_reclaims 0
STAT items:8:hits_to_hot 335531
STAT items:8:hits_to_warm 1127475
STAT items:8:hits_to_cold 58711
STAT items:8:hits_to_temp 0
STAT items:9:number 2093
STAT items:9:number_hot 418
STAT items:9:number_warm 261
STAT items:9:number_cold 1414
STAT items:9:age_hot 129
STAT items:9:age_warm 9
STAT items:9:age 2872
STAT items:9:evicted 0
STAT items:9:evicted_nonzero 0
STAT items:9:evicted_time 0
STAT items:9:outofmemory 0
STAT items:9:tailrepairs 0
STAT items:9:reclaimed 83175
STAT items:9:expired_unfetched 669483
STAT items:9:evicted_unfetched 0
STAT items:9:evicted_active 0
STAT items:9:crawler_reclaimed 940895
STAT items:9:crawler_items_checked 65257587
STAT items:9:lrutail_reflocked 48
STAT items:9:moves_to_cold 872623
STAT items:9:moves_to_warm 318927
STAT items:9:moves_within_lru 55185
STAT items:9:direct_reclaims 0
STAT items:9:hits_to_hot 2010875
STAT items:9:hits_to_warm 6415794
STAT items:9:hits_to_cold 262970
STAT items:9:hits_to_temp 0
STAT items:10:number 277
STAT items:10:number_hot 55
STAT items:10:number_warm 107
STAT items:10:number_cold 115
STAT items:10:age_hot 156
STAT items:10:age_warm 232
STAT items:10:age 1913
STAT items:10:evicted 0
STAT items:10:evicted_nonzero 0
STAT items:10:evicted_time 0
STAT items:10:outofmemory 0
STAT items:10:tailrepairs 0
STAT items:10:reclaimed 14290
STAT items:10:expired_unfetched 45385
STAT items:10:evicted_unfetched 0
STAT items:10:evicted_active 0
STAT items:10:crawler_reclaimed 136357
STAT items:10:crawler_items_checked 11526642
STAT items:10:lrutail_reflocked 16
STAT items:10:moves_to_cold 384949
STAT items:10:moves_to_warm 385442
STAT items:10:moves_within_lru 413849
STAT items:10:direct_reclaims 0
STAT items:10:hits_to_hot 895825
STAT items:10:hits_to_warm 3334604
STAT items:10:hits_to_cold 324928
STAT items:10:hits_to_temp 0
STAT items:11:number 648
STAT items:11:number_hot 129
STAT items:11:number_warm 251
STAT items:11:number_cold 268
STAT items:11:age_hot 191
STAT items:11:age_warm 455
STAT items:11:age 2791
STAT items:11:evicted 0
STAT items:11:evicted_nonzero 0
STAT items:11:evicted_time 0
STAT items:11:outofmemory 0
STAT items:11:tailrepairs 0
STAT items:11:reclaimed 25819
STAT items:11:expired_unfetched 131393
STAT items:11:evicted_unfetched 0
STAT items:11:evicted_active 0
STAT items:11:crawler_reclaimed 262350
STAT items:11:crawler_items_checked 27863081
STAT items:11:lrutail_reflocked 25
STAT items:11:moves_to_cold 339608
STAT items:11:moves_to_warm 271710
STAT items:11:moves_within_lru 402547
STAT items:11:direct_reclaims 0
STAT items:11:hits_to_hot 1826348
STAT items:11:hits_to_warm 5645614
STAT items:11:hits_to_cold 206909
STAT items:11:hits_to_temp 0
STAT items:12:number 200
STAT items:12:number_hot 38
STAT items:12:number_warm 28
STAT items:12:number_cold 134
STAT items:12:age_hot 120
STAT items:12:age_warm 97
STAT items:12:age 600
STAT items:12:evicted 0
STAT items:12:evicted_nonzero 0
STAT items:12:evicted_time 0
STAT items:12:outofmemory 0
STAT items:12:tailrepairs 0
STAT items:12:reclaimed 67765
STAT items:12:expired_unfetched 75550
STAT items:12:evicted_unfetched 0
STAT items:12:evicted_active 0
STAT items:12:crawler_reclaimed 33359
STAT items:12:crawler_items_checked 6137235
STAT items:12:lrutail_reflocked 1
STAT items:12:moves_to_cold 93643
STAT items:12:moves_to_warm 24282
STAT items:12:moves_within_lru 16842
STAT items:12:direct_reclaims 0
STAT items:12:hits_to_hot 93193
STAT items:12:hits_to_warm 407293
STAT items:12:hits_to_cold 21263
STAT items:12:hits_to_temp 0
STAT items:13:number 217
STAT items:13:number_hot 29
STAT items:13:number_warm 44
STAT items:13:number_cold 144
STAT items:13:age_hot 118
STAT items:13:age_warm 386
STAT items:13:age 586
STAT items:13:evicted 0
STAT items:13:evicted_nonzero 0
STAT items:13:evicted_time 0
STAT items:13:outofmemory 0
STAT items:13:tailrepairs 0
STAT items:13:reclaimed 83595
STAT items:13:expired_unfetched 78488
STAT items:13:evicted_unfetched 0
STAT items:13:evicted_active 0
STAT items:13:crawler_reclaimed 58943
STAT items:13:crawler_items_checked 9469514
STAT items:13:lrutail_reflocked 6
STAT items:13:moves_to_cold 142836
STAT items:13:moves_to_warm 79911
STAT items:13:moves_within_lru 74330
STAT items:13:direct_reclaims 0
STAT items:13:hits_to_hot 227373
STAT items:13:hits_to_warm 1116980
STAT items:13:hits_to_cold 73016
STAT items:13:hits_to_temp 0
STAT items:14:number 330
STAT items:14:number_hot 56
STAT items:14:number_warm 82
STAT items:14:number_cold 192
STAT items:14:age_hot 119
STAT items:14:age_warm 414
STAT items:14:age 598
STAT items:14:evicted 0
STAT items:14:evicted_nonzero 0
STAT items:14:evicted_time 0
STAT items:14:outofmemory 0
STAT items:14:tailrepairs 0
STAT items:14:reclaimed 102826
STAT items:14:expired_unfetched 99316
STAT items:14:evicted_unfetched 0
STAT items:14:evicted_active 0
STAT items:14:crawler_reclaimed 96575
STAT items:14:crawler_items_checked 13526377
STAT items:14:lrutail_reflocked 9
STAT items:14:moves_to_cold 265340
STAT items:14:moves_to_warm 202289
STAT items:14:moves_within_lru 183351
STAT items:14:direct_reclaims 0
STAT items:14:hits_to_hot 469517
STAT items:14:hits_to_warm 2000534
STAT items:14:hits_to_cold 174008
STAT items:14:hits_to_temp 0
STAT items:15:number 379
STAT items:15:number_hot 76
STAT items:15:number_warm 107
STAT items:15:number_cold 196
STAT items:15:age_hot 108
STAT items:15:age_warm 79
STAT items:15:age 594
STAT items:15:evicted 0
STAT items:15:evicted_nonzero 0
STAT items:15:evicted_time 0
STAT items:15:outofmemory 0
STAT items:15:tailrepairs 0
STAT items:15:reclaimed 102311
STAT items:15:expired_unfetched 92758
STAT items:15:evicted_unfetched 0
STAT items:15:evicted_active 0
STAT items:15:crawler_reclaimed 103903
STAT items:15:crawler_items_checked 14135979
STAT items:15:lrutail_reflocked 16
STAT items:15:moves_to_cold 270886
STAT items:15:moves_to_warm 221266
STAT items:15:moves_within_lru 224766
STAT items:15:direct_reclaims 0
STAT items:15:hits_to_hot 651856
STAT items:15:hits_to_warm 2888760
STAT items:15:hits_to_cold 183437
STAT items:15:hits_to_temp 0
STAT items:16:number 194
STAT items:16:number_hot 24
STAT items:16:number_warm 56
STAT items:16:number_cold 114
STAT items:16:age_hot 119
STAT items:16:age_warm 414
STAT items:16:age 594
STAT items:16:evicted 0
STAT items:16:evicted_nonzero 0
STAT items:16:evicted_time 0
STAT items:16:outofmemory 0
STAT items:16:tailrepairs 0
STAT items:16:reclaimed 57897
STAT items:16:expired_unfetched 57449
STAT items:16:evicted_unfetched 0
STAT items:16:evicted_active 0
STAT items:16:crawler_reclaimed 38222
STAT items:16:crawler_items_checked 6265945
STAT items:16:lrutail_reflocked 89
STAT items:16:moves_to_cold 118925
STAT items:16:moves_to_warm 84952
STAT items:16:moves_within_lru 138550
STAT items:16:direct_reclaims 0
STAT items:16:hits_to_hot 998225
STAT items:16:hits_to_warm 5331725
STAT items:16:hits_to_cold 64122
STAT items:16:hits_to_temp 0
STAT items:17:number 254
STAT items:17:number_hot 51
STAT items:17:number_warm 14
STAT items:17:number_cold 189
STAT items:17:age_hot 95
STAT items:17:age_warm 575
STAT items:17:age 600
STAT items:17:evicted 0
STAT items:17:evicted_nonzero 0
STAT items:17:evicted_time 0
STAT items:17:outofmemory 0
STAT items:17:tailrepairs 0
STAT items:17:reclaimed 83265
STAT items:17:expired_unfetched 88810
STAT items:17:evicted_unfetched 0
STAT items:17:evicted_active 0
STAT items:17:crawler_reclaimed 20400
STAT items:17:crawler_items_checked 6310986
STAT items:17:lrutail_reflocked 59
STAT items:17:moves_to_cold 99227
STAT items:17:moves_to_warm 15086
STAT items:17:moves_within_lru 65648
STAT items:17:direct_reclaims 0
STAT items:17:hits_to_hot 218484
STAT items:17:hits_to_warm 1147158
STAT items:17:hits_to_cold 13724
STAT items:17:hits_to_temp 0
STAT items:18:number 280
STAT items:18:number_hot 47
STAT items:18:number_warm 16
STAT items:18:number_cold 217
STAT items:18:age_hot 120
STAT items:18:age_warm 362
STAT items:18:age 601
STAT items:18:evicted 4445
STAT items:18:evicted_nonzero 4445
STAT items:18:evicted_time 600
STAT items:18:outofmemory 0
STAT items:18:tailrepairs 0
STAT items:18:reclaimed 133672
STAT items:18:expired_unfetched 145980
STAT items:18:evicted_unfetched 4192
STAT items:18:evicted_active 0
STAT items:18:crawler_reclaimed 34513
STAT items:18:crawler_items_checked 10964801
STAT items:18:lrutail_reflocked 10
STAT items:18:moves_to_cold 167571
STAT items:18:moves_to_warm 17103
STAT items:18:moves_within_lru 33931
STAT items:18:direct_reclaims 4445
STAT items:18:hits_to_hot 118228
STAT items:18:hits_to_warm 529253
STAT items:18:hits_to_cold 21184
STAT items:18:hits_to_temp 0
STAT items:19:number 406
STAT items:19:number_hot 74
STAT items:19:number_warm 15
STAT items:19:number_cold 317
STAT items:19:age_hot 117
STAT items:19:age_warm 450
STAT items:19:age 599
STAT items:19:evicted 30410
STAT items:19:evicted_nonzero 30410
STAT items:19:evicted_time 585
STAT items:19:outofmemory 0
STAT items:19:tailrepairs 0
STAT items:19:reclaimed 115132
STAT items:19:expired_unfetched 145931
STAT items:19:evicted_unfetched 28636
STAT items:19:evicted_active 0
STAT items:19:crawler_reclaimed 57478
STAT items:19:crawler_items_checked 12053238
STAT items:19:lrutail_reflocked 0
STAT items:19:moves_to_cold 222188
STAT items:19:moves_to_warm 22194
STAT items:19:moves_within_lru 22778
STAT items:19:direct_reclaims 30411
STAT items:19:hits_to_hot 55693
STAT items:19:hits_to_warm 215442
STAT items:19:hits_to_cold 29754
STAT items:19:hits_to_temp 0
STAT items:20:number 313
STAT items:20:number_hot 43
STAT items:20:number_warm 13
STAT items:20:number_cold 257
STAT items:20:age_hot 116
STAT items:20:age_warm 124
STAT items:20:age 598
STAT items:20:evicted 26838
STAT items:20:evicted_nonzero 26838
STAT items:20:evicted_time 532
STAT items:20:outofmemory 0
STAT items:20:tailrepairs 0
STAT items:20:reclaimed 88831
STAT items:20:expired_unfetched 107695
STAT items:20:evicted_unfetched 25965
STAT items:20:evicted_active 0
STAT items:20:crawler_reclaimed 45942
STAT items:20:crawler_items_checked 9039429
STAT items:20:lrutail_reflocked 2
STAT items:20:moves_to_cold 174363
STAT items:20:moves_to_warm 29507
STAT items:20:moves_within_lru 32581
STAT items:20:direct_reclaims 26840
STAT items:20:hits_to_hot 61384
STAT items:20:hits_to_warm 250291
STAT items:20:hits_to_cold 34191
STAT items:20:hits_to_temp 0
STAT items:21:number 384
STAT items:21:number_hot 75
STAT items:21:number_warm 19
STAT items:21:number_cold 290
STAT items:21:age_hot 121
STAT items:21:age_warm 478
STAT items:21:age 601
STAT items:21:evicted 33459
STAT items:21:evicted_nonzero 33459
STAT items:21:evicted_time 518
STAT items:21:outofmemory 0
STAT items:21:tailrepairs 0
STAT items:21:reclaimed 120476
STAT items:21:expired_unfetched 139725
STAT items:21:evicted_unfetched 32531
STAT items:21:evicted_active 0
STAT items:21:crawler_reclaimed 48832
STAT items:21:crawler_items_checked 11519986
STAT items:21:lrutail_reflocked 4
STAT items:21:moves_to_cold 237778
STAT items:21:moves_to_warm 33571
STAT items:21:moves_within_lru 40025
STAT items:21:direct_reclaims 33461
STAT items:21:hits_to_hot 113966
STAT items:21:hits_to_warm 493564
STAT items:21:hits_to_cold 36932
STAT items:21:hits_to_temp 0
STAT items:22:number 436
STAT items:22:number_hot 89
STAT items:22:number_warm 46
STAT items:22:number_cold 301
STAT items:22:age_hot 105
STAT items:22:age_warm 53
STAT items:22:age 600
STAT items:22:evicted 37114
STAT items:22:evicted_nonzero 37114
STAT items:22:evicted_time 581
STAT items:22:outofmemory 0
STAT items:22:tailrepairs 0
STAT items:22:reclaimed 119628
STAT items:22:expired_unfetched 132582
STAT items:22:evicted_unfetched 35445
STAT items:22:evicted_active 0
STAT items:22:crawler_reclaimed 56702
STAT items:22:crawler_items_checked 12463174
STAT items:22:lrutail_reflocked 5
STAT items:22:moves_to_cold 239788
STAT items:22:moves_to_warm 48810
STAT items:22:moves_within_lru 43240
STAT items:22:direct_reclaims 37116
STAT items:22:hits_to_hot 149052
STAT items:22:hits_to_warm 637981
STAT items:22:hits_to_cold 46919
STAT items:22:hits_to_temp 0
STAT items:23:number 462
STAT items:23:number_hot 93
STAT items:23:number_warm 69
STAT items:23:number_cold 300
STAT items:23:age_hot 113
STAT items:23:age_warm 290
STAT items:23:age 598
STAT items:23:evicted 43759
STAT items:23:evicted_nonzero 43759
STAT items:23:evicted_time 301
STAT items:23:outofmemory 0
STAT items:23:tailrepairs 0
STAT items:23:reclaimed 123587
STAT items:23:expired_unfetched 127837
STAT items:23:evicted_unfetched 40328
STAT items:23:evicted_active 1
STAT items:23:crawler_reclaimed 94493
STAT items:23:crawler_items_checked 15184800
STAT items:23:lrutail_reflocked 15
STAT items:23:moves_to_cold 301391
STAT items:23:moves_to_warm 139232
STAT items:23:moves_within_lru 117415
STAT items:23:direct_reclaims 43760
STAT items:23:hits_to_hot 325062
STAT items:23:hits_to_warm 1447384
STAT items:23:hits_to_cold 130900
STAT items:23:hits_to_temp 0
STAT items:24:number 527
STAT items:24:number_hot 92
STAT items:24:number_warm 164
STAT items:24:number_cold 271
STAT items:24:age_hot 118
STAT items:24:age_warm 575
STAT items:24:age 599
STAT items:24:evicted 57308
STAT items:24:evicted_nonzero 57308
STAT items:24:evicted_time 483
STAT items:24:outofmemory 0
STAT items:24:tailrepairs 0
STAT items:24:reclaimed 117190
STAT items:24:expired_unfetched 112216
STAT items:24:evicted_unfetched 50012
STAT items:24:evicted_active 2
STAT items:24:crawler_reclaimed 137350
STAT items:24:crawler_items_checked 18539497
STAT items:24:lrutail_reflocked 34
STAT items:24:moves_to_cold 437406
STAT items:24:moves_to_warm 325014
STAT items:24:moves_within_lru 314788
STAT items:24:direct_reclaims 57309
STAT items:24:hits_to_hot 888514
STAT items:24:hits_to_warm 4365029
STAT items:24:hits_to_cold 275743
STAT items:24:hits_to_temp 0
STAT items:25:number 472
STAT items:25:number_hot 89
STAT items:25:number_warm 130
STAT items:25:number_cold 253
STAT items:25:age_hot 120
STAT items:25:age_warm 79
STAT items:25:age 596
STAT items:25:evicted 49149
STAT items:25:evicted_nonzero 49149
STAT items:25:evicted_time 417
STAT items:25:outofmemory 0
STAT items:25:tailrepairs 0
STAT items:25:reclaimed 109945
STAT items:25:expired_unfetched 105850
STAT items:25:evicted_unfetched 42914
STAT items:25:evicted_active 0
STAT items:25:crawler_reclaimed 108359
STAT items:25:crawler_items_checked 15774680
STAT items:25:lrutail_reflocked 9
STAT items:25:moves_to_cold 288314
STAT items:25:moves_to_warm 182307
STAT items:25:moves_within_lru 189411
STAT items:25:direct_reclaims 49154
STAT items:25:hits_to_hot 747880
STAT items:25:hits_to_warm 3521690
STAT items:25:hits_to_cold 138404
STAT items:25:hits_to_temp 0
STAT items:26:number 272
STAT items:26:number_hot 56
STAT items:26:number_warm 23
STAT items:26:number_cold 193
STAT items:26:age_hot 121
STAT items:26:age_warm 367
STAT items:26:age 601
STAT items:26:evicted 37964
STAT items:26:evicted_nonzero 37964
STAT items:26:evicted_time 377
STAT items:26:outofmemory 0
STAT items:26:tailrepairs 0
STAT items:26:reclaimed 82666
STAT items:26:expired_unfetched 89162
STAT items:26:evicted_unfetched 35643
STAT items:26:evicted_active 0
STAT items:26:crawler_reclaimed 33315
STAT items:26:crawler_items_checked 7717190
STAT items:26:lrutail_reflocked 56
STAT items:26:moves_to_cold 158099
STAT items:26:moves_to_warm 29521
STAT items:26:moves_within_lru 59235
STAT items:26:direct_reclaims 37965
STAT items:26:hits_to_hot 342501
STAT items:26:hits_to_warm 1743162
STAT items:26:hits_to_cold 26573
STAT items:26:hits_to_temp 0
STAT items:27:number 266
STAT items:27:number_hot 54
STAT items:27:number_warm 22
STAT items:27:number_cold 190
STAT items:27:age_hot 115
STAT items:27:age_warm 286
STAT items:27:age 597
STAT items:27:evicted 41035
STAT items:27:evicted_nonzero 41035
STAT items:27:evicted_time 479
STAT items:27:outofmemory 0
STAT items:27:tailrepairs 0
STAT items:27:reclaimed 85846
STAT items:27:expired_unfetched 94003
STAT items:27:evicted_unfetched 38994
STAT items:27:evicted_active 0
STAT items:27:crawler_reclaimed 25436
STAT items:27:crawler_items_checked 7419377
STAT items:27:lrutail_reflocked 65
STAT items:27:moves_to_cold 159370
STAT items:27:moves_to_warm 17445
STAT items:27:moves_within_lru 74441
STAT items:27:direct_reclaims 41037
STAT items:27:hits_to_hot 232474
STAT items:27:hits_to_warm 1199602
STAT items:27:hits_to_cold 15196
STAT items:27:hits_to_temp 0
STAT items:28:number 393
STAT items:28:number_hot 80
STAT items:28:number_warm 29
STAT items:28:number_cold 284
STAT items:28:age_hot 113
STAT items:28:age_warm 481
STAT items:28:age 599
STAT items:28:evicted 47526
STAT items:28:evicted_nonzero 47526
STAT items:28:evicted_time 530
STAT items:28:outofmemory 0
STAT items:28:tailrepairs 0
STAT items:28:reclaimed 99457
STAT items:28:expired_unfetched 93189
STAT items:28:evicted_unfetched 39744
STAT items:28:evicted_active 0
STAT items:28:crawler_reclaimed 46371
STAT items:28:crawler_items_checked 10077447
STAT items:28:lrutail_reflocked 2
STAT items:28:moves_to_cold 193921
STAT items:28:moves_to_warm 37761
STAT items:28:moves_within_lru 24568
STAT items:28:direct_reclaims 47526
STAT items:28:hits_to_hot 136605
STAT items:28:hits_to_warm 477463
STAT items:28:hits_to_cold 50864
STAT items:28:hits_to_temp 0
STAT items:29:number 530
STAT items:29:number_hot 99
STAT items:29:number_warm 65
STAT items:29:number_cold 366
STAT items:29:age_hot 119
STAT items:29:age_warm 444
STAT items:29:age 599
STAT items:29:evicted 72741
STAT items:29:evicted_nonzero 72741
STAT items:29:evicted_time 549
STAT items:29:outofmemory 0
STAT items:29:tailrepairs 0
STAT items:29:reclaimed 170993
STAT items:29:expired_unfetched 154085
STAT items:29:evicted_unfetched 55742
STAT items:29:evicted_active 0
STAT items:29:crawler_reclaimed 157671
STAT items:29:crawler_items_checked 23292302
STAT items:29:lrutail_reflocked 9
STAT items:29:moves_to_cold 401470
STAT items:29:moves_to_warm 145332
STAT items:29:moves_within_lru 54451
STAT items:29:direct_reclaims 72741
STAT items:29:hits_to_hot 254124
STAT items:29:hits_to_warm 847525
STAT items:29:hits_to_cold 232516
STAT items:29:hits_to_temp 0
STAT items:30:number 345
STAT items:30:number_hot 74
STAT items:30:number_warm 44
STAT items:30:number_cold 227
STAT items:30:age_hot 117
STAT items:30:age_warm 384
STAT items:30:age 600
STAT items:30:evicted 46807
STAT items:30:evicted_nonzero 46807
STAT items:30:evicted_time 593
STAT items:30:outofmemory 0
STAT items:30:tailrepairs 0
STAT items:30:reclaimed 87357
STAT items:30:expired_unfetched 85702
STAT items:30:evicted_unfetched 40276
STAT items:30:evicted_active 0
STAT items:30:crawler_reclaimed 50523
STAT items:30:crawler_items_checked 9600797
STAT items:30:lrutail_reflocked 3
STAT items:30:moves_to_cold 175469
STAT items:30:moves_to_warm 44229
STAT items:30:moves_within_lru 35422
STAT items:30:direct_reclaims 46807
STAT items:30:hits_to_hot 196632
STAT items:30:hits_to_warm 833054
STAT items:30:hits_to_cold 52665
STAT items:30:hits_to_temp 0
STAT items:31:number 667
STAT items:31:number_hot 126
STAT items:31:number_warm 105
STAT items:31:number_cold 436
STAT items:31:age_hot 118
STAT items:31:age_warm 393
STAT items:31:age 601
STAT items:31:evicted 83783
STAT items:31:evicted_nonzero 83783
STAT items:31:evicted_time 598
STAT items:31:outofmemory 0
STAT items:31:tailrepairs 0
STAT items:31:reclaimed 164830
STAT items:31:expired_unfetched 155982
STAT items:31:evicted_unfetched 68419
STAT items:31:evicted_active 0
STAT items:31:crawler_reclaimed 111626
STAT items:31:crawler_items_checked 19933482
STAT items:31:lrutail_reflocked 15
STAT items:31:moves_to_cold 342693
STAT items:31:moves_to_warm 95016
STAT items:31:moves_within_lru 43220
STAT items:31:direct_reclaims 83784
STAT items:31:hits_to_hot 307133
STAT items:31:hits_to_warm 1053407
STAT items:31:hits_to_cold 128792
STAT items:31:hits_to_temp 0
STAT items:32:number 50
STAT items:32:number_hot 5
STAT items:32:number_warm 5
STAT items:32:number_cold 40
STAT items:32:age_hot 95
STAT items:32:age_warm 9
STAT items:32:age 596
STAT items:32:evicted 11005
STAT items:32:evicted_nonzero 11005
STAT items:32:evicted_time 534
STAT items:32:outofmemory 1126
STAT items:32:tailrepairs 0
STAT items:32:reclaimed 14380
STAT items:32:expired_unfetched 14271
STAT items:32:evicted_unfetched 10039
STAT items:32:evicted_active 1
STAT items:32:crawler_reclaimed 3007
STAT items:32:crawler_items_checked 573923
STAT items:32:lrutail_reflocked 35
STAT items:32:moves_to_cold 28408
STAT items:32:moves_to_warm 5444
STAT items:32:moves_within_lru 70119
STAT items:32:direct_reclaims 26828
STAT items:32:hits_to_hot 34793
STAT items:32:hits_to_warm 225575
STAT items:32:hits_to_cold 3719
STAT items:32:hits_to_temp 0
STAT items:33:number 186
STAT items:33:number_hot 47
STAT items:33:number_warm 2
STAT items:33:number_cold 137
STAT items:33:age_hot 119
STAT items:33:age_warm 18
STAT items:33:age 599
STAT items:33:evicted 32036
STAT items:33:evicted_nonzero 32036
STAT items:33:evicted_time 505
STAT items:33:outofmemory 320
STAT items:33:tailrepairs 0
STAT items:33:reclaimed 39853
STAT items:33:expired_unfetched 35647
STAT items:33:evicted_unfetched 28593
STAT items:33:evicted_active 2
STAT items:33:crawler_reclaimed 11270
STAT items:33:crawler_items_checked 3018712
STAT items:33:lrutail_reflocked 1829
STAT items:33:moves_to_cold 86215
STAT items:33:moves_to_warm 5155
STAT items:33:moves_within_lru 362052
STAT items:33:direct_reclaims 36104
STAT items:33:hits_to_hot 154379
STAT items:33:hits_to_warm 835781
STAT items:33:hits_to_cold 22728
STAT items:33:hits_to_temp 0
STAT items:34:number 1811
STAT items:34:number_hot 341
STAT items:34:number_warm 19
STAT items:34:number_cold 1451
STAT items:34:age_hot 121
STAT items:34:age_warm 481
STAT items:34:age 601
STAT items:34:evicted 293039
STAT items:34:evicted_nonzero 293039
STAT items:34:evicted_time 581
STAT items:34:outofmemory 0
STAT items:34:tailrepairs 0
STAT items:34:reclaimed 439566
STAT items:34:expired_unfetched 527398
STAT items:34:evicted_unfetched 279595
STAT items:34:evicted_active 1
STAT items:34:crawler_reclaimed 132070
STAT items:34:crawler_items_checked 48561311
STAT items:34:lrutail_reflocked 36
STAT items:34:moves_to_cold 877504
STAT items:34:moves_to_warm 18909
STAT items:34:moves_within_lru 19299
STAT items:34:direct_reclaims 293108
STAT items:34:hits_to_hot 70176
STAT items:34:hits_to_warm 238824
STAT items:34:hits_to_cold 57434
STAT items:34:hits_to_temp 0
STAT items:35:number 209
STAT items:35:number_hot 44
STAT items:35:number_warm 56
STAT items:35:number_cold 109
STAT items:35:age_hot 119
STAT items:35:age_warm 414
STAT items:35:age 598
STAT items:35:evicted 32242
STAT items:35:evicted_nonzero 32242
STAT items:35:evicted_time 62
STAT items:35:outofmemory 0
STAT items:35:tailrepairs 0
STAT items:35:reclaimed 39779
STAT items:35:expired_unfetched 36500
STAT items:35:evicted_unfetched 26950
STAT items:35:evicted_active 0
STAT items:35:crawler_reclaimed 73489
STAT items:35:crawler_items_checked 7405130
STAT items:35:lrutail_reflocked 10
STAT items:35:moves_to_cold 130170
STAT items:35:moves_to_warm 86113
STAT items:35:moves_within_lru 70652
STAT items:35:direct_reclaims 32242
STAT items:35:hits_to_hot 214646
STAT items:35:hits_to_warm 882102
STAT items:35:hits_to_cold 81453
STAT items:35:hits_to_temp 0
STAT items:36:number 107
STAT items:36:number_hot 20
STAT items:36:number_warm 31
STAT items:36:number_cold 56
STAT items:36:age_hot 109
STAT items:36:age_warm 575
STAT items:36:age 570
STAT items:36:evicted 30291
STAT items:36:evicted_nonzero 30291
STAT items:36:evicted_time 173
STAT items:36:outofmemory 1640
STAT items:36:tailrepairs 0
STAT items:36:reclaimed 11730
STAT items:36:expired_unfetched 9433
STAT items:36:evicted_unfetched 20386
STAT items:36:evicted_active 2
STAT items:36:crawler_reclaimed 15338
STAT items:36:crawler_items_checked 1107546
STAT items:36:lrutail_reflocked 34
STAT items:36:moves_to_cold 57328
STAT items:36:moves_to_warm 32153
STAT items:36:moves_within_lru 68228
STAT items:36:direct_reclaims 65140
STAT items:36:hits_to_hot 80622
STAT items:36:hits_to_warm 570017
STAT items:36:hits_to_cold 27734
STAT items:36:hits_to_temp 0
STAT items:37:number 76
STAT items:37:number_hot 7
STAT items:37:number_warm 40
STAT items:37:number_cold 29
STAT items:37:age_hot 112
STAT items:37:age_warm 33
STAT items:37:age 582
STAT items:37:evicted 19065
STAT items:37:evicted_nonzero 19065
STAT items:37:evicted_time 97
STAT items:37:outofmemory 4
STAT items:37:tailrepairs 0
STAT items:37:reclaimed 8212
STAT items:37:expired_unfetched 4890
STAT items:37:evicted_unfetched 9859
STAT items:37:evicted_active 3
STAT items:37:crawler_reclaimed 15988
STAT items:37:crawler_items_checked 1322257
STAT items:37:lrutail_reflocked 57
STAT items:37:moves_to_cold 67418
STAT items:37:moves_to_warm 64078
STAT items:37:moves_within_lru 144299
STAT items:37:direct_reclaims 19200
STAT items:37:hits_to_hot 137400
STAT items:37:hits_to_warm 1335663
STAT items:37:hits_to_cold 51130
STAT items:37:hits_to_temp 0
STAT items:38:number 18
STAT items:38:number_hot 5
STAT items:38:number_warm 0
STAT items:38:number_cold 13
STAT items:38:age_hot 106
STAT items:38:age_warm 0
STAT items:38:age 549
STAT items:38:evicted 4868
STAT items:38:evicted_nonzero 4868
STAT items:38:evicted_time 569
STAT items:38:outofmemory 1134
STAT items:38:tailrepairs 0
STAT items:38:reclaimed 5099
STAT items:38:expired_unfetched 5436
STAT items:38:evicted_unfetched 4589
STAT items:38:evicted_active 0
STAT items:38:crawler_reclaimed 1028
STAT items:38:crawler_items_checked 92201
STAT items:38:lrutail_reflocked 2
STAT items:38:moves_to_cold 11009
STAT items:38:moves_to_warm 646
STAT items:38:moves_within_lru 2198
STAT items:38:direct_reclaims 44292
STAT items:38:hits_to_hot 877
STAT items:38:hits_to_warm 2402
STAT items:38:hits_to_cold 1014
STAT items:38:hits_to_temp 0
STAT items:39:number 1122
STAT items:39:number_hot 189
STAT items:39:number_warm 28
STAT items:39:number_cold 905
STAT items:39:age_hot 115
STAT items:39:age_warm 303
STAT items:39:age 600
STAT items:39:evicted 250857
STAT items:39:evicted_nonzero 250857
STAT items:39:evicted_time 599
STAT items:39:outofmemory 0
STAT items:39:tailrepairs 0
STAT items:39:reclaimed 470571
STAT items:39:expired_unfetched 520676
STAT items:39:evicted_unfetched 243109
STAT items:39:evicted_active 0
STAT items:39:crawler_reclaimed 85379
STAT items:39:crawler_items_checked 47759171
STAT items:39:lrutail_reflocked 293
STAT items:39:moves_to_cold 810927
STAT items:39:moves_to_warm 25856
STAT items:39:moves_within_lru 36238
STAT items:39:direct_reclaims 250876
STAT items:39:hits_to_hot 244110
STAT items:39:hits_to_warm 1224055
STAT items:39:hits_to_cold 44157
STAT items:39:hits_to_temp 0
вторник, 20 сентября 2022 г. в 22:21:55 UTC+5, Dormando:

dormando

unread,
Sep 21, 2022, 7:28:30 PMSep 21
to memcached


On Tue, 20 Sep 2022, Артём Яшков wrote:

> "Memcache returned an error: SERVER_ERROR object too large for cache"
> but when I change -I to 2m the cache stops erroring and cacheRes is Buffer(+-355617 bytes) of size

That's the right thing to do for that error. You should be good to go.

Let us know how it goes with 1.6.17.
> To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/e35a7f5f-be16-4b01-b315-0dfa995f662fn%40googlegroups.com.
>
>
Reply all
Reply to author
Forward
0 new messages