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

slot迁移出错 #1096

Closed
wyf0705 opened this issue Dec 27, 2016 · 6 comments
Closed

slot迁移出错 #1096

wyf0705 opened this issue Dec 27, 2016 · 6 comments

Comments

@wyf0705
Copy link

wyf0705 commented Dec 27, 2016

做迁移的时候,有一个slot报错,就一直停在那,看dashboard的log显示如下,都已经迁移了一部分了,目标group都一样,不知道为什么到这个slot失败了
image

proxy的log如下
image

fe界面显示
image
image

@spinlock
Copy link
Member

这就是对端机器访问失败造成的吧,里面有 IP:PORT,你确认一下?

@spinlock
Copy link
Member

golang/go#16012 看到这个,不知道是不是这个原因。就是 proxy 所在的 OS 限制了不能创建更多的 socket。你确认一下。

@spinlock
Copy link
Member

是不是大量短链接造成 port 用光了,或者 fd 用光了?

@wyf0705
Copy link
Author

wyf0705 commented Dec 27, 2016

不是,源group和目标group都在同一机器同一网卡上,就端口不同,我是把96-127这32个slot从group3迁移到group4,已经迁移了8个slot了

@spinlock
Copy link
Member

@wyf0705 你检查一下 TIME_WAIT 或者 ulimit 限制 以及实际打开的 fd 个数。这个 ERR 是 go runtime 上抛出来的,不是 codis 实现逻辑的问题,所以没有办法解决。

@wyf0705
Copy link
Author

wyf0705 commented Dec 27, 2016

嗯,应该是这个问题造成的,我再看看,谢谢啦!

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

2 participants