Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Current config parameters:

Config NameDescriptionExample
environmentVariablesA list of environment variables that are set in the session servers spawned by the session server manager
extraEnvVariablesA list of environment variables that are added to the existing environmentVariables. These are typically used in rialto-soc.json or rialto-config-overrides.json
sessionServerPathAn absolute path to the sessions server binary"/usr/bin/RialtoServer"
startupTimeoutMsThe amount of time the session server manager waits for a session server to start. If this time is exceeded, the session server manager stops the server and reports a failure. If the value is set to 0, there is no time limit, and the manager will wait indefinitely.
healthcheckIntervalInSeconds

Specifies how often health check messages are sent.


numOfPingsBeforeRecovery

Specifies how many consecutive failed pings are required before a recovery action is triggered.


socketPermissions

Specifies the permissions for the session management socket, expressed in octal permissions.

777
socketOwnerSpecifies the owner of the session management socket."root"
socketGroupSpecifies the group ownership of the session management socket."root"
numOfPreloadedServersThe amount of preloaded servers.1
logLevelLog level of all Rialto components.

1 - ERROR
2 - WARNING and above
3 - MILESTONE and above
4 - INFO and above

5 - DEBUG and above
3

Rialto ServerManager

RIALTO_SESSION_SERVER_STARTUP_TIMEOUT_MS

The environment variable RIALTO_SESSION_SERVER_STARTUP_TIMEOUT_MS can be used to set the app startup timeout in Rialto.
If an app is not started within the given timeout, the startup process will be killed.
By default NO timeout is set if this configuration is not provided.

RIALTO_DEBUG

See Rialto Debug Control.

RIALTO_CONSOLE_LOG

See Rialto Debug Control.

RIALTO_SESSION_SERVER_PATH

The environment variable RIALTO_SESSION_SERVER_PATH can be used to set the path to the RialtoServer executable.
By default this is set to '/usr/bin/RialtoServer'.

RIALTO_PRELOADED_SERVERS

Number of preloaded servers

SESSION_SERVER_ENV_VARS

...



Priority:

  1. override
  2. rialto-soc.json
  3. rialto-config.json
  4. c++ parameters

    envVariables from overrides also extraEnv