Projet

Général

Profil

Actions

Anomalie #6475

ouvert

consommation excessice de CPU du service welcomebot sur la VM bots

Ajouté par Pierre-Louis Bonicoli il y a 5 mois. Mis à jour il y a 5 mois.

Statut:
Nouveau
Priorité:
Normale
Assigné à:
-
Catégorie:
-
Version cible:
Début:
17/07/2024
Echéance:
% réalisé:

0%

Temps estimé:
Difficulté:

Description

(April) root@bots:~# systemd-cgtop --cpu=time -1 | head -n 5
system.slice                                             94 5d 8h 1min 27.036064s   212.7M        -        -
/                                                       167 5d 7h 58min 9.240000s   218.6M        -        -
system.slice/welcomebot.service                           1    5d 59min 8.447165s     5.4M        -        -
system.slice/icinga2.service                             17   1h 27min 22.958152s    34.4M        -        -
system.slice/icingabot.service                            1      38min 24.408379s    32.7M        -        -
(April) root@bots:~# systemctl status welcomebot.service 
● welcomebot.service - APRIL IRC bot for migration from freenode
     Loaded: loaded (/etc/systemd/system/welcomebot.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-07-08 10:12:42 CEST; 1 week 1 day ago
   Main PID: 3199530 (welcomebot.py)
      Tasks: 1 (limit: 493)
     Memory: 5.4M
        CPU: 5d 59min 9.792s
     CGroup: /system.slice/welcomebot.service
             └─3199530 /usr/bin/python2.7 -u /srv/welcomebot/bin/welcomebot.py

Jul 11 22:27:51 bots welcomebot.py[3199530]: 2024-07-11T22:27:51.238842 PING :zinc.libera.chat
Jul 11 22:30:15 bots welcomebot.py[3199530]: 2024-07-11T22:30:15.239077 PING :zinc.libera.chat
Jul 11 22:32:39 bots welcomebot.py[3199530]: 2024-07-11T22:32:39.238838 PING :zinc.libera.chat
Jul 11 22:35:03 bots welcomebot.py[3199530]: 2024-07-11T22:35:03.239044 PING :zinc.libera.chat
Jul 11 22:37:27 bots welcomebot.py[3199530]: 2024-07-11T22:37:27.239136 PING :zinc.libera.chat
Jul 11 22:39:51 bots welcomebot.py[3199530]: 2024-07-11T22:39:51.238971 PING :zinc.libera.chat
Jul 11 22:42:15 bots welcomebot.py[3199530]: 2024-07-11T22:42:15.260092 PING :zinc.libera.chat
Jul 11 22:44:39 bots welcomebot.py[3199530]: 2024-07-11T22:44:39.238823 PING :zinc.libera.chat
Jul 11 22:45:55 bots welcomebot.py[3199530]: 2024-07-11T22:45:55.971144 :bot_april!~bot_april@virola.april.org QUIT :Server closed connection
Jul 11 22:45:55 bots welcomebot.py[3199530]: 2024-07-11T22:45:55.971879 ERROR :Closing Link: virola.april.org (Server closed connection)

(April) root@bots:~# journalctl -u welcomebot.service -S -1d
-- No entries --

Aucune donnée à afficher

Actions

Formats disponibles : Atom PDF