Network Parameters
listen_addresses
String type. Sets the addresses to listen on. Default value localhost, which only allows local connections. It is recommended to change to * to allow remote connections. This parameter can only be set at instance startup.
listen_addresses = '*'
# comma-separated list of addresses;
# defaults to 'localhost'; use '*' for all
# (change requires restart)
port
Numeric type. Listen port. Default value 1921. This parameter can only be set at instance startup.
port = 1921
max_connections
Numeric type. Maximum number of concurrent connections. Default value 100. It is recommended to increase this based on actual needs. This parameter can only be set at instance startup.
max_connections = 100 # (change requires restart)
superuser_reserved_connections
Numeric type. Number of connections reserved for superusers. Default value 3. This parameter can only be set at instance startup.
#superuser_reserved_connections = 3 # (change requires restart)
unix_socket_directories
String type. Unix domain socket directory. Default value /var/run/halo. This parameter can only be set at instance startup.
unix_socket_directories = '/var/run/halo'
# (change requires restart)
tcp_keepalives_idle
Numeric type. TCP keepalive probe interval, in seconds. Default value 0, which uses the system default.
#tcp_keepalives_idle = 0 # TCP_KEEPIDLE, in seconds;
# 0 selects the system default
tcp_keepalives_interval
Numeric type. TCP keepalive probe response timeout, in seconds. Default value 0, which uses the system default.
#tcp_keepalives_interval = 0 # TCP_KEEPINTVL, in seconds;
# 0 selects the system default
tcp_keepalives_count
Numeric type. Number of TCP keepalive probe failures. Default value 0, which uses the system default.
#tcp_keepalives_count = 0 # TCP_KEEPCNT;
# 0 selects the system default