I use node-memcached 0.2.3 (on Node 0.10.5) to query session in Memcached. 
However, sometimes node-memcached is unable to connect to Memcached. The 
issue happens randomly.

node-memached reports: "Server not available". The error it got before is 
"Stream timoutStream timout". I can find that error message in 
node-memcached source code so I think that it may come from NodeJS built-in 
libraries.

I did check if node-memcached sent anything out to Memcached when it 
attempted to establish a connection or not:

tcpdump -s 65535 -x -n -q -tttt -i eth1 port 11211

However, when "Stream timoutStream timout" appears , there is no output. 
Otherwise, I could see the following output

2013-07-22 11:55:05.154457 IP 10.178.141.167.56812 > 172.30.0.109.11211: 
tcp 0
    0x0000:  4500 003c 1b8e 4000 4006 da49 0ab2 8da7
    0x0010:  ac1e 006d ddec 2bcb b31a 84d4 0000 0000
    0x0020:  a002 3908 4513 0000 0204 05b4 0402 080a
    0x0030:  0fd4 9f5a 0000 0000 0103 0305

I am a little bit confused here is that if NodeJS socket library attempts 
to connect to Memcached, it should sent something out and tcpdump should 
capture that. However, in my case, NodeJS reports "Stream timoutStream 
timout" but it looks like that there is no attempt to connect to Memcached 
before that.

Am I missing something here?

Dinh

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to