排查:

1. ping 远程Linux 服务器 正常

2.11211 端口正常

3. ps aux | grep memcached 

  显示正常

4. 使用另外一个客户端 memcachedClient 能够正常GET 缓存值

5. 重新安装memcached ,无效

6. 思路一转,是不是设置缓存时间的问题,修改代码,不设置缓存时间,执行成功!

总结:

Enyim Memached 客户端,发往Memcached server的过期时间采用绝对过期时间,而远处Linux服务器时间不正确,造成,放入memcached server,缓存项立即过期,误判server 不可用。 修改linux时间后,一切正常。

总结2:

 发生诡异的问题,要想到检查系统时间!

相关文章:

  • 2022-03-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-05-24
  • 2022-12-23
  • 2021-08-18
相关资源
相似解决方案