Sdk read timesout sdk v2.1.5 and cbversion -4.5 dev nodejs version 5.7.0


#1

Reads on bucket timeout with the below error.

This is a nodejs express application. The application works fine once restarted … but after a couple of reads , it starts to hang … a restart of the nodejs solves the issue temporarily.

sdk v2.1.5 and cbversion -4.5 dev nodejs version 5.7.0 on ubuntu 14.04

6 8727226ms [I0] {7119} [INFO] (confmon - L:166) Not applying configuration received via CCCP. No changes detected. A.rev=4186, B.rev=4186
» 11 Apr 2016 19:24:47.976 8727226ms [I0] {7119} [TRACE] (confmon - L:271) Current provider is CCCP
» 11 Apr 2016 19:24:47.976 8727226ms [I0] {7119} [INFO] (cccp - L:110) Re-Issuing CCCP Command on server struct 0x234de80 (139.162.47.65:11210)
» 11 Apr 2016 19:24:49.629 8729226ms [I0] {7119} [ERROR] (cccp - L:133) NOHOST:NOPORT Got I/O Error=0x17
» 11 Apr 2016 19:24:49.948 8729226ms [I0] {7119} [INFO] (cccp - L:110) Re-Issuing CCCP Command on server struct 0x25860a0 (139.162.56.229:11210)
» 11 Apr 2016 19:24:49.948 8729226ms [I0] {7119} [WARN] (server - L:380) <139.162.56.229:11210> (SRV=0x25860a0,IX=1) Failing command (pkt=0x27b0d80, opaque=380, opcode=0xb5) with error 0x17
» 11 Apr 2016 19:24:49.948 8729226ms [I0] {7119} [ERROR] (server - L:463) <139.162.56.229:11210> (SRV=0x25860a0,IX=1) Server timed out. Some commands have failed
» 11 Apr 2016 19:24:49.948 8729226ms [I0] {7119} [DEBUG] (server - L:467) <139.162.56.229:11210> (SRV=0x25860a0,IX=1) Scheduling next timeout for 49996 ms
» 11 Apr 2016 19:24:51.630 8731226ms [I0] {7119} [ERROR] (cccp - L:133) NOHOST:NOPORT Got I/O Error=0x17

Can you please help resolve this issue?

Thanks in advance !!


#2

Hey @sarfraz,

This usually occurs when your cluster or application servers are under high load which causes the operations to not complete in a timely manner. Certain strange firewall configurations could also cause this. Note that the I/O error you see there (0x17) is just TIMEDOUT.

Cheers, Brett