Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

ETIME 62 error under OpenSolaris while receiving big data #144

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download latest 1.4.5 sources and libevent 1.4.14 sources
2. compile them under OpenSolaris 5.11 (SunOS tokyo 5.11 snv_111b i86pc i386 
i86pc) 
3. start daemon and try to set big data (>2k) via ascii or binary proto.

What is the expected output? What do you see instead?
Expected output - everything is ok like under RedHat for example.
Instead of normal behavior I can see error - 

<40 Read binary protocol data:
<40    0x80 0x01 0x00 0x04
<40    0x08 0x00 0x00 0x00
<40    0x00 0x0f 0x77 0xa5
<40    0x00 0x00 0x00 0x00
<40    0x00 0x00 0x00 0x00
<40    0x00 0x00 0x00 0x00
40: going from conn_parse_cmd to conn_nread
<40 SET key2 Value len is 1013657
Failed to read, and not due to blocking:
errno: 62 Timer expired
rcurr=81a49b0 ritem=81a95c8 rbuf=81a4408 rlbytes=1012245 rsize=2048
40: going from conn_nread to conn_closing

What version of the product are you using? On what operating system?
memcached 1.4.5
libevent 1.4.14
opensolaris 5.11

Please provide any additional information below.
reading from socket returns errno 62

Original issue reported on code.google.com by ezhul...@gmail.com on 11 Jun 2010 at 6:40

GoogleCodeExporter commented 9 years ago
Trond, can you verify and fix or close the Solaris issues?

Original comment by dsalli...@gmail.com on 13 Jul 2011 at 1:57

GoogleCodeExporter commented 9 years ago
I just built 1.4.6-rc1 on oi_148 in 32 and 64 bit mode with libevent 2.0.12 and 
make test passed all tests (that will store and get bigger objects than 2k)

The bug must have been fixed somewhere among the lines (please reopen the bug 
if you're able to reproduce the bug with the latest source)

Original comment by trond.no...@gmail.com on 13 Jul 2011 at 2:25