Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 244 by [email protected]: Extremely Large Get Requests Fail
http://code.google.com/p/memcached/issues/detail?id=244
What steps will reproduce the problem?
1. Issue a get request that is extremely large and is delivered in multiple
tcp packets
2.
3.
What is the expected output? What do you see instead?
The expected output is that of a normal (multi) get request. Instead the
server closes the connection when epoll gives a 0 result.
What version of the product are you using? On what operating system?
1.4.10 / Ubuntu Lucid 2.6 kernel
Please provide any additional information below.
You can see from this strace output
(https://gist.github.com/3950bdee3a984a1af2dd) that the server reads
increasingly large chunks of the request and then closes the connection
when epoll gives a 0 result. From what we can see from the source code it
looks like it does this 4 times in increasingly large chunks and then just
stops reading.
(https://github.com/memcached/memcached/commit/75cc83685e103bc8ba380a57468c8f04413033f9#L0R3233)