Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dgraphassigner crashed with numCpu>=2 #164

Closed
jchiu0 opened this issue Aug 16, 2016 · 1 comment
Closed

dgraphassigner crashed with numCpu>=2 #164

jchiu0 opened this issue Aug 16, 2016 · 1 comment
Labels
kind/bug Something is broken.

Comments

@jchiu0
Copy link
Contributor

jchiu0 commented Aug 16, 2016

My config:
8G ram, Macbook Pro
go version go1.6.3 darwin/amd64

We clear away the "u" directory and ran the following command:
dgraphassigner --numInstances 1 --instanceIdx 0 --rdfgzips rdf-films.gz --uids u --numCpu=2

After getting to:
INFO[0025] Counters ignored=0 len_cnq=9744 package=loader parsed=621296 pending=12740 processed=608556 read=631180
INFO[0026] Counters ignored=0 len_cnq=10000 package=loader parsed=643131 pending=12997 processed=630134 read=653132

We got errors beginning with:

runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x7fff91ed4f06 m=2

goroutine 0 [idle]:

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc82013e90c)
/usr/local/Cellar/go/1.6.3/libexec/src/runtime/sema.go:47 +0x26
sync.(*WaitGroup).Wait(0xc82013e900)
/usr/local/Cellar/go/1.6.3/libexec/src/sync/waitgroup.go:127 +0xb4
github.com/dgraph-io/dgraph/loader.AssignUids(0x5680550, 0xc820162000, 0x0, 0x1, 0x0, 0x0, 0x0)
/Users/jchiu/go/src/github.com/dgraph-io/dgraph/loader/loader.go:321 +0x2ac
main.main()
/Users/jchiu/go/src/github.com/dgraph-io/dgraph/cmd/dgraphassigner/main.go:93 +0x1520

......

@manishrjain manishrjain added the kind/bug Something is broken. label Aug 16, 2016
@kostub
Copy link
Contributor

kostub commented Sep 7, 2016

@manishrjain manishrjain added the kind/bug Something is broken. label Mar 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something is broken.
Development

No branches or pull requests

4 participants