Skip to content

Commit

Permalink
Merge branch 'main' into jh_backup_revamp
Browse files Browse the repository at this point in the history
  • Loading branch information
goodroot authored Jul 25, 2024
2 parents 76d43fb + af23f88 commit bd8e5b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deployment/capacity-planning.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,16 @@ sysctl -p
sysctl fs.file-max
```

#### Extra steps for systemd

If you are running the QuestDB using `systemd`, you will also need to set the `LimitNOFILE` property in your service file.

If you have followed the [setup guide](https://questdb.io/docs/deployment/systemd/), then the file should be called `questdb.service` and be located at `~/.config/systemd/user/questdb.service`.

Add this property to the `[Service]` section, setting it to at least `1048576`, or higher if you have set higher OS-wide limits.

Then restart the service. If you have configured these settings correctly, any warnings in the web console should now be cleared.

#### Setting system-wide open file limit on MacOS:

On MacOS, the system-wide limit can be modified by using `launchctl`:
Expand Down

0 comments on commit bd8e5b7

Please sign in to comment.