You are currently browsing legacy 4.1 version of documentation. Click here to switch to the newest 5.0 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

Configuration: Server Options



Server.MaxTimeForTaskToWaitForDatabaseToLoadInSec

This setting is indicating how many seconds a task (e.g. request) will wait for the database to load (when it is unloaded - e.g. after server restart).

  • Type: int
  • Default: 30
  • Scope: Server-wide only

Server.ProcessAffinityMask

EXPERT: The process affinity mask.

  • Type: long
  • Default: null
  • Scope: Server-wide only

Server.IndexingAffinityMask

EXPERT: The affinity mask to be used for indexing. Overrides the Server.NumberOfUnusedCoresByIndexes value. Should only be used if you also set Server.ProcessAffinityMask.

  • Type: long
  • Default: null
  • Scope: Server-wide only

Server.NumberOfUnusedCoresByIndexes

EXPERT: The numbers of cores that will be NOT running indexing. Defaults to 1 core that is kept for all other tasks and will not be used for indexing.

  • Type: int
  • Default: 1
  • Scope: Server-wide only

Server.CpuCredits.ExhaustionBackupDelayInMin

EXPERT: When CPU credits are exhausted, backup tasks are canceled. This value determines how many minutes the server will wait before retrying the backup task.

  • Type: TimeSetting
  • TimeUnit: TimeUnit.Minutes
  • Default: 10
  • Scope: Server-wide only

If you have an enterprise license, you can access information about CPU credits using SNMP.