-
Notifications
You must be signed in to change notification settings - Fork 216
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
Running memtier_benchmark falls into endless loop #132
Comments
hi @lubaihua33, I have just seen that you also reply to the PR "fix issue #128 zeros in output #130", and want to make sure I understand... do you encountered the issue after commit id d6b9811 (version bump 1.3.0 (#124)) or de417c5 (fix issue #128 zeros in output (#130))? |
It's "de417c5 (fix issue #128 zeros in output (#130))". After I revert "de417c5 (fix issue #128 zeros in output (#130))", I don't hit endless loop any more. |
@lubaihua33 thank you... the issue relates to wrong disabling of the write event (before the test finished) ... I'll create a PR to fix it. |
@yaacovhazan-Redislabs Thank you. |
the fix disables the bufferevents (write/read) only when the connection completely finished its activity (nothing to read and nothing to write)
Fixed by #136 |
When the code with the commit id d6b9811 is merged, we test memtier benchmark falling into endless loop.
The test command is:
Server: memcached -u root -p 21789
Client: memtier_benchmark -s 10.10.10.5 -p 21789 -P memcache_text -x 3 -n 1000000 -t 1 -c 1 -d 4000 --ratio 1:1 --key-pattern S:S
Strace:
The text was updated successfully, but these errors were encountered: