Link Search Menu Expand Document
Start for Free

System Requirements

This page discusses the requirements for running Stardog.

Java

Stardog 9+ is tested on Java version 11, and requires sun.misc.Unsafe. Note that Stardog does not run on any other versions of Java.

To check your version of Java, run the following command from the CLI:

$ java -version

Java 11 can be downloaded from Oracle, which requires creating an account. Alternatively you can use an OpenJDK implementation from Adoptium or Microsoft.

Verified Operating Systems

Stardog is verified to run on:

  • Ubuntu 20.04 and 22.04
  • Debian 10
  • RHEL 7
  • CentOS 7
  • Amazon Linux 2
  • Recent versions of OSX (not recommended for production)

Disk Storage

Stardog runs best on local / block storage devices. Network based disk storage is not recommended, including NFS, SMB, and EFS based storage systems.

If you must use network based disk, please set the following property within stardog.properties file in your $STARDOG_HOME directory:

storage.envoptions.use_mmap_writes = false

Open Files Setting (Linux only)

Linux installations need to verify that the user executing Stardog, often stardog, is configured to allow at least 100,000 open files. This limit impacts both the number of active files and number of active network connections. The configuration setting is within /etc/security/limits.conf. An example setting for user stardog is:

stardog	soft	nofile	100000
stardog	hard	nofile	100000

An alternative is to create a new file within /etc/security/limits.d. An example file would be /etc/security/limits.d/90-stardog.conf that contains the same two lines above. Change stardog to match the user executing the Stardog service (if needed).

This configuration setting is not dynamic. The user must first log out and restart the Stardog service.

For more information on file limits, run man limits.conf from the Linux command line.