Comment #3 on issue 62 by dmitry.isaikin: Patch: connection queue
simplification
http://code.google.com/p/memcached/issues/detail?id=62
Yes, in case of many simultaneous connections.
Client connections is accepted by the listening thread. Pipe is used only
for resend
client information to the worker thread. Pipe has a limited capacity (4096
bytes on
almost all systems; 65536 bytes on Linux 2.6). Write to pipe blocks
listening thread
only if pipe is full (sizeof(CQ_ITEM) == 20, 204 items not readed by worker
thread;
or 3276 on Linux 2.6). Current memcached would blocks in case of 4096 not
readed by
worker thread items.
Pipes can work in non-blocking mode (if O_NONBLOCK is enabled). In this case
memcached may reject connections if write would block.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings