bossadvisors / memcached-session-manager

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

No validity info stored for non-sticky sessions and memcachedNodes config without node-part #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For a memcachedNodes configuration without node part (e.g. 
memcachedNodes="localhost:11211", added with feature #105) and non-sticky 
sessions (sticky="false") the following warning is logged for each request:

  WARN [de.javakaffee.web.msm.LockingStrategyAuto] No validity info available for session

This happens for all lockingModes.

Original issue reported on code.google.com by martin.grotzke on 27 Sep 2011 at 10:47

GoogleCodeExporter commented 9 years ago
Fixed in branches master and membase-sasl.

Original comment by martin.grotzke on 27 Sep 2011 at 10:59

GoogleCodeExporter commented 9 years ago
Hello,we used non-sticky sessions to save httpSession with memcached session.
But when user access the site,  the tomcat is logged:

Nov 21, 2013 9:01:16 AM de.javakaffee.web.msm.LockingStrategy 
onAfterLoadFromMemcached
WARNING: No validity info available for session 
4C96C472795F4487299B0A85DB061EF6-n1

It happens sometimes.
And the result is in another tomcat, it cannot get this session.
What changes should be change?

Original comment by ache...@gmail.com on 21 Nov 2013 at 1:07

GoogleCodeExporter commented 9 years ago
Our memcached info is :
stats
STAT pid 2236
STAT uptime 44965
STAT time 1384996137
STAT version 1.4.5
STAT pointer_size 64
STAT rusage_user 1.916708
STAT rusage_system 7.047928
STAT curr_connections 8
STAT total_connections 806
STAT connection_structures 10
STAT cmd_get 58984
STAT cmd_set 46265
STAT cmd_flush 0
STAT get_hits 37170
STAT get_misses 21814
STAT delete_misses 28
STAT delete_hits 817
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 auth_cmds 0
STAT auth_errors 0
STAT bytes_read 1478750266
STAT bytes_written 3456132714
STAT limit_maxbytes 6291456000
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT bytes 54784273
STAT curr_items 1094
STAT total_items 35983
STAT evictions 0
STAT reclaimed 8779
END

Original comment by ache...@gmail.com on 21 Nov 2013 at 1:10