Projet

Général

Profil

Development #52261

utiliser spooler-max-tasks

Ajouté par Thomas Noël il y a environ 3 ans. Mis à jour il y a environ 3 ans.

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

Révision c6c87ccb (diff)
Ajouté par Thomas Noël il y a environ 3 ans

uwsgi: recycling spooler after 20 tasks (#52261)

Historique

#1

Mis à jour par Thomas Noël il y a environ 3 ans

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.

#2

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.

#3

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)

#4

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

Formats disponibles : Atom PDF