cumulus13 / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

Memcached 1.6 - Max memory auto-increase #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
No matter what limit you set for memcached, the server will increase the max 
memory to use for items according with the traffic to the server;
To reproduce it:

1: Launch memcache with no options (limit is set to 64 MB);
2: Generate a high traffic load to memcached (transfer 5/6 GB of data from and 
to the server);
3: Check the server stats;

Expected result:
Max memory to use for items should stay set to 64 MB;
Result:
Memcached keeps increasing this limit according to the traffic to the server;

Memcached 1.6/engine-pu on Microsoft Windows.
Compiled using msysGit/mingw

Original issue reported on code.google.com by pierpaol...@gmail.com on 29 Nov 2012 at 10:24

GoogleCodeExporter commented 9 years ago
can you include the output of "stats" and "stats settings" ? ideally two 
copies, one when the instance is started, and again after you've seen it use 
excessive memory

Original comment by dorma...@rydia.net on 18 Dec 2012 at 9:08

GoogleCodeExporter commented 9 years ago
I will reproduce the problem ASAP

Original comment by pierpaol...@gmail.com on 19 Dec 2012 at 4:33

GoogleCodeExporter commented 9 years ago
Here are the detailed stats

START:
STAT evictions 0
STAT curr_items 0
STAT total_items 0
STAT bytes 0
STAT reclaimed 0
STAT engine_maxbytes 67108864
STAT pid 7904
STAT uptime 14
STAT time 1356015955
STAT version Git_1.7.11_preview20120710_9_gd93c69c
STAT libevent 2.0.20-stable
STAT pointer_size 32
STAT daemon_connections 10
STAT curr_connections 11
STAT total_connections 11
STAT connection_structures 11
STAT cmd_get 0
STAT cmd_set 0
STAT cmd_flush 0
STAT auth_cmds 0
STAT auth_errors 0
STAT get_hits 0
STAT get_misses 0
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 bytes_read 24
STAT bytes_written 0
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT rejected_conns 0
STAT threads 4
STAT conn_yields 0

AFTER:
STAT evictions 0
STAT curr_items 1
STAT total_items 25000
STAT bytes 610411
STAT reclaimed 0
STAT engine_maxbytes 67108864
STAT pid 7904
STAT uptime 1106
STAT time 1356017047
STAT version Git_1.7.11_preview20120710_9_gd93c69c
STAT libevent 2.0.20-stable
STAT pointer_size 32
STAT daemon_connections 10
STAT curr_connections 16
STAT total_connections 35
STAT connection_structures 16
STAT cmd_get 25018
STAT cmd_set 25000
STAT cmd_flush 0
STAT auth_cmds 0
STAT auth_errors 0
STAT get_hits 25018
STAT get_misses 0
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 bytes_read 15260050300
STAT bytes_written 15270963570
STAT limit_maxbytes 12952010752
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT rejected_conns 0
STAT threads 4
STAT conn_yields 0

Original comment by pierpaol...@gmail.com on 20 Dec 2012 at 3:26

GoogleCodeExporter commented 9 years ago
where did you get this code?

I don't recognize that version at all.

Original comment by dorma...@rydia.net on 23 Dec 2012 at 2:25

GoogleCodeExporter commented 9 years ago
I compiled memcached from the branch engine-pu 
(https://github.com/memcached/memcached/tree/engine-pu) using the makefile in 
the folder win32.
Compiler is msysgit.

Original comment by pierpaol...@gmail.com on 23 Dec 2012 at 4:29

GoogleCodeExporter commented 9 years ago

Original comment by dsalli...@gmail.com on 12 Feb 2013 at 6:59

GoogleCodeExporter commented 9 years ago
closing. no movement + the "1.7.11_preview" version is highly suspicious.

Original comment by dorma...@rydia.net on 7 Dec 2013 at 8:37