Skip to content
Snippets Groups Projects
nebula-graphd.conf.default 2.81 KiB
Newer Older
dutor's avatar
dutor committed
########## basics ##########
dutor's avatar
dutor committed
# Whether to run as a daemon process
dutor's avatar
dutor committed
--daemonize=true
dutor's avatar
dutor committed
# The file to host the process id
--pid_file=pids/nebula-graphd.pid
Yee's avatar
Yee committed
# Whether to enable optimizer
--enable_optimizer=true
dutor's avatar
dutor committed
########## logging ##########
# The directory to host logging files
dutor's avatar
dutor committed
--log_dir=logs
dutor's avatar
dutor committed
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively
dutor's avatar
dutor committed
--minloglevel=0
dutor's avatar
dutor committed
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging
dutor's avatar
dutor committed
# Maximum seconds to buffer the log messages
dutor's avatar
dutor committed
--logbufsecs=0
# Whether to redirect stdout and stderr to separate output files
--redirect_stdout=true
# Destination filename of stdout and stderr, which will also reside in log_dir.
Yee's avatar
Yee committed
--stdout_log_file=graphd-stdout.log
--stderr_log_file=graphd-stderr.log
# Copy log messages at or above this level to stderr in addition to logfiles. The numbers of severity levels INFO, WARNING, ERROR, and FATAL are 0, 1, 2, and 3, respectively.
--stderrthreshold=2
# Whether to treat partial success as an error.
# This flag is only used for Read-only access, and Modify access always treats partial success as an error.
--accept_partial_success=false

dutor's avatar
dutor committed
########## networking ##########
# Comma separated Meta Server Addresses
--meta_server_addrs=127.0.0.1:9559
# Local IP used to identify the nebula-graphd process.
# Change it to an address other than loopback if the service is distributed or
# will be accessed remotely.
# Network device to listen on
--listen_netdev=any
# Port to listen on
dutor's avatar
dutor committed
# To turn on SO_REUSEPORT or not
--reuse_port=false
# Backlog of the listen socket, adjust this together with net.core.somaxconn
--listen_backlog=1024
# Seconds before the idle connections are closed, 0 for never closed
dutor's avatar
dutor committed
--client_idle_timeout_secs=0
dutor's avatar
dutor committed
# Seconds before the idle sessions are expired, 0 for no expiration
--session_idle_timeout_secs=0
dutor's avatar
dutor committed
# The number of threads to accept incoming connections
dutor's avatar
dutor committed
--num_accept_threads=1
# The number of networking IO threads, 0 for # of CPU cores
--num_netio_threads=0
# The number of threads to execute user queries, 0 for # of CPU cores
--num_worker_threads=0
dutor's avatar
dutor committed
# HTTP service port
dutor's avatar
dutor committed
# HTTP2 service port
# storage client timeout
--storage_client_timeout_ms=60000
# Port to listen on Meta with HTTP protocol, it corresponds to ws_http_port in metad's configuration file
--ws_meta_http_port=19559
# The default charset when a space is created
--default_charset=utf8
# The defaule collate when a space is created
--default_collate=utf8_bin

########## authorization ##########
# Enable authorization
--enable_authorize=false

########## Authentication ##########
# User login authentication type, password for nebula authentication, ldap for ldap authentication, cloud for cloud authentication
--auth_type=password