This is an old revision of the document!


NEO4J

Useful Cypher Queries

/etc/security/limits.conf
neo4j   soft    nofile  40000
neo4j   hard    nofile  40000
echo 'deadline' > /sys/block/sda/queue/scheduler
cat               /sys/block/sda/queue/scheduler
noop [deadline] cfq
/etc/haproxy/haproxy-neo4j.cfg
global
  daemon
  maxconn 256

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
haproxy -f /etc/haproxy/haproxy-neo4j.cfg

See: http://192.168.168.33:7770/haproxy?stats

kb/neo4j.1454928297.txt.gz · Last modified: (external edit)
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0