Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
kb:neo4j [2016/02/08 10:46] yehudakb:neo4j [2022/01/03 16:03] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== NEO4J ====== ====== NEO4J ======
- +[[kb:neo4j:High availability|High availability]] 
-Useful Cypher Queries  +[[kb:neo4j:Code snippits|Neo4j code snippits]]
- +
- +
-<file | /etc/security/limits.conf> +
-neo4j   soft    nofile  40000 +
-neo4j   hard    nofile  40000 +
-</file> +
- +
- +
-<code bash> +
-echo 'deadline' > /sys/block/sda/queue/scheduler +
-cat               /sys/block/sda/queue/scheduler +
-noop [deadline] cfq +
-</code> +
- +
-<file | /etc/haproxy/haproxy-neo4j.cfg> +
-global +
-  daemon +
-  maxconn 384 +
- +
-defaults +
-  mode http +
-  timeout connect 5000ms +
-  timeout client 50000ms +
-  timeout server 50000ms +
- +
-frontend http-in +
-  bind *:7777 +
-  default_backend neo4j +
- +
-backend neo4j +
-  option httpchk GET /db/manage/server/ha/available +
-  server s1 192.168.168.33:7474 maxconn 128 check +
-  server s2 192.168.168.34:7474 maxconn 128 check +
-  server s3 192.168.168.35:7474 maxconn 128 check +
- +
-listen admin +
-  bind *:7770 +
-  stats enable +
-</file> +
- +
-<code bash> +
-haproxy -f /etc/haproxy/haproxy-neo4j.cfg +
-</code> +
- +
-See: http://192.168.168.33:7770/haproxy?stats+
kb/neo4j.1454928360.txt.gz · Last modified: (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0