Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

连接官方Docker镜像异常 #135

Open
yingcongshaw opened this issue Sep 15, 2019 · 3 comments
Open

连接官方Docker镜像异常 #135

yingcongshaw opened this issue Sep 15, 2019 · 3 comments

Comments

@yingcongshaw
Copy link

连接官方Docker镜像(https://hub.docker.com/_/memcached 1.5.17)运行的单节点时,2.3.0常常会异常。2.4.0 b4有时写入会不成功。不成功时再试一次就可以成功:
if (!_memcachedClient.Store(StoreMode.Set, key, t, expire))
return _memcachedClient.Store(StoreMode.Set, key, t, expire);
跟踪到MemcachedClient.PerformStore报的错是远程服务器强制中断了连接。

@yingcongshaw
Copy link
Author

不知道博客园的MemCached是不是也运行在Docker中。有没有博客园的相应的镜像包放出来。 官方的镜像好像不支持各种认证。试了这个包 https://hub.docker.com/r/bitnami/memcached。现在的问题是,没找到好用的支持认证的管理工具。MemAdmin也不行。求推荐。

@cnblogs-dudu
Copy link

我们用的是就是官方 docker 镜像,我们是部署在内网的,没有使用认证

docker run -d --net=host --restart unless-stopped memcached -m 15360 -c 2048

@e8-ZhixinYang
Copy link

这个问题解决了吗,我也遇到了相同的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants