The officially official Devuan Forum!

You are not logged in.

#1 2024-09-29 10:59:31

Mike-thinky
Member
Registered: 2021-10-28
Posts: 74  

[SOLVED] rtkit-daemon suddenly spamming syslog

Hi,

running with Runit, and have added a few programs recently, now getting a crazy amount of entries about rtkit-daemon messaging about how many processes it is handling and then even more messages about exceeding the limits.

The help info in /usr/share/dbus-1/system-services/org.freedesktop.RealtimeKit1.service
and
/usr/libexec/rtkit-daemon
Does not help very much, anyone else come across this and solved it?

sudo /usr/libexec/rtkit-daemon --help
rtkit-daemon [options]

COMMANDS:
  -h, --help                          Show this help
      --version                       Show version

OPTIONS:
      --stderr                        Log to STDERR in addition to syslog
      --user-name=USER                Run daemon as user (rtkit)

      --scheduling-policy=(RR|FIFO)   Choose scheduling policy (RR)
      --our-realtime-priority=[1..99] Realtime priority for the daemon (21)
      --our-nice-level=[-20..19]      Nice level for the daemon (1)
      --max-realtime-priority=[1..99] Max realtime priority for clients (20)
      --min-nice-level=[-20..19]      Min nice level for clients (-15)

      --rttime-usec-max=USEC          Require clients to have set RLIMIT_RTTIME
                                      not greater than this (200000)

      --users-max=INT                 How many users this daemon will serve at
                                      max at the same time (2048)
      --processes-per-user-max=INT    How many processes this daemon will serve
                                      at max per user at the same time (15)
      --threads-per-user-max=INT      How many threads this daemon will serve
                                      at max per user at the same time (25)

      --actions-burst-sec=SEC         Enforce requests limits in this time (20)
      --actions-per-burst-max=INT     Allow this many requests per burst (25)

      --canary-cheep-msec=MSEC        Canary cheep interval (5000)
      --canary-watchdog-msec=MSEC     Watchdog action delay (10000)
      --canary-demote-unknown         When the canary dies demote unknown
                                      processes too?
      --canary-demote-root            When the canary dies demote root
                                      processes too?
      --canary-refuse-sec=SEC         How long to refuse further requests
                                      after the canary died (300)

      --no-canary                     Don't run a canary-based RT watchdog

      --no-drop-privileges            Don't drop privileges
      --no-chroot                     Don't chroot
      --no-limit-resources            Don't limit daemon's resources

and

sudo cat org.freedesktop.RealtimeKit1.service
# This file is part of RealtimeKit.
#
# Copyright 2009 Lennart Poettering
#
# RealtimeKit is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# RealtimeKit is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with RealtimeKit. If not, see <http://www.gnu.org/licenses/>.

[D-BUS Service]
Name=org.freedesktop.RealtimeKit1
Exec=/usr/libexec/rtkit-daemon
SystemdService=rtkit-daemon.service
User=root

Offline

#2 2024-09-29 21:14:13

Mike-thinky
Member
Registered: 2021-10-28
Posts: 74  

Re: [SOLVED] rtkit-daemon suddenly spamming syslog

I found out what caused it, the pc has recently been upgraded to devuan and I was installing some programs I needed, one of them dragged in "pulseaudio-utils". It was generating 2Mb of text log every hour.
I have now removed that, and this has reminded me to set a bunch of pulse audio bits to -1 in the apt conf!!!

Offline

#3 2024-10-01 08:53:13

Mike-thinky
Member
Registered: 2021-10-28
Posts: 74  

Re: [SOLVED] rtkit-daemon suddenly spamming syslog

Seems it was not fixed, syslog has stayed empty, but syslog.1 has kept growing!
Still trying to get to grips with runit as supervisor, so something has gone wrong with the rotation. It is a fresh install, still monitoring it and tracking down these little problems.

Offline

#4 2024-10-01 09:57:00

Mike-thinky
Member
Registered: 2021-10-28
Posts: 74  

Re: [SOLVED] rtkit-daemon suddenly spamming syslog

well a couple of comments added to

/usr/share/dbus-1/systemservices/org.freedesktop.RealtimeKit1.service

has bought me some time to find the runit way of taming this, it was just slowing everything down with how busy it was, adds to my determination to keep the potteringisms out of my PC.

Offline

Board footer