Deploying curl function take very long time

Hi there.
I’m using CS verion 6 using docker. I have one single node, and each server is running on single machine.
I wrote a very simple curl function and then deploy it.
But it take very long time, and still is in deploying mode…

In log file i found this log entry.

Service 'eventing' exited with status 2. Restarting. Messages:
syscall.read(0x7, 0xc4200b2000, 0x10000, 0x10000, 0xc420027e28, 0x4045fb, 0x429224)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/syscall/zsyscall_linux_amd64.go:783     
 +0x55     syscall.Read(0x7, 0xc4200b2000, 0x10000, 0x10000, 0xc420070ea0, 0x4, 0xc420027f90)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/syscall/syscall_unix.go:162 +0x49
os.(*File).read(0xc42007e040, 0xc4200b2000, 0x10000, 0x10000, 0xc420027ee8, 0x0, 0x0)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/os/file_unix.go:165 +0x4f
os.(*File).Read(0xc42007e040, 0xc4200b2000, 0x10000, 0x10000, 0x0, 0x0, 0x0)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/os/file.go:101 +0x76
bufio.(*Reader).Read(0xc42005a7e0, 0xc4200b2000, 0x10000, 0x10000, 0x286, 0x0, 0x0)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/bufio/bufio.go:199 +0x198
   main.(*childReader).loop.func1(0xc420062540, 0xc4200b2000, 0x100

Hi @masoud, Could you please share below information to analyse this?

  1. Exact CB Server version you are using.
  2. cb-collect logs - You can find instructions on how to collect logs at https://docs.couchbase.com/server/6.0/cli/cbcollect-info-tool.html.
  3. Node/Machine configuration and number of eventing nodes in the cluster

Thanks.

Hi Masoud,

In addition to Jeelan’s suggestion, I want to note that we have substantially revised the APIs and preparing to take them GA in the upcoming release:

If you have ability to try a pre-release build, we can provide one with the enhanced APIs and usability features. Let us know which OS you’re interested in.

Bye,
Siri