mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
docs: update "number of open files" tuning recommendation (#1527)
* docs: update "number of open files" tuning recomendation Make "number of open files" recomendation not only Prometheus specific to avoid confusion for users who does not use Prometheus. * docs: mention fstrim in Tuning section
This commit is contained in:
parent
d375d9b878
commit
e0ee69797d
@ -1264,8 +1264,11 @@ or similar auth proxy.
|
|||||||
* There is no need for VictoriaMetrics tuning since it uses reasonable defaults for command-line flags,
|
* There is no need for VictoriaMetrics tuning since it uses reasonable defaults for command-line flags,
|
||||||
which are automatically adjusted for the available CPU and RAM resources.
|
which are automatically adjusted for the available CPU and RAM resources.
|
||||||
* There is no need for Operating System tuning since VictoriaMetrics is optimized for default OS settings.
|
* There is no need for Operating System tuning since VictoriaMetrics is optimized for default OS settings.
|
||||||
The only option is increasing the limit on [the number of open files in the OS](https://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429a),
|
The only option is increasing the limit on [the number of open files in the OS](https://medium.com/@muhammadtriwibowo/set-permanently-ulimit-n-open-files-in-ubuntu-4d61064429a).
|
||||||
so Prometheus instances could establish more connections to VictoriaMetrics.
|
The recommendation is not specific for VictoriaMetrics only but also for any service which handles many HTTP connections and stores data on disk.
|
||||||
|
* VictoriaMetrics is a write-heavy application and its performance depends on disk performance. So be careful with other
|
||||||
|
applications or utilities (like [fstrim](http://manpages.ubuntu.com/manpages/bionic/man8/fstrim.8.html))
|
||||||
|
which could [exhaust disk resources](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1521).
|
||||||
* The recommended filesystem is `ext4`, the recommended persistent storage is [persistent HDD-based disk on GCP](https://cloud.google.com/compute/docs/disks/#pdspecs),
|
* The recommended filesystem is `ext4`, the recommended persistent storage is [persistent HDD-based disk on GCP](https://cloud.google.com/compute/docs/disks/#pdspecs),
|
||||||
since it is protected from hardware failures via internal replication and it can be [resized on the fly](https://cloud.google.com/compute/docs/disks/add-persistent-disk#resize_pd).
|
since it is protected from hardware failures via internal replication and it can be [resized on the fly](https://cloud.google.com/compute/docs/disks/add-persistent-disk#resize_pd).
|
||||||
If you plan to store more than 1TB of data on `ext4` partition or plan extending it to more than 16TB,
|
If you plan to store more than 1TB of data on `ext4` partition or plan extending it to more than 16TB,
|
||||||
|
Loading…
Reference in New Issue
Block a user