Comments (6)
@benubois could you paste the log file by running fatcache with log level 9 (-v 9)
from fatcache.
Certainly, here it is:
[Sun Sep 22 22:13:41 2013] fc_core.c:145 event 0001 on 6
[Sun Sep 22 22:13:41 2013] fc_util.c:573 malloc(120) at 0xa8f970 @ fc_connection.c:180
[Sun Sep 22 22:13:41 2013] fc_connection.c:239 get conn 0xa8f970 c 7
[Sun Sep 22 22:13:41 2013] fc_server.c:87 accepted c 7 on s 6
[Sun Sep 22 22:13:41 2013] fc_server.c:45 accept on s 6 not ready - eagain
[Sun Sep 22 22:13:41 2013] fc_core.c:145 event 0005 on 7
[Sun Sep 22 22:13:41 2013] fc_util.c:573 malloc(224) at 0xa8f9f0 @ fc_message.c:57
[Sun Sep 22 22:13:41 2013] fc_message.c:124 get msg 0xa8f9f0 id 1 request 1 owner sd 7
[Sun Sep 22 22:13:41 2013] fc_util.c:573 malloc(8192) at 0xa8fae0 @ fc_mbuf.c:46
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:99 get mbuf 0xa91ab0
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:199 insert mbuf 0xa91ab0 len 0
[Sun Sep 22 22:13:41 2013] fc_connection.c:63 recv on sd 7 24 of 8144
[Sun Sep 22 22:13:41 2013] fc_memcache.c:785 parsed bad req 1 res 1 type 0 state 0
00000000 80 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 |........|
[Sun Sep 22 22:13:41 2013] fc_core.c:81 recv on c 7 failed: Invalid argument
[Sun Sep 22 22:13:41 2013] fc_core.c:113 close c 7 on event 0005 eof 0 done 0 rb 24 sb 0: Invalid argument
[Sun Sep 22 22:13:41 2013] fc_client.c:64 close c 7 discarding pending req 1 len 24 type 0
[Sun Sep 22 22:13:41 2013] fc_message.c:141 put msg 0xa8f9f0 id 1
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:208 remove mbuf 0xa91ab0 len 24
[Sun Sep 22 22:13:41 2013] fc_mbuf.c:121 put mbuf 0xa91ab0 len 24
[Sun Sep 22 22:13:41 2013] fc_connection.c:162 put conn 0xa8f970
from fatcache.
looks like the Dalli is trying to use binary protocol (https://github.com/mperham/dalli). fatcache only supports memcache ascii protocol.
from fatcache.
closing this for now. feel free to reopen if you have questions
from fatcache.
Makes sense, but I keep coming back to this project as memcached on SSD is such a great idea.
I think it would be a great feature and would make fatcache immediately useful to anyone using Rails.
Any thoughts on what it would take to support the binary protocol?
from fatcache.
There is an implementation of binary memcache in the twemproxy project (twitter/twemproxy@f2ffca7). See twemproxy, branch - binary_memcache.
I believe it would be trivial to port this over to fatcache
from fatcache.
Related Issues (17)
- Please fix the typo "avarage" in performance.md
- potential performance issue with packed structs HOT 4
- Unnecessary checks for SHA-1 collision HOT 1
- Unable to read and write data HOT 8
- Using fatcache HOT 20
- memory cache layer HOT 1
- Writing to disk on GETs HOT 1
- New release HOT 2
- About expire time in fatcache HOT 3
- Out of socket memory error HOT 1
- Run out of memory
- An autoconf problem HOT 1
- pwrite pread need check EINTR?
- about stats command
- Update release tarball / point to Github
- SIGSEGV crashes, known issue? HOT 5
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 fatcache.