Projet

Général

Profil

Anomalie #5168

Needrestart boucle sur videobridge

Ajouté par Christian P. Momon il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Christian P. Momon
Début:
30/01/2021
Echéance:
% réalisé:

0%

Temps estimé:

Description

Depuis plusieurs mois, Icinga a une alerte needrestart sur la vm allo à propos de videobridge.

Redémarrer le service ne fait pas changer d'avis needrestart.

Historique

#1

Mis à jour par Christian P. Momon il y a environ 3 ans

En mode verbeux :

=(^-^)=root@allo:/etc/needrestart# needrestart -v  -l -m a -r l
[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.4
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[main] vm detected
[Core] #898 is a NeedRestart::Interp::Python
[Python] #898: source=/usr/bin/fail2ban-server
[Core] #1193 is a NeedRestart::Interp::Python
[Python] #1193: source=/usr/bin/python2-websockify
[Core] #14532 is a NeedRestart::Interp::Java
[main] #14553 uses deleted /usr/share/jitsi-videobridge/.cache/JNA/temp/jna16410093428541457505.tmp
[main] #14553 is not a child
[Core] #27255 is a NeedRestart::Interp::Python
[Python] #27255: source=/usr/share/unattended-upgrades/unattended-upgrade-shutdown
[main] #14553 exe => /usr/lib/jvm/java-11-openjdk-amd64/bin/java
[Core] #14553 is a NeedRestart::Interp::Java
[Core] #14553 source is UNKNOWN
[main] #14553 is jitsi-videobridge2.service
[main] inside container or vm, skipping microcode checks

Services to be restarted:
 systemctl restart jitsi-videobridge2.service

No containers need to be restarted.

No user sessions are running outdated binaries.

#2

Mis à jour par Christian P. Momon il y a environ 3 ans

Une analyse et une solution dans https://unix.stackexchange.com/questions/574325/jitsi-videobridge-service-daemons-using-outdated-libraries :

Concerning
[main] #10490 uses deleted /tmp/jna-105622/jna4127640304239884617.tmp
the filename changes after each restart, and indeed, the file gets deleted right after the start. It seems this is just a temp file, maybe this should be ignored?
[…]
As a workaround for the problem I added
qr(^/tmp/jna-),
to $nrconf{blacklist_mappings} in /etc/needrestart/needrestart.conf.

#3

Mis à jour par Christian P. Momon il y a environ 3 ans

Le 30/01/2021 sur Freenode#april-chapril :

12:41 < PoluX> https://github.com/jitsi/jitsi-videobridge/issues/1166

Extrait de https://github.com/jitsi/jitsi-videobridge/issues/1166 :

 needrestart falsely reports the videobridge service needs to be restart #1166 Open
baldurmen opened this issue on 4 Apr 2020 · 0 comments
baldurmen commented on 4 Apr 2020
Description

I use needrestart to monitor things on my Debian 10 server that needs to be restarted.
It normally works pretty well, but it seems it is falsely reporting the Jitsi Videobrige needs to be restarted.

Vala, c'est exactement ça. Par contre, ticket ouvert et pas encore de solution…

#4

Mis à jour par Christian P. Momon il y a environ 3 ans

Ajout du code suivant dans root@allo: /etc/needrestart/needrestart.conf :

$nrconf{blacklist_mappings} = [
[…]
    # Videobridge bug (agir #5168).
    qr(^/tmp/jna-),

Et maintenant needrestart est ok.

#5

Mis à jour par Christian P. Momon il y a environ 3 ans

  • Statut changé de Nouveau à Résolu
  • Assigné à mis à Christian P. Momon
#7

Mis à jour par François Poulain il y a environ 3 ans

J'ai du ajouter:

     # Videobridge bug (agir #5168).
     qr(^/tmp/jna-),
+    qr(^/usr/share/jitsi-videobridge/.cache/JNA/temp/jna),
+    qr(^/tmp/nativeutils),

#8

Mis à jour par Christian P. Momon il y a environ 3 ans

#9

Mis à jour par Christian P. Momon il y a environ 3 ans

  • Statut changé de Résolu à Fermé
#10

Mis à jour par Christian P. Momon il y a environ 3 ans

  • Version cible changé de Backlog à Sprint 2021 janvier

Formats disponibles : Atom PDF