Getting timeout with error code ETMPFAIL

Hello,

I got the below error

com.couchbase.client.core.error.AmbiguousTimeoutException: UpsertRequest, Reason: TIMEOUT 
{
  "cancelled": true,
  "completed": true,
  "coreId": "0x6f7e293000000001",
  "idempotent": false,
  "lastChannelId": "6F7E293000000001/00000000425C3C0F",
  "lastDispatchedFrom": "10.10.26.8:24938",
  "lastDispatchedTo": "10.121.30.77:11210",
  "reason": "TIMEOUT",
  "requestId": 32955,
  "requestType": "UpsertRequest",
  "retried": 11,
  "retryReasons": [
    "KV_TEMPORARY_FAILURE"
  ],
  "service": {
    "bucket": "Bucket-1",
    "collection": "_default",
    "documentId": "dc-123456789",
    "errorCode": {
      "description": "Temporary failure. Try again",
      "name": "ETMPFAIL"
    },
    "opaque": "0x80be",
    "scope": "_default",
    "type": "kv",
    "vbucket": 469
  },
  "timeoutMs": 1000,
  "timings": {
    "dispatchMicros": 717,
    "encodingMicros": 3,
    "totalDispatchMicros": 12161,
    "totalMicros": 1010062
  }
}

In above code I can see errorCode is ETMPFAIL, What could be the reason of it.

I am using Couchbase server 7.0 and Couchbase java SDK 3.3.4

@hgbalar this is generally indicative of an overloaded server, so I would suggest increasing your server resources - more nodes, more cpu, better disks or network - depending on where the bottleneck is.

1 Like

What Graham said.
Also - you may consider how you are executing requests on the cluster. If you are executing thousands of upserts concurrently (perhaps via reactor), you may wish to use less concurrency,

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.