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

XMemcached pooled client Recv Q size is very high #77

Open
auror opened this issue Apr 5, 2018 · 3 comments
Open

XMemcached pooled client Recv Q size is very high #77

auror opened this issue Apr 5, 2018 · 3 comments

Comments

@auror
Copy link

auror commented Apr 5, 2018

Hi,

We've been using XMemcachedClient connected to twemproxy which sits behind set of memcached servers. We've kept a OpTimeout of 30 ms.

Over the time, the Recv Q(from netstat) size of the tcp socket grows really high and prompting timeouts from XMemcached. Twemproxy as a result is also getting killed by going OOM gradually

Is XMemcached client slow in receiving data? Should TCP_RECV_BUFF_SIZE be increased?

Few more details:

  1. XMemcached version: 2.4.0
  2. Protocol: Text Protocol
  3. Session Idle Timeout: 60 secs
  4. timeoutExceptionThreshold: 250000
  5. healSessionInterval: 1 sec
  6. Pool Size: 20
  7. Throughput: ~ 2.2K QPS
@killme2008
Copy link
Owner

2.2 K QPS is not heavy load, is your data too large?

But you may try to disable the connection pool,it's not recommended.

@auror
Copy link
Author

auror commented Aug 4, 2018 via email

@sabhishekgowda
Copy link

@killme2008 I'm facing the same issue, our data is too large. Can you please help?

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