Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/10/2017, à 02:50

castor_foudroyant

[Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Bonjour à tous

je crois avoir une config desktop assez classique sur un portable dell xps13. Bon une particularité peut-etre est que je continue pour le moment d'utiliser unity.

Depuis le passage à 17.10, j'ai une consommation permanent de 1,5 coeurs pour systemd-resolve et dnsmasq.

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
925 systemd+  20   0   67476   7552   5104 R  98,3  0,1  82:48.57 systemd-resolve
954 dnsmasq   20   0   57440   2840   2420 R  51,2  0,0  38:50.39 dnsmasq

J'ai poste dans le forum americain egalement mais sans aucune reponse : https://ubuntuforums.org/showthread.php?t=2375489

Ca ressemble bcp à [Résolu] Systmd-resolve à 100% qui etait sur la version 17.04 mais la resolution ne fonctionne pas dans mon cas.

une idee peut-etre ?

Dernière modification par castor_foudroyant (Le 28/10/2017, à 19:32)

Hors ligne

#2 Le 28/10/2017, à 05:22

xubu1957

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 28/10/2017, à 05:29

castor_foudroyant

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Oui. Je l'avais fait pendant la mise à jour.
Je n'ai pas de problème de réseau ou de résolution dns. Tout fonctionne sauf le cpu qui tourne comme un fou (ce qui déclenche le ventilo)

Hors ligne

#4 Le 28/10/2017, à 05:31

xubu1957

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Tu as quel noyau ?
Fournis :

uname -r

Et le stock des noyaux :

dpkg -l | grep -Ei "linux-(g|h|i|lo|si|t)"

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 28/10/2017, à 16:39

castor_foudroyant

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Noyau en cours

uname -r
4.13.0-16-generic

Stock des noyaux

dpkg -l | grep -Ei "linux-(g|h|i|lo|si|t)"
ii  binutils-x86-64-linux-gnu                       2.29.1-4ubuntu1                             amd64        GNU binary utilities, for x86-64-linux-gnu target
ii  linux-generic                                   4.13.0.16.17                                amd64        Complete Generic Linux kernel and headers
ii  linux-headers-4.13.0-16                         4.13.0-16.19                                all          Header files related to Linux kernel version 4.13.0
ii  linux-headers-4.13.0-16-generic                 4.13.0-16.19                                amd64        Linux kernel headers for version 4.13.0 on 64 bit x86 SMP
ii  linux-headers-generic                           4.13.0.16.17                                amd64        Generic Linux kernel headers
rc  linux-image-4.10.0-19-generic                   4.10.0-19.21                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-20-generic                   4.10.0-20.22                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-21-generic                   4.10.0-21.23                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-22-generic                   4.10.0-22.24                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-24-generic                   4.10.0-24.28                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-26-generic                   4.10.0-26.30                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-28-generic                   4.10.0-28.32                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-30-generic                   4.10.0-30.34                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-32-generic                   4.10.0-32.36                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-33-generic                   4.10.0-33.37                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-4.10.0-35-generic                   4.10.0-35.39                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-4.10.0-37-generic                   4.10.0-37.41                                amd64        Linux kernel image for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-4.13.0-16-generic                   4.13.0-16.19                                amd64        Linux kernel image for version 4.13.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-22-generic                    4.8.0-22.24                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-26-generic                    4.8.0-26.28                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-27-generic                    4.8.0-27.29                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-28-generic                    4.8.0-28.30                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-30-generic                    4.8.0-30.32                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-32-generic                    4.8.0-32.34                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-34-generic                    4.8.0-34.36                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-37-generic                    4.8.0-37.39                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-38-generic                    4.8.0-38.41                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-39-generic                    4.8.0-39.42                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-41-generic                    4.8.0-41.44                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-42-generic                    4.8.0-42.45                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-45-generic                    4.8.0-45.48                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-4.8.0-46-generic                    4.8.0-46.49                                 amd64        Linux kernel image for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-19-generic             4.10.0-19.21                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-20-generic             4.10.0-20.22                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-21-generic             4.10.0-21.23                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-22-generic             4.10.0-22.24                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-24-generic             4.10.0-24.28                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-26-generic             4.10.0-26.30                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-28-generic             4.10.0-28.32                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-30-generic             4.10.0-30.34                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-32-generic             4.10.0-32.36                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-33-generic             4.10.0-33.37                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
rc  linux-image-extra-4.10.0-35-generic             4.10.0-35.39                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.10.0-37-generic             4.10.0-37.41                                amd64        Linux kernel extra modules for version 4.10.0 on 64 bit x86 SMP
ii  linux-image-extra-4.13.0-16-generic             4.13.0-16.19                                amd64        Linux kernel extra modules for version 4.13.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-22-generic              4.8.0-22.24                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-26-generic              4.8.0-26.28                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-27-generic              4.8.0-27.29                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-28-generic              4.8.0-28.30                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-30-generic              4.8.0-30.32                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-32-generic              4.8.0-32.34                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-34-generic              4.8.0-34.36                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-37-generic              4.8.0-37.39                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-38-generic              4.8.0-38.41                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-39-generic              4.8.0-39.42                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-41-generic              4.8.0-41.44                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-42-generic              4.8.0-42.45                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-45-generic              4.8.0-45.48                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
rc  linux-image-extra-4.8.0-46-generic              4.8.0-46.49                                 amd64        Linux kernel extra modules for version 4.8.0 on 64 bit x86 SMP
ii  linux-image-generic                             4.13.0.16.17                                amd64        Generic Linux kernel image
ii  linux-signed-generic                            4.13.0.16.17                                amd64        Complete Signed Generic Linux kernel and headers
rc  linux-signed-image-4.10.0-19-generic            4.10.0-19.21                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-20-generic            4.10.0-20.22                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-21-generic            4.10.0-21.23                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-22-generic            4.10.0-22.24                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-24-generic            4.10.0-24.28                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-26-generic            4.10.0-26.30                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-28-generic            4.10.0-28.32                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-30-generic            4.10.0-30.34                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-32-generic            4.10.0-32.36                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-33-generic            4.10.0-33.37                                amd64        Signed kernel image generic
rc  linux-signed-image-4.10.0-35-generic            4.10.0-35.39                                amd64        Signed kernel image generic
ii  linux-signed-image-4.10.0-37-generic            4.10.0-37.41                                amd64        Signed kernel image generic
ii  linux-signed-image-4.13.0-16-generic            4.13.0-16.19                                amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-22-generic             4.8.0-22.24                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-26-generic             4.8.0-26.28                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-27-generic             4.8.0-27.29                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-28-generic             4.8.0-28.30                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-30-generic             4.8.0-30.32                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-32-generic             4.8.0-32.34                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-34-generic             4.8.0-34.36                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-37-generic             4.8.0-37.39                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-38-generic             4.8.0-38.41                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-39-generic             4.8.0-39.42                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-41-generic             4.8.0-41.44                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-42-generic             4.8.0-42.45                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-45-generic             4.8.0-45.48                                 amd64        Signed kernel image generic
rc  linux-signed-image-4.8.0-46-generic             4.8.0-46.49                                 amd64        Signed kernel image generic
ii  linux-signed-image-generic                      4.13.0.16.17                                amd64        Signed Generic Linux kernel image

ca aide ?

Hors ligne

#6 Le 28/10/2017, à 17:18

grandtoubab

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Salut
Faut regarder l'état de ces services

systemctl status systemd-resolve -l --no-pager
systemctl status dnsmasq  -l --no-pager

Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....

Hors ligne

#7 Le 28/10/2017, à 17:25

castor_foudroyant

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

systemctl status systemd-resolved -l --no-pager
● systemd-resolved.service - Network Name Resolution
   Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2017-10-28 00:00:15 EDT; 12h ago
     Docs: man:systemd-resolved.service(8)
           https://www.freedesktop.org/wiki/Software/systemd/resolved
           https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
           https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
 Main PID: 11550 (systemd-resolve)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/systemd-resolved.service
           └─11550 /lib/systemd/systemd-resolved

oct. 28 00:00:15 XPS systemd[1]: Starting Network Name Resolution...
oct. 28 00:00:15 XPS systemd-resolved[11550]: Positive Trust Anchors:
oct. 28 00:00:15 XPS systemd-resolved[11550]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5
oct. 28 00:00:15 XPS systemd-resolved[11550]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
oct. 28 00:00:15 XPS systemd-resolved[11550]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa corp home internal intranet lan local private test
oct. 28 00:00:15 XPS systemd-resolved[11550]: Using system hostname 'XPS'.
oct. 28 00:00:15 XPS systemd[1]: Started Network Name Resolution.
oct. 28 11:32:52 XPS systemd-resolved[11550]: Using degraded feature set (UDP) for DNS server 127.0.0.1.
oct. 28 11:32:56 XPS systemd-resolved[11550]: Using degraded feature set (TCP) for DNS server 127.0.0.1.
systemctl status dnsmasq  -l --no-pager
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2017-10-27 21:43:01 EDT; 14h ago
  Process: 983 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
  Process: 963 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
  Process: 951 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 982 (dnsmasq)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/dnsmasq.service
           └─982 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5 --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d

oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for 10.0.0.17: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for fe80::fb58:ee60:a5eb:7da1%wlan0: Permission denied
oct. 28 12:20:09 XPS dnsmasq[982]: failed to create listening socket for fe80::fb58:ee60:a5eb:7da1%wlan0: Permission denied

Hors ligne

#8 Le 28/10/2017, à 18:07

grandtoubab

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Perso je suis sur Debian et le fonctionnement n'est pas identique mais ces erreurs Permission Denied dans dnsmas ça sent l'erreur de configuration a voir avec les gens d'Ubuntu

Simplement pour info
dans /etc/dnsmasq.conf je l'utilise comme ça ( à ne pas pomper bestialement lol ) simplement la fonction cache dns

# conf perso
port=0
listen-address=127.0.0.1
no-hosts
log-queries

Dernière modification par grandtoubab (Le 28/10/2017, à 18:10)


Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....

Hors ligne

#9 Le 28/10/2017, à 18:58

castor_foudroyant

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Merci beaucoup @grandtoubab

J'qi tenté un

sudo dpkg-reconfigure dnsmasq

Et apres ça

systemctl status dnsmasq  -l --no-pager
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2017-10-28 13:53:13 EDT; 51s ago
  Process: 16817 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
  Process: 16878 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
  Process: 16869 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
  Process: 16868 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 16877 (dnsmasq)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/dnsmasq.service
           └─16877 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,49aac11d7b6f6446702e54a1607371607a1a41855200fd2ce1cdde32f24e8fb5 --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d

oct. 28 13:53:03 XPS systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
oct. 28 13:53:03 XPS dnsmasq[16868]: dnsmasq: syntax check OK.
oct. 28 13:53:03 XPS dnsmasq[16877]: started, version 2.78 cachesize 150
oct. 28 13:53:03 XPS dnsmasq[16877]: DNS service limited to local subnets
oct. 28 13:53:03 XPS dnsmasq[16877]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
oct. 28 13:53:03 XPS dnsmasq[16877]: no servers found in /run/dnsmasq/resolv.conf, will retry
oct. 28 13:53:03 XPS dnsmasq[16877]: read /etc/hosts - 14 addresses
oct. 28 13:53:03 XPS dnsmasq[16877]: reading /run/dnsmasq/resolv.conf
oct. 28 13:53:03 XPS dnsmasq[16877]: using nameserver 127.0.0.53#53
oct. 28 13:53:13 XPS systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.

Mais ca ne change rien au probleme, toujours le pb de consommation CPU.

La config de dnsmasq est completement vierge (enfin que des valeurs par defaut)

Hors ligne

#10 Le 28/10/2017, à 19:13

grandtoubab

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Verifies Networkanager

 systemctl status NetworkManager.service -l --no-pager

Tu peux aussi vérifier que d'autres services ne sont pas en échec

 systemctl --failed

pour lister les services

systemctl --no-pager

Dernière modification par grandtoubab (Le 28/10/2017, à 19:18)


Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....

Hors ligne

#11 Le 28/10/2017, à 19:30

castor_foudroyant

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Visiblement il y a une boucle entre dnsmasq et systemd-resolved.

Et quand cette boucle apparait j'ai ce message dans

systemctl status dnsmasq  -l --no-pager

:

Maximum number of concurrent DNS queries reached

En ajoutant DNSMASQ_EXCEPT=lo dans /etc/default/dnsmasq, visiblement ca corrige le truc.
J'ai pas bien compris le probleme. Je marque resolu et si ca revient je relance la discussion.

Dernière modification par castor_foudroyant (Le 28/10/2017, à 19:30)

Hors ligne

#12 Le 28/10/2017, à 19:53

grandtoubab

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

OK  neutral

avec
port=0 dans /etc/dnsmasq.conf
ou
DNSMASQ_EXCEPT=lo dans /etc/default/dnsmasq

on indique que les dns ne sont pas fourni par dnsmasq
Dans mon Debian c'est dhcp-client qui le fait car j'ai choisi mes dns et je n'utilise âs ceux de mon fai
dans ton Ubuntu peut etre l'autre service systemd-resolve


cf le code dans /etc/init.d/dnsmasq

start_resolvconf()
{
# If interface "lo" is explicitly disabled in /etc/default/dnsmasq
# Then dnsmasq won't be providing local DNS, so don't add it to
# the resolvconf server set.
	for interface in $DNSMASQ_EXCEPT
	do
		[ $interface = lo ] && return
	done

# Also skip this if DNS functionality is disabled in /etc/dnsmasq.conf
	if grep -qs '^port=0' /etc/dnsmasq.conf; then
		return
	fi

        if [ -x /sbin/resolvconf ] ; then
		echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.$NAME
	fi
	return 0
}

Linux tout seul sur HP Pavilion DV7 et Acer Aspire T650, Canon MG3650 en wifi
Debian 11 Bullseye Gnome/Xorg, Gnome/Wayland avec SDDM
https://bidouilledebian.wordpress.com/
ON M'A VU DANS LE VERCORS, SAUTER A L'ELASTIQUE..... J'AI DANS LES BOTTES DES MONTAGNES DE QUESTIONS....

Hors ligne

#13 Le 28/10/2017, à 21:20

xubu1957

Re : [Résolu] Systmd-resolve à 100% dnsmasq à 50% depuis le passage a 17.10

Pour un nettoyage des résidus :

Le 20/02/2017, moko138 a écrit :

Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers,
exécute :

dpkg -l | grep ^rc | cut -d' ' -f3 | xargs sudo dpkg --purge

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne