Anonymous
Not applicable

vECS: Execution exception OutOfMemoryError occured

Jump to solution

Hello Team,

I've installed ECS Community edition in our LAB. Step 1 and 2 were completed successfully:

     - Created vStorage_Pool (disk drive size = 420 Gb)

     - Created VDC

     - Created Replication group

     - Created Namespace (ns)

     - Created Object user

     - Created Bucket

Information about the host:

[root@lglos181 ~]# docker info

Containers: 1

Images: 7

Storage Driver: devicemapper

Data file: /var/lib/docker/devicemapper/devicemapper/data

Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata

Data Space Used: 1.864 GB

Data Space Total: 107.4 GB

Metadata Space Used: 1.864 MB

Metadata Space Total: 2.147 GB

Kernel Version: 3.10.0-229.7.2.el7.x86_64

Operating System: CentOS Linux 7 (Core)

CPUs: 8

Total Memory: 31.25 GiB

Name: lglos181.lss.emc.com

When I started to connect by S3Browser - I've follow errors and can't to list a bucket - after a couple of minutes I don't have access to my VM:

From ECS Portal:

Execution exception OutOfMemoryError occured

From OS:

[root@lglos181 ~]# docker ps

-bash: fork: Cannot allocate memory

[root@lglos181 ~]# docker ps

runtime/cgo: pthread_create failed: Resource temporarily unavailable

SIGABRT: abort

PC=0x7f608b6f85d7

goroutine 0 [idle]:

goroutine 16 [runnable]:

syscall.Syscall(0x2, 0xc20800e180, 0x80000, 0x0, 0x3, 0x0, 0x0)

  /usr/lib/golang/src/pkg/syscall/asm_linux_amd64.s:21 +0x5

syscall.open(0xbb4f90, 0x1c, 0x80000, 0x0, 0x0, 0x0, 0x0)

  /usr/lib/golang/src/pkg/syscall/zsyscall_linux_amd64.go:16 +0x9a

syscall.Open(0xbb4f90, 0x1c, 0x80000, 0xc200000000, 0xa83760, 0x0, 0x0)

  /usr/lib/golang/src/pkg/syscall/syscall_linux.go:23 +0x5e

os.OpenFile(0xbb4f90, 0x1c, 0x0, 0x0, 0xd0, 0x0, 0x0)

  /usr/lib/golang/src/pkg/os/file_unix.go:77 +0x73

os.Open(0xbb4f90, 0x1c, 0xb52b50, 0x0, 0x0)

  /usr/lib/golang/src/pkg/os/file.go:239 +0x54

net.open(0xbb4f90, 0x1c, 0xc208000c60, 0x0, 0x0)

  /usr/lib/golang/src/pkg/net/parse.go:66 +0x46

net.maxListenerBacklog(0x0)

  /usr/lib/golang/src/pkg/net/sock_linux.go:10 +0x43

net.init()

  /usr/lib/golang/src/pkg/net/net.go:261 +0x7b3

github.com/docker/libtrust.init()

  /usr/share/gocode/src/github.com/docker/libtrust/util.go:225 +0xa3

github.com/docker/docker/api.init()

  /builddir/build/BUILD/docker-1.4.1/_build/src/github.com/docker/docker/api/common.go:74 +0x46

github.com/docker/docker/opts.init()

  /builddir/build/BUILD/docker-1.4.1/_build/src/github.com/docker/docker/opts/opts.go:240 +0x58

main.init()

  /builddir/build/BUILD/docker-1.4.1/docker/log.go:12 +0x4e

goroutine 17 [runnable]:

runtime.MHeap_Scavenger()

  /usr/lib/golang/src/pkg/runtime/mheap.c:507

runtime.goexit()

  /usr/lib/golang/src/pkg/runtime/proc.c:1445

goroutine 18 [runnable]:

bgsweep()

  /usr/lib/golang/src/pkg/runtime/mgc0.c:1976

runtime.goexit()

  /usr/lib/golang/src/pkg/runtime/proc.c:1445

goroutine 19 [runnable]:

runfinq()

  /usr/lib/golang/src/pkg/runtime/mgc0.c:2606

runtime.goexit()

  /usr/lib/golang/src/pkg/runtime/proc.c:1445

rax     0x0

rbx     0xb

rcx     0xffffffffffffffff

rdx     0x6

rdi     0x6b4a

rsi     0x42ae

rbp     0x7f608a59dbf0

rsp     0x7f608a59d9e8

r8      0x7f608a59e700

r9      0x44

r10     0x8

r11     0x202

r12     0x7f60840008c0

r13     0x7f608a59e9c0

r14     0x7f608a59e700

r15     0x0

rip     0x7f608b6f85d7

rflags  0x202

cs      0x33

fs      0x0

gs      0x0

[root@lglos181 ~]# reboot

-bash: fork: Cannot allocate memory

But OS have enough memory:

[root@lglos181 ~]# free -g

              total        used        free      shared  buff/cache   available

Mem:             31          21           8           0           1           9

Swap:            69           0          69

1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: vECS: Execution exception OutOfMemoryError occured

Jump to solution

Hello,

For resolve this problem please run this command:

sysctl -w kernel.pid_max=655360

View solution in original post

1 Reply
Anonymous
Not applicable

Re: vECS: Execution exception OutOfMemoryError occured

Jump to solution

Hello,

For resolve this problem please run this command:

sysctl -w kernel.pid_max=655360

View solution in original post