# Firefox 69 et rtkit-daemon surchargent le journal

**URL:** <https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153>\
**Category:** Support Debian\
**Created:** [Septembre 13, 2019, 4:43 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153 "2019-09-13T16:43:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Septembre 13, 2019, 4:43 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/1 "2019-09-13T16:43:30Z")

</div>

Salut  
Chaque lancement de Firefox 69 provoque cette séquence

```nohighlight
sept. 13 18:35:17 debian rtkit-daemon[734]: Supervising 3 threads of 1 processes of 1 users.
sept. 13 18:35:17 debian rtkit-daemon[734]: Supervising 3 threads of 1 processes of 1 users.
sept. 13 18:35:17 debian rtkit-daemon[734]: Successfully made thread 12619 of process 12605 owned by '1001' RT at priority 10.
sept. 13 18:35:17 debian rtkit-daemon[734]: Supervising 4 threads of 2 processes of 1 users.
sept. 13 18:35:19 debian rtkit-daemon[734]: Supervising 4 threads of 2 processes of 1 users.
sept. 13 18:35:19 debian rtkit-daemon[734]: Supervising 4 threads of 2 processes of 1 users.
sept. 13 18:35:19 debian rtkit-daemon[734]: Successfully made thread 12682 of process 12657 owned by '1001' RT at priority 10.
sept. 13 18:35:19 debian rtkit-daemon[734]: Supervising 5 threads of 3 processes of 1 users.
sept. 13 18:35:19 debian rtkit-daemon[734]: Supervising 5 threads of 3 processes of 1 users.
sept. 13 18:35:19 debian rtkit-daemon[734]: Supervising 5 threads of 3 processes of 1 users.
sept. 13 18:35:19 debian rtkit-daemon[734]: Successfully made thread 12681 of process 12657 owned by '1001' RT at priority 10.
sept. 13 18:35:19 debian rtkit-daemon[734]: Supervising 6 threads of 3 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 6 threads of 3 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 6 threads of 3 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Successfully made thread 12734 of process 12697 owned by '1001' RT at priority 10.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 7 threads of 4 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 7 threads of 4 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 7 threads of 4 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Successfully made thread 12733 of process 12697 owned by '1001' RT at priority 10.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 8 threads of 4 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 8 threads of 4 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 8 threads of 4 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Successfully made thread 12751 of process 12713 owned by '1001' RT at priority 10.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 9 threads of 5 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 9 threads of 5 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 9 threads of 5 processes of 1 users.
sept. 13 18:35:20 debian rtkit-daemon[734]: Successfully made thread 12752 of process 12713 owned by '1001' RT at priority 10.
sept. 13 18:35:20 debian rtkit-daemon[734]: Supervising 10 threads of 5 processes of 1 users.
sept. 13 18:35:22 debian dbus-daemon[2763]: [session uid=1001 pid=2763] Activating service name='org.gnome.ChromeGnomeShell' requested by ':1.212' (uid=1001 pid=12766 comm="/usr/bin/python3 /usr/bin/chrome-gnome-shell /usr/")
sept. 13 18:35:23 debian dbus-daemon[2763]: [session uid=1001 pid=2763] Successfully activated service 'org.gnome.ChromeGnomeShell'

```

ça veut dire quoi?

---

<div class="post-metadata">

**Author:** ![anon70622873](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@anon70622873](https://www.debian-fr.org/u/anon70622873)\
**Post date:** [Septembre 13, 2019, 6:25 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/2 "2019-09-13T18:25:50Z")

</div>

Extrait de la page de man de rtkitctl

> [@man rtkitctl](#):
>
> ```plaintext
> DESCRIPTION
> RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR
> (i.e. realtime scheduling mode) on request. It is intended to be used as a secure mechanism to allow real-time
> scheduling to be used by normal user processes.
> 
> ```

Si je regarde syslog en lançant firefox, j’ai le me type de messages. Cela me semble tout à fait normal.

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Septembre 14, 2019, 6:39 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/3 "2019-09-14T06:39:53Z")

</div>

```auto
apt list --installed | grep rtkit

rtkit/testing,unstable,now 0.12-4 amd64 [installé]

```

Il y a quand même un rapport de bug sur cette version  
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939615](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939615)

Il y en a d’autres qui changent la priorité de log de rtkit

[https://bbs.archlinux.org/viewtopic.php?id=248893](https://bbs.archlinux.org/viewtopic.php?id=248893)  
Dans Debian j’ai ajouté

/lib/systemd/system/rtkit-daemon.service.d/log.conf

```auto
[Service]
LogLevelMax=notice

```

```auto
systemctl daemon-reload

systemctl restart rtkit-daemon.service

```

Au moins le journal n’est plus pollué avec des messages “normaux”

```auto
systemctl status rtkit-daemon.service -l --no-pager
● rtkit-daemon.service - RealtimeKit Scheduling Policy Service
   Loaded: loaded (/lib/systemd/system/rtkit-daemon.service; enabled; vendor preset: enabled)
  Drop-In: /usr/lib/systemd/system/rtkit-daemon.service.d
           └─log.conf
   Active: active (running) since Sat 2019-09-14 08:57:53 CEST; 4min 35s ago
 Main PID: 3620 (rtkit-daemon)
    Tasks: 3 (limit: 4268)
   Memory: 752.0K
   CGroup: /system.slice/rtkit-daemon.service
           └─3620 /usr/libexec/rtkit-daemon

sept. 14 08:57:53 debian systemd[1]: Starting RealtimeKit Scheduling Policy Service...
sept. 14 08:57:53 debian systemd[1]: Started RealtimeKit Scheduling Policy Service.

```

A suivre

---

<div class="post-metadata">

**Author:** ![anon70622873](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@anon70622873](https://www.debian-fr.org/u/anon70622873)\
**Post date:** [Septembre 14, 2019, 7:54 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/4 "2019-09-14T07:54:58Z")

</div>

Merci pour ces infos. Il y a effectivement des utilisateurs qui semblent avoir des problème avec un syslog qui sature à cause de cela.

Par conter ta méthode pour modifier le service n’est pas, AMHA, très propre. Il vaut mieux utiliser :

```auto
systemctl edit rtkit-daemon.service

```

plutôt que de créer /modifier des fichiers sous /lib/systemd.

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Septembre 14, 2019, 8:27 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/5 "2019-09-14T08:27:19Z")

</div>

je ne modifie pas le service livré par Debian, je lui ajoute une option dans un fichier de conf spécifique, c’est tout l’avantage

C.F

```auto
Drop-In: /usr/lib/systemd/system/rtkit-daemon.service.d
           └─log.conf

```

---

<div class="post-metadata">

**Author:** ![anon70622873](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/a/278dde/32.png) [@anon70622873](https://www.debian-fr.org/u/anon70622873)\
**Post date:** [Septembre 14, 2019, 9:22 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/6 "2019-09-14T09:22:52Z")

</div>

C’est exactement ce que fait la commande que j’ai proposé :

```nohighlight
Drop-In: /etc/systemd/system/rtkit-daemon.service.d
          └─override.conf

```

J’y vois au moins trois avantages par rapport à la tienne :

- c’est la manière standard de surcharger la configuration d’un service ;
- c’est plus rapide ;
- la configuration est enregistrée à l’emplacement standard des configurations système, à savoir /etc et on dans /lib ou /usr/lib qui ne devrait rien contenir d’autre que les fichiers issus des paquets Debian.

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Septembre 14, 2019, 11:09 UTC](https://www.debian-fr.org/t/firefox-69-et-rtkit-daemon-surchargent-le-journal/80153/7 "2019-09-14T11:09:26Z")

</div>

ok ok ok ( faut 5 caractères) 😀
