Comments (4)
the log is:
log.error("++++ failed to get SockIO obj for: " + host);
can you add error msg in the logger.
so we can make sure why connection fail.
from memcached-java-client.
In 2.5.x, failback and failover and mocked in our real implementation. Since due to our investigation, we found it slow down the performance.
DirectBuffer can increase the performance, while if the memcached server crashed, it will always allocate direct buffer and wait for the gc of VM. It will finally cause OutOfMemoryError.
from memcached-java-client.
In version 2.6.0, we enabled the log of detailed error information, but we still didn't add failover support.
Since if we do like this, it will never failback. While in current implementation, failback is automatic.
If we get rid of the direct buffer, we can solve the OutOfMemoryError. We will do a deep investigation for this issue.
Thanks anyway for the information.
from memcached-java-client.
Hi bill2004158,
We add "failback" support in release 2.6.1 which you can download and have a try.
We also re-implement the connection pool based on Apache commons pool in this release and OutOfMemory error disappeared in our test.
Really thank you for your suggestion.
Meng Li
from memcached-java-client.
Related Issues (20)
- Issue number 35 not fixed properly HOT 1
- Binary and Ascii clients together in one application
- 2.6.3 version:java.lang.OutOfMemoryError: Direct buffer memory
- Update code from maven (versions 3.*)
- Memcached信息过期的问题 HOT 1
- the return value of statsCacheDump() in BinaryClient
- why we dont have getExpiryTime(key) method?
- The flush_all method is working on the wrong way
- Add a license to the repo HOT 1
- nio下超时问题
- when ClassNotFoundException is thrown , a memory leak will happen after many times of get() operation.
- how to confirm a key exit and not to deserialization it
- Memcached client throwing NullPointerException
- java.lang.VerifyError: Bad type on operand stack
- Does this client support auth with password?
- java.io.IOException: Connection timed out HOT 1
- exception thrown while writing bytes to server on set HOT 1
- Memcache Client returns null even when cache is hit.
- Memcached self maintenance
- Cache client not honoring Expiry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memcached-java-client.