Package Details: victoriametrics-bin 1.134.0-1

Git Clone URL: https://aur.archlinux.org/victoriametrics-bin.git (read-only, click to copy)
Package Base: victoriametrics-bin
Description: Fast, cost-effective and scalable time series database
Upstream URL: https://victoriametrics.github.io
Licenses: Apache-2.0
Conflicts: victoriametrics
Provides: victoriametrics
Submitter: KawaiDesu
Maintainer: L0ric0
Last Packager: L0ric0
Votes: 2
Popularity: 0.000000
First Submitted: 2019-09-24 22:27 (UTC)
Last Updated: 2026-01-21 20:14 (UTC)

Latest Comments

GCN commented on 2025-02-15 12:24 (UTC)

Hi. Can you please add support for aarch64?


--- PKGBUILD.ori        2025-02-15 13:15:32.323344927 +0100
+++ PKGBUILD.aarch64    2025-02-15 13:14:25.468321977 +0100
@@ -3,21 +3,23 @@
 pkgver=1.111.0
 pkgrel=1
 pkgdesc="Fast, cost-effective and scalable time series database"
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
 url="https://victoriametrics.github.io"
 license=('Apache')
 backup=('etc/default/victoriametrics')
 install=victoriametrics.install
-source=("https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${pkgver}/victoria-metrics-linux-amd64-v${pkgver}.tar.gz"
-        "victoriametrics.service"
+source_x86_64=("https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${pkgver}/victoria-metrics-linux-amd64-v${pkgver}.tar.gz")
+source_aarch64=("https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v${pkgver}/victoria-metrics-linux-arm64-v${pkgver}.tar.gz")
+source=("victoriametrics.service"
         "victoriametrics.sysusers"
         "victoriametrics.tmpfiles"
         "victoriametrics.default")
-sha256sums=('1c7328173ef352fa9cdaa0957ff43b752e9458755e0a9588cce4b52fe189ab8f'
-            'c47defa8ff60515a704daeb01eedebf08e15e85bcd37217c40c7133b6302c967'
+sha256sums=('c47defa8ff60515a704daeb01eedebf08e15e85bcd37217c40c7133b6302c967'
             'ad4911f772a1a52d1bd5ba4236d27a84aabbb10fc057d2906bf50f30d179d4a4'
             'e26f3359d0afc3bf0f236a9b4b05554ed9256d477ef4b4f1b013898fac7a723c'
             'f538747c1384e6842561e1d13519c2118b8e74c6eb5132b9f2e8730f7d08cc26')
+sha256sums_x86_64=('1c7328173ef352fa9cdaa0957ff43b752e9458755e0a9588cce4b52fe189ab8f')
+sha256sums_aarch64=('e8c0beb78e4b4888b4911a0689a66a79c5290f06a07a4548f2b36fc2d6a70616')

 package(){
   install -Dm755 "${srcdir}/victoria-metrics-prod" "${pkgdir}/usr/bin/victoriametrics"

KawaiDesu commented on 2023-02-05 20:37 (UTC)

Hi, @thetooth. First of all, thanks for the feedback. As for the mentioned issues: - I think that's not a good idea to auto-restart crashed database. As far the reason for crash is unknown it could be not safe for the data to restart the service. Escpecially without limiting number of tries. I would also recommend to use monitoring for your services and make HA setup using cluser version (https://github.com/VictoriaMetrics/VictoriaMetrics/tree/cluster) - You can override service file. Not everyone needs extended limits. It can be implemented using any configuration management system (Ansible/Chef/Slat - whatever you are using) easyly.

thetooth commented on 2023-01-12 03:00 (UTC)

Hi, this packages systemd file currently has some issues that prevent it being useful in a production environment.

First is there is no restart policy, which means if the process crashes large amounts of telemetry can be lost, suggest we add:

Restart=on-failure

Secondly, on my system DefaultLimitNOFILE defaults to 1024, for datasets spanning the default retention period of 1 month this is fine, but for large or long running datasets, victoriametrics requires A LOT of file descriptors (counted 5716 on my setup) or it will die with too many files open.

twentycent commented on 2020-04-01 21:16 (UTC)

@KawaiDesu no worry.

Thanks for the update ;)

KawaiDesu commented on 2020-04-01 21:08 (UTC) (edited on 2020-04-01 21:08 (UTC) by KawaiDesu)

@vincentg, sorry about that, fixed. Also bumped version to latest.

twentycent commented on 2020-04-01 21:02 (UTC)

Hi,

There is a mistake in victoriametrics.service file

When starting service, this warning appears in journalctl systemd[1]: /usr/lib/systemd/system/victoriametrics.service:5: Unknown key name 'Require' in section 'Unit', ignoring.

Require should be Requires