Syslog e kern.log saturano la root
Syslog e kern.log saturano la root
Salve a tutti, qualche giorno fa volendo vedere una risonanza magnetica con un programma di nome Alizams il mio PC un vecchio i5 di seconda generazione con 8 giga di ram si è piantato presumo perchè le immagini dicom erano troppe, poco dopo mi sono accorto che il pc non rispondeva bene e per un po non partiva proprio, mi è poi comparso un messaggio di spazio esaurito, allora sono andato nella cartella /var/log dove ho potuto constatare che i due log superavano i 3 giga ciascuno saturandomi così la partizione root, facendo una ricerca ho trovato un comando per azzerare i suddetti log sudo tee /var/log/syslog /dev/zero . Dopo diversi giorni oggi il problema si è ripresentato senza che io facessi nulla di pesante. Mi chiedevo e vi chiedo se si può evitare che il problema si ripresenti qual'ora sia possibile. Vi ringrazio anticipatamente per l'eventuale risposta e vi auguro buon anno anche se tardivamente.
- Eadwine Rose
- Administrator
- Posts: 15187
- Joined: Wed Jul 12, 2006 2:10 am
Re: Syslog e kern.log saturano la root
A tutte le richieste, come da regole del forum (che, se non hai letto, ti prego di leggere), ti prego di condividere le tue informazioni rapide di sistema complete, non modificarle.
Se necessario, è possibile farlo utilizzando la LiveUSB, grazie.
Se necessario, è possibile farlo utilizzando la LiveUSB, grazie.
MX-23.6_x64 July 31 2023 * 6.1.0-38amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030
Re: Syslog e kern.log saturano la root
Code: Select all
[CODE]Snapshot created on: 20241222_0902
System:
Kernel: 6.1.0-28-amd64 [6.1.119-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-28-amd64 root=UUID=<filter> ro splash loglevel=0
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.32.0 Distro: MX-23.4_x64 Libretto January 21 2024 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Desktop Mobo: ASUSTeK model: P8P67 v: Rev 1.xx serial: <superuser required>
UEFI: American Megatrends v: 3602 date: 11/01/2012
CPU:
Info: model: Intel Core i5-2400 bits: 64 type: MCP arch: Sandy Bridge gen: core 2 level: v2
built: 2010-12 process: Intel 32nm family: 6 model-id: 0x2A (42) stepping: 7 microcode: 0x2F
Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB desc: 1x6 MiB
Speed (MHz): avg: 1946 high: 1986 min/max: 1600/3100 scaling: driver: intel_cpufreq
governor: ondemand cores: 1: 1905 2: 1909 3: 1984 4: 1986 bogomips: 24880
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds mitigation: Clear CPU buffers; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; STIBP: disabled; RSB
filling; PBRSB-eIBRS: Not affected; BHI: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI driver: nvidia v: 470.256.02
non-free: series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Fermi 2 code: GF119/GK208
process: TSMC 28nm built: 2010-16 pcie: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 01:00.0
chip-ID: 10de:128b class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.00x11.26") s-diag: 583mm (22.95")
Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 93 size: 527x296mm (20.75x11.65")
diag: 604mm (23.8") modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 470.256.02 renderer: NVIDIA GeForce GT 710/PCIe/SSE2
direct-render: Yes
Audio:
Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: ASUSTeK 6
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
Device-2: NVIDIA GK208 HDMI/DP Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:0e0f class-ID: 0403
API: ALSA v: k6.1.0-28-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK P8P67 and other
motherboards driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: ASUSTek Bluetooth Adapter type: USB driver: btusb v: 0.8 bus-ID: 5-1.7:3
chip-ID: 0b05:179c class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 2.0 lmp-v: 3.0
sub-v: 9999 hci-v: 3.0 rev: 9999
Info: acl-mtu: 1022:8 sco-mtu: 121:3 link-policy: rswitch hold sniff
link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
telephony
Drives:
Local Storage: total: 1.36 TiB used: 148.9 GiB (10.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD1002FAEX-00Z3A0 size: 931.51 GiB
block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1D05
scheme: MBR
ID-2: /dev/sdb maj-min: 8:16 vendor: HP model: SSD S700 500GB size: 465.76 GiB block-size:
physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 5A0 scheme: GPT
Partition:
ID-1: / raw-size: 20.23 GiB size: 19.74 GiB (97.60%) used: 13.27 GiB (67.2%) fs: ext4
dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 6.4 MiB (2.5%) fs: vfat
dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 445.28 GiB size: 437.72 GiB (98.30%) used: 135.62 GiB (31.0%) fs: ext4
dev: /dev/sdb3 maj-min: 8:19
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 3 GiB used: 2.28 GiB (76.1%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 34.0 C mobo: N/A gpu: nvidia temp: 38 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 50%
Repos:
Packages: pm: dpkg pkgs: 2510 libs: 1278 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://it.mxrepo.com/mx/repo/ bookworm main non-free
Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list
1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Info:
Processes: 252 Uptime: 5h 1m wakeups: 1 Memory: 7.72 GiB used: 5.74 GiB (74.4%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Re: Syslog e kern.log saturano la root
Runaway logging è stato recentemente discusso in questo thread
viewtopic.php?t=83244&hilit=var+log
Ci sono alcune grandi idee offerte e varrà la pena leggerle.
viewtopic.php?t=83244&hilit=var+log
Ci sono alcune grandi idee offerte e varrà la pena leggerle.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;
In Linux, newer isn't always better. The best solution is the one that works.