Development #52261
utiliser spooler-max-tasks
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
19 mars 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Selon https://uwsgi-docs.readthedocs.io/en/latest/Spooler.html :
spooler-max-tasks=## set the maximum number of tasks to run before recycling a spooler (to help alleviate memory leaks)
Je propose de poser à 20 taches (un peu au pif).
Fichiers
Révisions associées
Historique
Mis à jour par Thomas Noël il y a environ 3 ans
- Fichier 0001-uwsgi-recycling-spooler-after-20-tasks-52261.patch 0001-uwsgi-recycling-spooler-after-20-tasks-52261.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
A noter qu'il y a aussi
spooler-signal-as-task : combined use with spooler-max-tasks. enable this, spooler will treat signal events as task. run signal handler will also increase the spooler task count.
Mais je ne sais pas ce qu'est un "signal events", alors je ne sais pas la pertinence pour nous.
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Non on n'utilise pas de signaux uwsgi (https://uwsgi-docs.readthedocs.io/en/latest/Signals.html).
Je valide et suggère d'appliquer le même patch dans wcs et chrono.
Mis à jour par Thomas Noël il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit c6c87ccb4ba68595b954de93dc7d903d6f39ca10 Author: Thomas NOËL <tnoel@entrouvert.com> Date: Fri Mar 19 23:49:39 2021 +0100 uwsgi: recycling spooler after 20 tasks (#52261)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
uwsgi: recycling spooler after 20 tasks (#52261)