[
https://jira.jboss.org/browse/ISPN-611?page=com.atlassian.jira.plugin.sys...
]
Tomaz Cerar updated ISPN-611:
-----------------------------
Attachment: infinispan_memcached.log
Hi guys,
We are preparing sample ruby script to demonstrate error.
In attachment you can find full stacktrace that I can found in
"infinispan_test.log" file in bin folder.
I run infinispan from all distribution with default script
"./startServer.sh -r memcached"
I can enable additional logging if it would help you.
the broken pipe exception i think comes from client forcefully closing connection to
server when invalid response is recived.
from client log:
D, [2010-08-19T13:37:58.455827 #21027] DEBUG -- : get objects/all_sections from
<MemCache::Server: localhost:11211 [1] (NOT CONNECTED)>
W, [2010-08-19T13:37:58.462348 #21027] WARN -- : Generic failure:
MemCache::MemCacheError: unexpected response "VALUE objects/all_sections 0 166188
\r\n"
W, [2010-08-19T13:37:58.466978 #21027] WARN -- : Generic failure:
MemCache::MemCacheError: unexpected response "VALUE objects/all_sections 0 166188
\r\n"
D, [2010-08-19T13:37:59.380948 #21020] DEBUG -- : set objects/all_sections to
<MemCache::Server: localhost:11211 [1] (NOT CONNECTED)>: 166188
Memcached issues with ruby client
---------------------------------
Key: ISPN-611
URL:
https://jira.jboss.org/browse/ISPN-611
Project: Infinispan
Issue Type: Bug
Components: Cache Server
Affects Versions: 4.1.0.CR3
Environment: Centos 5.5, Java 6u21, Ruby on Rails 2.3.2, Ruby Enterprise Edition
20090520
Reporter: Tomaz Cerar
Assignee: Galder Zamarreno
Fix For: 4.1.0.Final
Attachments: infinispan_memcached.log
We have ROR application that uses MemCached for distributed cache.
As we have many issues with MemCached and its "clustering" we are considering
to move to Infinispan for many goodies it provides.
The problem is that some commands that are issued against memcahe infinispan server die
with error.
in ruby application we get errror:
ERROR -- : MemCacheError (unexpected response "VALUE views/semantic/1 0 674
\r\n"): unexpected response "VALUE views/semantic/1 0 674 \r\n"
and in infinispan log I can find:
2010-08-19 12:21:37,330 ERROR [org.infinispan.server.core.AbstractProtocolDecoder$]
(MemcachedServerWorker-1-7) Exception reported
java.nio.channels.ClosedChannelException
I will try to provide sample code to demonstrate error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira