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

Patch for issue 192 #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Patch for issue 192 #7

wants to merge 1 commit into from

Conversation

RNiveau
Copy link

@RNiveau RNiveau commented Jan 21, 2015

Hi guys,

I push this patch in relation with the issue 192 from google code (https://code.google.com/p/spymemcached/issues/detail?id=192)

The bug date is from 2011 and it's still alive.

This issue caused the dead of the thread which reads in the input queue. An exception is thrown and not caught.
When the thread is dead, the input queue increases and when it's full, we get this exception:

Memcached timeout: Timeout waiting for value: waited 1,000 ms. Node status: Connection Status { app11-psw-ser/10.163.195.155:11211 active: true, authed: true, last read: 14,183,852 ms ago app12-psw-ser/10.163.195.156:11211 active: true, authed: true, last read: 14,184,114 ms ago app13-psw-ser/10.163.195.157:11211 active: true, authed: true, last read: 14,184,012 ms ago app14-psw}

The application crashes and we have to restart it.

Currently, we have the bug in production once by day or less. After we deployed the patch, we get this exception:

2015-01-19 22:07:16.766 WARN net.spy.memcached.MemcachedConnection:  Problem handling memcached IO
java.lang.NullPointerException

Not really speaking but the thread doesn't die and the application doesn't crash.

@g76r
Copy link

g76r commented Apr 1, 2015

Hi, is there somebody interested in reviewing / merging this patch ?
@RNiveau is a former coworker of mine and this patch is performing nice on our live production systems.

pbruneton pushed a commit to criteo-forks/spymemcached that referenced this pull request Aug 21, 2018
Related to BES-16032, this patch helps to gather more information about
the issue encountered that kill the Memcached IO thread.

Please note that this patch will not kill the Memcached IO thread which
will continue to run.

Previous known bug reports related to this issue are:
couchbase#7
couchbase#17

Change-Id: If1d9887963e96ac6ee4a8ec0dd0c19626e521346
JIRA:WBSC-3570
tootedom added a commit to tootedom/herdcache that referenced this pull request Sep 3, 2019
favila referenced this pull request in useshortcut/spymemcached Jan 14, 2022
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

Successfully merging this pull request may close these issues.

2 participants