summaryrefslogtreecommitdiff
path: root/MPE/arangodb/conf/arangod.conf
blob: c6d54d3b8c0fa28fc3fa7635f9241519b6675d5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# ArangoDB configuration file
# 
# Documentation: 
# https://www.arangodb.com/docs/stable/administration-configuration.html
# 

[database]
directory = /var/lib/arangodb3

# maximal-journal-size = 33554432

[server]
# Specify the endpoint for HTTP requests by clients.
#  tcp://ipv4-address:port
#  tcp://[ipv6-address]:port
#  ssl://ipv4-address:port
#  ssl://[ipv6-address]:port
#  unix:///path/to/socket
#
# Examples:
#   endpoint = tcp://0.0.0.0:8529
#   endpoint = tcp://0.0.0.0:8529
#   endpoint = tcp://localhost:8529
#   endpoint = tcp://myserver.arangodb.com:8529
#   endpoint = tcp://[::]:8529
#   endpoint = tcp://[fe80::21a:5df1:aede:98cf]:8529
#
endpoint = tcp://[::]:8529
storage-engine = auto
maximal-queue-size = 8192

# reuse a port on restart or wait until it is freed by the operating system
# reuse-address = false

authentication = true

# number of maximal server threads. use 0 to make arangod determine the
# number of threads automatically, based on available CPUs
# maximal-threads = 0

# gather server statistics
statistics = true

# the user and group are normally set in the start script
# uid = arangodb
# gid = arangodb

[javascript]
startup-directory = /usr/share/arangodb3/js
app-path = /var/lib/arangodb3-apps

# number of V8 contexts available for JavaScript execution. use 0 to 
# make arangod determine the number of contexts automatically.
# v8-contexts = 0

[foxx]
# enable Foxx queues in the server
# queues = true

# interval (seconds) to use for polling jobs in Foxx queues
# queues-poll-interval = 1

[log]
level = info
level = queries=trace
level = startup=info
file = /var/log/arangodb3/arangod.log

[cluster]

[rocksdb]
max-total-wal-size = 83886080
write-buffer-size = 67108864
compaction-read-ahead-size = 2097152

[query]
cache-mode = on
cache-entries = 1024
cache-entries-max-size = 268435456
cache-entry-max-size = 16777216
memory-limit = 1073741824
optimizer-max-plans = 1024
cache-include-system-collections = true
slow-streaming-threshold = 600
slow-threshold = 600

[cache]
size = 1G

[network]
max-open-connections = 20480

[http]
keep-alive-timeout = 10800