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

unable to allocate file descriptor table - out of memory #155

Closed
SilasBerger opened this issue Nov 9, 2018 · 3 comments
Closed

unable to allocate file descriptor table - out of memory #155

SilasBerger opened this issue Nov 9, 2018 · 3 comments

Comments

@SilasBerger
Copy link

SilasBerger commented Nov 9, 2018

When trying to launch a Neo4j container with the command

docker run --publish=7474:7474 --publish=7687:7687 --volume=neo4j_data:/data neo4j

the container instantly errors out with the message library initialization failed - unable to allocate file descriptor table - out of memory.

System information

  • Windows 10 Home x64
  • 16GB RAM, ~50% in use
  • ~10GB of free disk space
  • Docker Toolbox / Quickstart Terminal
  • Docker version 18.03.0-ce, build 0520e24302

Full Log

$ docker run --publish=7474:7474 --publish=7687:7687 --volume=neo4j_data:/data neo4j
Active database: graph.db
Directories in use:
  home:         /var/lib/neo4j
  config:       /var/lib/neo4j/conf
  logs:         /var/lib/neo4j/logs
  plugins:      /var/lib/neo4j/plugins
  import:       /var/lib/neo4j/import
  data:         /var/lib/neo4j/data
  certificates: /var/lib/neo4j/certificates
  run:          /var/lib/neo4j/run
Starting Neo4j.
2018-11-09 20:35:55.400+0000 WARN  Unknown config option: causal_clustering.discovery_listen_address
2018-11-09 20:35:55.409+0000 WARN  Unknown config option: causal_clustering.raft_advertised_address
2018-11-09 20:35:55.410+0000 WARN  Unknown config option: causal_clustering.raft_listen_address
2018-11-09 20:35:55.410+0000 WARN  Unknown config option: ha.host.coordination
2018-11-09 20:35:55.411+0000 WARN  Unknown config option: causal_clustering.transaction_advertised_address
2018-11-09 20:35:55.411+0000 WARN  Unknown config option: causal_clustering.discovery_advertised_address
2018-11-09 20:35:55.413+0000 WARN  Unknown config option: ha.host.data
2018-11-09 20:35:55.413+0000 WARN  Unknown config option: causal_clustering.transaction_listen_address
2018-11-09 20:35:55.523+0000 INFO  ======== Neo4j 3.4.9 ========
library initialization failed - unable to allocate file descriptor table - out of memory
@cuevasclemente
Copy link

I'm also having this same error, hoping there's a solution? I'm on docker 18.09.3, on Arch Linux, I have 14 gigs of Ram open and 138G of disk space free

@pascalwhoop
Copy link

I'm also having this same error, hoping there's a solution? I'm on docker 18.09.3, on Arch Linux, I have 14 gigs of Ram open and 138G of disk space free

Running into this as well but it's not a neo4j issue but a java in docker issue as running

$ docker run -it --rm tomcat:8.0
also crashes

@pascalwhoop
Copy link

I'm also having this same error, hoping there's a solution? I'm on docker 18.09.3, on Arch Linux, I have 14 gigs of Ram open and 138G of disk space free

Just referencing you again because I found a fix for me that you may try. I wrote it as an answere here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants