#26 Le 19/10/2019, à 22:33
- melixgaro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Je pense qu'il faudrait un retour de top ou autre diagnostique du genre pour identifier le processus qui écrit en permanence. Ça peut être un processus d'indexation de fichiers (genre updatedb) ou de sauvegarde (dejadup ?).
Stp retours de ceci
crontab -l
et
sudo crontab -l
Linux depuis ~2007. Xubuntu seulement.
Hors ligne
#27 Le 19/10/2019, à 23:40
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Merci melixgaro !
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#28 Le 20/10/2019, à 12:49
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Alors, ce matin, il a récupéré l'espace dispo habituellement : j'ai 30,3 Gio d'espace libre (donc 10 de plus qu'après le nettoyage des noyaux).
sudo find /root/.thumbnails -type f -name "*" -exec rm -f "{}" \;
aucun retour...
sudo du -a --max-depth=2 /root/.local | sort -h | tail -20
0 /root/.local/share/.converted-launchers
4 /root/.local/share/recently-used.xbel
2016 /root/.local/share/zeitgeist
531668 /root/.local/share/Trash
533692 /root/.local/share
533696 /root/.local
Je reprends après le démarrage du bousin.
Hors ligne
#29 Le 20/10/2019, à 13:04
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Quand je te prie de remontrer
sudo apt-get update
ce n'est pas pour que tu donnes ton sentiment, c'est pour que les aidants puissent lire le retour.
Pardon
Concernant les 730 Mio de deja-dup,
je ne suis pas compétent.
Toutefois, si ton disque est de nouveau plein dans les jours qui viennent, tu auras intérêt à vérifier que deja-dup n'est pas réglé pour sauvegarder ton home à l'intérieur de lui-même (gag déjà vu sur ce forum).
Comment je fais ça (vérifier que deja-dup n'est pas réglé pour sauvegarder mon home de l'inétrieur) ?
Hors ligne
#30 Le 20/10/2019, à 13:07
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
crontab -l et sudo crontab -l renvoient
no crontab for pierre
Après redémarrage, nautilus graphique m'indique 30,8 Gio... on dirait que c'est un jour avec !
Hors ligne
#31 Le 20/10/2019, à 13:40
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
sudo du -a --max-depth=2 /root/.local | sort -h | tail -20 0 /root/.local/share/.converted-launchers 4 /root/.local/share/recently-used.xbel 2016 /root/.local/share/zeitgeist 531668 /root/.local/share/Trash 533692 /root/.local/share 533696 /root/.local
Alors COPIE-COLLE cette ligne :
mkdir -v /tmp/A ; sudo mv -vf /root/.local/share/.converted-launchers /tmp/A ; sudo mv -f /root/.local/share/zeitgeist /tmp/A ; sudo mv -f /root/.local/share/Trash/* /tmp/A
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#32 Le 20/10/2019, à 13:49
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
mkdir -v /tmp/A ; sudo mv -vf /root/.local/share/.converted-launchers /tmp/A ; sudo mv -f /root/.local/share/zeitgeist /tmp/A ; sudo mv -f /root/.local/share/Trash/* /tmp/A
3'/root/.local/share/.converted-launchers' -> '/tmp/A/.converted-launchers'
mv: impossible d'évaluer '/root/.local/share/Trash/*': Aucun fichier ou dossier de ce type
Hors ligne
#33 Le 20/10/2019, à 14:01
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Montre
sudo du -a --max-depth=3 /root | sort -h | tail -20
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#34 Le 20/10/2019, à 14:07
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
sudo du -a --max-depth=3 /root | sort -h | tail -20
8 /root/.thumbnails/fail
12 /root/.config/gedit/accels
16 /root/.config/gedit
16 /root/.synaptic
20 /root/.cache/webkit/icondatabase
24 /root/.cache/webkit
24 /root/.dbus/session-bus
28 /root/.dbus
48 /root/.config
228 /root/.thumbnails/normal
240 /root/.thumbnails
900 /root/.gstreamer-0.10/registry.x86_64.bin
904 /root/.gstreamer-0.10
984 /root/.cache/wallpaper/0_5_1280_1024_792beab7550410d531e55f95b449f135
988 /root/.cache/wallpaper
1024 /root/.cache
531668 /root/.local/share/Trash
531676 /root/.local/share
531680 /root/.local
533992 /root
Hors ligne
#35 Le 20/10/2019, à 14:15
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Montre
sudo mv -vf /root/.cache/wallpaper /tmp/A
et
ls -la /
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#36 Le 20/10/2019, à 14:35
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
sudo mv -vf /root/.cache/wallpaper /tmp/A
'/root/.cache/wallpaper' -> '/tmp/A/wallpaper'
ls -la /
total 10128
drwxr-xr-x 25 root root 4096 oct. 1 17:51 .
drwxr-xr-x 25 root root 4096 oct. 1 17:51 ..
drwxr-xr-x 2 root root 4096 déc. 30 2017 2
drwxr-xr-x 2 root root 4096 sept. 26 19:11 bin
drwxr-xr-x 4 root root 32768 oct. 19 19:32 boot
drwxr-xr-x 2 root root 4096 oct. 21 2013 cdrom
-rw------- 1 root root 10223616 sept. 27 00:39 core
drwxr-xr-x 19 root root 4440 oct. 20 12:58 dev
drwxr-xr-x 171 root root 12288 oct. 17 23:35 etc
drwxr-xr-x 6 root root 4096 juil. 15 21:13 home
lrwxrwxrwx 1 root root 33 oct. 1 17:51 initrd.img -> boot/initrd.img-4.4.0-165-generic
lrwxrwxrwx 1 root root 33 oct. 1 17:51 initrd.img.old -> boot/initrd.img-4.4.0-164-generic
drwxr-xr-x 25 root root 4096 sept. 27 00:22 lib
drwxr-xr-x 2 root root 4096 sept. 26 17:56 lib64
lrwxrwxrwx 1 root root 36 févr. 27 2015 libnss3.so -> /usr/lib/x86_64-linux-gnu/libnss3.so
drwx------ 2 root root 16384 oct. 21 2013 lost+found
drwxr-xr-x 5 root root 4096 juil. 17 12:38 media
drwxr-xr-x 2 root root 4096 sept. 26 17:55 mnt
drwxr-xr-x 3 root root 4096 juin 23 2018 opt
dr-xr-xr-x 239 root root 0 oct. 20 12:57 proc
drwx------ 15 root root 4096 sept. 30 23:46 root
drwxr-xr-x 27 root root 840 oct. 20 12:58 run
drwxr-xr-x 2 root root 12288 oct. 1 17:50 sbin
drwxr-xr-x 2 root root 4096 sept. 27 00:35 snap
drwxr-xr-x 2 root root 4096 févr. 13 2013 srv
dr-xr-xr-x 13 root root 0 oct. 20 12:57 sys
drwxrwxrwt 16 root root 4096 oct. 20 14:33 tmp
drwxr-xr-x 12 root root 4096 sept. 26 19:34 usr
drwxr-xr-x 16 root root 4096 sept. 26 19:31 var
lrwxrwxrwx 1 root root 30 oct. 1 17:51 vmlinuz -> boot/vmlinuz-4.4.0-165-generic
lrwxrwxrwx 1 root root 30 oct. 1 17:51 vmlinuz.old -> boot/vmlinuz-4.4.0-164-generic
Hors ligne
#37 Le 20/10/2019, à 14:47
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
À l'avenir, merci de penser à toujours donner des retours complets.
Un retour complet doit contenir toutes les lignes, et entières,
depuis celle de la commande
jusqu'à la ligne attendant la commande suivante, exemple :
moi@mon-pc~$: ma-commande
son retour
moi@mon-pc~$:
Et ce, MÊME POUR UN RETOUR VIDE !
Ex :
moko@pc-c:~$ dpkg --list | grep Catherine-Langeais-aime-Léon-Zitrone
moko@pc-c:~$
.
Faute de quoi, il manque souvent à ceux qui tentent de t'aider des éléments essentiels.
Merci de fournir le retour complet de
mkdir -v /tmp/A ; echo; sudo mv -f /root/.local/share/Trash /tmp/A
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#38 Le 20/10/2019, à 14:57
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
ok, c'est noté.
pierre@pierre-System-Product-Name:~$ mkdir -v /tmp/A ; echo; sudo mv -f /root/.local/share/Trash /tmp/A
mkdir: impossible de créer le répertoire «/tmp/A»: Le fichier existe
[sudo] Mot de passe de pierre :
pierre@pierre-System-Product-Name:~$
Hors ligne
#39 Le 20/10/2019, à 14:58
- melixgaro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Je suggère de ne pas redémarrer l'ordinateur tant que le contenu /tmp/A n'a pas été inspecté. Sinon, ça sera trop tard pour se poser les questions (/tmp étant vide au redémarrage suivant).
Linux depuis ~2007. Xubuntu seulement.
Hors ligne
#40 Le 20/10/2019, à 14:59
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
OK ! Remontre :
sudo du -a --max-depth=3 /root | sort -h | tail -20
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#41 Le 20/10/2019, à 15:15
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
pierre@pierre-System-Product-Name:~$ sudo du -a --max-depth=3 /root | sort -h | tail -20
[sudo] Mot de passe de pierre :
8 /root/.config/eog
8 /root/.gnome2
8 /root/.local/share
8 /root/.synaptic/log
8 /root/.thumbnails/fail
12 /root/.config/gedit/accels
12 /root/.local
16 /root/.config/gedit
16 /root/.synaptic
20 /root/.cache/webkit/icondatabase
24 /root/.cache/webkit
24 /root/.dbus/session-bus
28 /root/.dbus
36 /root/.cache
48 /root/.config
228 /root/.thumbnails/normal
240 /root/.thumbnails
900 /root/.gstreamer-0.10/registry.x86_64.bin
904 /root/.gstreamer-0.10
1336 /root
pierre@pierre-System-Product-Name:~$
Hors ligne
#42 Le 20/10/2019, à 15:25
- melixgaro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
Ce compte root est inhabituellement peuplé quand même. As-tu fait usage de sudo nautilus ou sudo + appli graphique ?
Peux-tu donner ceci stp ?
(liste le contenu du dossier en question, censure les infos privées s'il y en a en remplaçant par des xx)
sudo ls -lha /root/.thumbnails/normal
Pour toi, par acquis de conscience, inspecte le contenu des dossiers déplacés dans /tmp/A avec ces commandes
sudo ls -lha /tmp/A/Trash
et
sudo ls -lha /tmp/A/wallpaper
/tmp sera vidé au prochain démarrage, donc si tu vois des choses à garder dis-le sans attendre.
Linux depuis ~2007. Xubuntu seulement.
Hors ligne
#43 Le 20/10/2019, à 15:37
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
En #4, /root pesait 608 Mio.
En #41, /root pèse 1 Mio (1336 kio).
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#44 Le 20/10/2019, à 15:39
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
pierre@pierre-System-Product-Name:~$ sudo ls -lha /root/.thumbnails/normal
[sudo] Mot de passe de pierre :
total 232K
drwx------ 2 root root 224K oct. 20 03:09 .
drwx------ 4 root root 4,0K févr. 14 2014 ..
pierre@pierre-System-Product-Name:~$
Et, oui, il m'arrive régulièrement d'utiliser sudo nautilus... je viens de lire que c'était à éviter, je pensais que le souci principal était qu'on pouvait supprimer des fichiers importants et que du coup il suffisait de faire gaffe..?
Dernière modification par Le Pedro (Le 20/10/2019, à 15:41)
Hors ligne
#45 Le 20/10/2019, à 15:43
- melixgaro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
oui, moko, j'ai bien vu que grâce à tes actions, /root a maigri. Il n'aurait jamais dû atteindre une telle taille.
Est-ce que tu surveilles la place dispo aujourd'hui ? Constates-tu le même comportement qu'avant, c'est-à-dire qu'elle diminue toute seule au fil du temps ?
Linux depuis ~2007. Xubuntu seulement.
Hors ligne
#46 Le 20/10/2019, à 15:58
- moko138
Re : pb unity -> .cache/upstart/unity7.log monstrueux
melixgaro, je sais bien que tu as vu ; c'est pour Le Pedro que je soulignais.
- -
Merci de remontrer :
echo ; df -Th | grep -Ev "udev|tmpfs|loop"
(l'instrument de mesure de l'espace).
et les noyaux :
echo; dpkg -l | grep -Ei "linux-(g|h|i|lo|mo|si|t)" | grep -Ev "^rc|binutils" | sort -k3 | awk '{print $1,$2,$3,$4}' | column -s" " -t ; echo -e "\nNoyau courant : $(uname -mr)"
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#47 Le 20/10/2019, à 16:12
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
la place dispo reste stable aujourd'hui. Je précise que c'est souvent le cas, mais ça dépend des jours...
pierre@pierre-System-Product-Name:~$ echo ; df -Th | grep -Ev "udev|tmpfs|loop"
Sys. de fichiers Type Taille Utilisé Dispo Uti% Monté sur
/dev/sda5 ext4 425G 375G 29G 93% /
pierre@pierre-System-Product-Name:~$
pierre@pierre-System-Product-Name:~$ echo; dpkg -l | grep -Ei "linux-(g|h|i|lo|mo|si|t)" | grep -Ev "^rc|binutils" | sort -k3 | awk '{print $1,$2,$3,$4}' | column -s" " -t ; echo -e "\nNoyau courant : $(uname -mr)"
ii linux-headers-generic-lts-quantal 3.13.0.170.181 amd64
ii linux-image-generic-lts-trusty 3.13.0.170.181 amd64
ii linux-image-generic-lts-quantal 3.13.0.170.181 amd64
ii linux-generic-lts-trusty 3.13.0.170.181 amd64
ii linux-generic-lts-quantal 3.13.0.170.181 amd64
ii linux-headers-4.4.0-164 4.4.0-164.192 all
ii linux-modules-4.4.0-164-generic 4.4.0-164.192 amd64
ii linux-modules-extra-4.4.0-164-generic 4.4.0-164.192 amd64
ii linux-headers-4.4.0-164-generic 4.4.0-164.192 amd64
ii linux-image-4.4.0-164-generic 4.4.0-164.192 amd64
ii linux-generic 4.4.0.165.173 amd64
ii linux-headers-generic 4.4.0.165.173 amd64
ii linux-image-generic 4.4.0.165.173 amd64
ii linux-headers-4.4.0-165 4.4.0-165.193 all
ii linux-modules-4.4.0-165-generic 4.4.0-165.193 amd64
ii linux-modules-extra-4.4.0-165-generic 4.4.0-165.193 amd64
ii linux-headers-4.4.0-165-generic 4.4.0-165.193 amd64
ii linux-image-4.4.0-165-generic 4.4.0-165.193 amd64
Noyau courant : 4.4.0-165-generic x86_64
pierre@pierre-System-Product-Name:~$
Hors ligne
#48 Le 20/10/2019, à 16:14
- nany
Re : pb unity -> .cache/upstart/unity7.log monstrueux
echo ; df -Th | grep -Ev "udev|tmpfs|loop"
(l'instrument de mesure de l'espace).
Pour s’affranchir de grep :
df -Thx tmpfs -x devtmpfs -x squashfs
(Vers l’infini et au-delà !)
Hors ligne
#49 Le 20/10/2019, à 16:15
- nany
Re : pb unity -> .cache/upstart/unity7.log monstrueux
pierre@pierre-System-Product-Name:~$ echo; dpkg -l | grep -Ei "linux-(g|h|i|lo|mo|si|t)" | grep -Ev "^rc|binutils" | sort -k3 | awk '{print $1,$2,$3,$4}' | column -s" " -t ; echo -e "\nNoyau courant : $(uname -mr)" ii linux-headers-generic-lts-quantal 3.13.0.170.181 amd64 ii linux-image-generic-lts-trusty 3.13.0.170.181 amd64 ii linux-image-generic-lts-quantal 3.13.0.170.181 amd64 ii linux-generic-lts-trusty 3.13.0.170.181 amd64 ii linux-generic-lts-quantal 3.13.0.170.181 amd64
Ces paquets peuvent être désinstallés.
Hors ligne
#50 Le 20/10/2019, à 16:16
- Le Pedro
Re : pb unity -> .cache/upstart/unity7.log monstrueux
moko138 a écrit :echo ; df -Th | grep -Ev "udev|tmpfs|loop"
(l'instrument de mesure de l'espace).
Pour s’affranchir de grep :
df -Thx tmpfs -x devtmpfs -x squashfs
(Vers l’infini et au-delà !)
Je lance cette commande ? Le résultat est le même qu'au message #47
Dernière modification par Le Pedro (Le 20/10/2019, à 16:17)
Hors ligne