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

Data not distributed equally between two nodes #199

Open
mrajmohan1999 opened this issue Jun 19, 2023 · 4 comments
Open

Data not distributed equally between two nodes #199

mrajmohan1999 opened this issue Jun 19, 2023 · 4 comments

Comments

@mrajmohan1999
Copy link

I left a comment earlier that got removed so reposting this. I am facing an issue where I have two servers configured, but only one of them is being hit and storing data. One has 0 hits and the other has ~95% hit rate. This issue recently started about a couple months ago and we haven't made any changes on how the nodes are configured on our end. Both servers are alive and reachable so it isn't the issue of one server being down. The only error we have found is in the Read() method:

stack trace:
at Enyim.Caching.Memcached.PooledSocket.Read(Byte[] buffer, Int32 offset, Int32 count)
at Enyim.Caching.Memcached.Protocol.Binary.BinaryResponse.Read(PooledSocket socket)
at Enyim.Caching.Memcached.Protocol.Binary.BinarySingleItemOperation.ReadResponse(PooledSocket socket)

We tried using the text protocol as well as the binary and faced the same issue.

@adison88
Copy link

@cnblogs-dudu could you please help check on this issue?

@cnblogs-dudu
Copy link

Please telnet memcached servers and check curr_connections from stats.

@mrajmohan1999
Copy link
Author

mrajmohan1999 commented Jun 29, 2023

One node has a very small number of curr_connections (2) while the other has a lot more (over 20). We would expect both of them to have a similar number ideally

@mrajmoh1
Copy link

@cnblogs-dudu do you have any more suggestions on how we can troubleshoot?

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

4 participants