Project

General

Profile

Anomalie #5168

Needrestart boucle sur videobridge

Added by Christian P. Momon 10 months ago. Updated 10 months ago.

Status:
Fermé
Priority:
Normale
Assignee:
Christian P. Momon
Start date:
01/30/2021
Due date:
% Done:

0%

Estimated time:

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.

History

#1

Updated by Christian P. Momon 10 months ago

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

Updated by Christian P. Momon 10 months ago

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

Updated by Christian P. Momon 10 months ago

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

Updated by Christian P. Momon 10 months ago

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

Updated by Christian P. Momon 10 months ago

  • Status changed from Nouveau to Résolu
  • Assignee set to Christian P. Momon
#7

Updated by François Poulain 10 months ago

J'ai du ajouter:

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

#8

Updated by Christian P. Momon 10 months ago

#9

Updated by Christian P. Momon 10 months ago

  • Status changed from Résolu to Fermé
#10

Updated by Christian P. Momon 10 months ago

  • Target version changed from Backlog to Sprint 2021 janvier

Also available in: Atom PDF