Hi,
Anyone has any idea about this log message.
Service ‘indexer’ exited with status 1. Restarting. Messages: github.com/couchbase/gometa/protocol.(*LeaderSyncProxy ).execute(0xc084ef12c0, 0xc0854dc1c0, 0xc08541bb40)
C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/gometa/protocol/discovery.go:481 +0xa3
created by github.com/couchbase/gometa/protocol.(*LeaderSyncProxy ).Start
C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/gometa/protocol/discovery.go:346 +0xe5
[goport] 2017/09/03 12:59:42 d:/Program Files/Couchbase/Server/bin/indexer.exe terminated: exit status 2
Thanks
@manochpriyankara , please check the indexer.log to see the exact error or you can share it here. Also indicate which couchbase version you are working with.
@deepkaran.salooja Please find the attached indexer.log file. I’m using Version: 4.0.0-4051 Community Edition.
indexer.zip (9.3 KB)
@manochpriyankara , it looks like you are running into golang issue:
opened 02:40AM - 07 May 15 UTC
closed 02:51AM - 21 Jul 15 UTC
FrozenDueToAge
See http://build.golang.org/log/d9c532d3a1b8266fae407518d131bc872f41a617.
```
f… atal error: runtime: cannot map pages in arena address space
runtime stack:
runtime.throw(0x613568, 0x30)
C:/workdir/go/src/runtime/panic.go:543 +0x7f
runtime.sysMap(0x42b40000, 0x100000, 0x80fe01, 0x6e50b8)
C:/workdir/go/src/runtime/mem_windows.go:112 +0x7f
runtime.mHeap_SysAlloc(0x6cb720, 0x100000, 0x0)
C:/workdir/go/src/runtime/malloc.go:420 +0x124
runtime.mHeap_Grow(0x6cb720, 0x80, 0x0)
C:/workdir/go/src/runtime/mheap.go:597 +0x55
runtime.mHeap_AllocSpanLocked(0x6cb720, 0x80, 0x326e6ce4)
C:/workdir/go/src/runtime/mheap.go:501 +0x567
runtime.mHeap_Alloc_m(0x6cb720, 0x80, 0x0, 0x121b4601, 0x326e6ce4)
C:/workdir/go/src/runtime/mheap.go:406 +0x152
runtime.mHeap_Alloc.func1()
C:/workdir/go/src/runtime/mheap.go:455 +0x4f
runtime.systemstack(0x80ff14)
C:/workdir/go/src/runtime/asm_386.s:283 +0x81
runtime.mHeap_Alloc(0x6cb720, 0x80, 0x0, 0x326e0101, 0x121c0500)
C:/workdir/go/src/runtime/mheap.go:456 +0x5d
runtime.largeAlloc(0x100000, 0x1, 0x42a40000)
C:/workdir/go/src/runtime/malloc.go:720 +0x8a
runtime.mallocgc.func3()
C:/workdir/go/src/runtime/malloc.go:631 +0x39
runtime.systemstack(0x121b2000)
C:/workdir/go/src/runtime/asm_386.s:267 +0x57
runtime.mstart()
C:/workdir/go/src/runtime/proc1.go:683
```
opened 08:13AM - 07 Aug 14 UTC
OS-Windows
by **kaixinlaoshu2008**:
<pre>What does 'go version' print?
go 1.3 windows/386
… What steps reproduce the problem?
file, handler, err := r.FormFile("file")
...
defer file.Close()
Use FormFile to receive documents.
When i upload a flie(100M) 4 or 5 times will get errors.
What happened?
fatal error: runtime: cannot map pages in arena address space
What should have happened instead?
go free memory after the FormFile receive a document.</pre>
You can upgrade to CB 4.5.x which uses go1.6.3 for index service(which has the fix for this issue).
@deepkaran.salooja Any fix for this issue?
@manochpriyankara , upgrade to Couchbase Server 4.5.x or higher.