1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] How to run Neo4j Docker container using Singularity on HPC without shutdown during...

Discussão em 'Python' iniciado por Stack, Setembro 18, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to run the Neo4j Docker container using Singularity on an HPC system. The container starts successfully, but it shuts down automatically when I try to add data to the database (e.g., via Cypher queries or CSV import). Here are the commands I used:

    singularity instance start \
    --env NEO4J_dbms_default__listen__address=0.0.0.0 \
    --env NEO4J_dbms_connector_http_listen__address=:7474 \
    --env NEO4J_dbms_connector_bolt_listen__address=:7687 \
    --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
    --env NEO4J_AUTH=neo4j/securepassword \
    -B /home/prasad/docker/neo4j/data:/data \
    -B /home/prasad/docker/neo4j/logs:/logs \
    -B /home/prasad/docker/neo4j/import:/import \
    neo4j_enterprise.sif neo4j_enterprise



    I also tried:

    singularity run \
    --env NEO4J_dbms_default__listen__address=0.0.0.0 \
    --env NEO4J_dbms_connector_http_listen__address=:7474 \
    --env NEO4J_dbms_connector_bolt_listen__address=:7687 \
    --env=NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
    --env NEO4J_AUTH=neo4j/securepassword \
    -B /home/prasad/docker/neo4j/data:/data \
    -B /home/prasad/docker/neo4j/logs:/logs \
    -B /home/prasad/docker/neo4j/import:/import \
    instance://neo4j_enterprise



    Environment:

    Singularity version: 4.1.1 Neo4j Docker image: neo4j:5 enterprise (converted to .sif) Host system: HPC cluster (non-root access) Volumes mounted: /data, /logs, /import

    Issue: Neo4j starts fine, but shuts down when I try to import data or run queries. There are no clear errors in the logs—just a shutdown message. Questions:

    1. Has anyone successfully run Neo4j inside Singularity on HPC?
    2. Are there specific flags or configurations needed to prevent shutdown during data operations?
    3. Could this be related to memory limits, file system permissions, or something else?

    Any help or suggestions would be greatly appreciated!

    Continue reading...

Compartilhe esta Página