Project

General

Profile

Tâche #14655

Scénario #15483: Agent RVP : revoir le traitement des threads strongSwan et ajouter un status.error dans un cas précis

Agent RVP : revoir le traitement des threads strongSwan

Added by Olivier FEBWIN about 7 years ago. Updated almost 6 years ago.

Status:
Fermé
Priority:
Normal
Start date:
01/14/2016
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Remaining (hours):
0.0

Description

Notre Sphynx 2.4.2 nous remonte quasiment en permanence l'alerte "Moins de 2 threads strongSwan disponibles".

root@sphynx24-agriates:~# ipsec statusall |grep threads
worker threads: 56 of 64 idle, 7/1/0/0 working, job queue: 0/0/0/0, scheduled: 154

Capture du 2016-01-14 17-08-29.png View - État des threads strongSwan (208 KB) Olivier FEBWIN, 01/14/2016 05:33 PM

2015-12-18_092617.jpg View (144 KB) Jean-Marc MELET, 01/14/2016 06:36 PM

Capture du 2017-05-17 09-15-38.png View (99.8 KB) Olivier FEBWIN, 05/17/2017 09:17 AM

Associated revisions

Revision b8822596 (diff)
Added by Fabrice Barconnière over 6 years ago

Mesure des threads strongSwan : agent en warning plutôt qu'en erreur si
la mesure n'est pas disponible

ref #14655 @2h

État des tunnels en warning si VPN non configuré sur Amon

ref #14232 @1h

History

#1 Updated by Jean-Marc MELET about 7 years ago

C'est pire chez nous (cf capture)

#2 Updated by Fabrice Barconnière about 7 years ago

  • Tracker changed from Demande to Tâche
  • Subject changed from [Sphynx 2.4.2] Moins de 2 threads strongSwan disponibles to Agent RVP : revoir le traitement des threads strongSwan
  • Estimated time set to 2.00 h
  • Parent task set to #12068
  • Remaining (hours) set to 2.0

disponibles

#3 Updated by Fabrice Barconnière about 7 years ago

  • Parent task changed from #12068 to #15483

#4 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Fabrice Barconnière over 6 years ago

  • Description updated (diff)
  • Assigned To set to Fabrice Barconnière

#6 Updated by Fabrice Barconnière over 6 years ago

Après avoir laissé tourné tout le WE, j'ai remarqué ceci :

sept. 12 07:50:13 sphynx zephiragents[26768]: [-] Frozen ipsec
sept. 12 07:50:13 sphynx zephiragents[26768]: [-] IDLE THREADS : -1
sept. 12 07:50:13 sphynx zephiragents[26768]: [-] MAX THREADS : 32
sept. 12 07:50:13 sphynx zephiragents[26768]: [-] RUNNING THREADS : 33

Donc, MAX THREADS - RUNNING THREADS = -1 donc < 2
Ceci se produit quand il y a le mot statusall dans la réponse de la commande ipsec statusall mais je ne vois pas comment c'est possible.

#7 Updated by Fabrice Barconnière over 6 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 2.0 to 0.1

#8 Updated by Scrum Master over 6 years ago

  • Status changed from En cours to Résolu

#9 Updated by Laurent Flori over 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.1 to 0.0

#10 Updated by Olivier FEBWIN almost 6 years ago

Le problème est toujours présent...

#11 Updated by Jean-Marc MELET almost 6 years ago

Merci d'avoir relancé, idem pour nous.

Also available in: Atom PDF