gnome continuously writing on disk

John Anderson sysop183 at yahoo.co.uk
Thu Apr 27 16:06:04 UTC 2017


Hi, Javier

Don't know why this is happening to you, however I hop this helps.....

http://www.howtoeverything.net/linux/hardware/permanently-configure-hard-drives-spin-down-after-given-idle-time

On 27/04/17 11:47, Javier Marcon wrote:
> Hello, I upgraded from Ubuntu Gnome Trusty to Xenial, and gnome-session
> is writing the disk all time. It has already ruined one disk an I need
> to make it stop.
>
> The output of iotop -o is:
>
> Total DISK READ :       0.00 B/s | Total DISK WRITE :      60.97 K/s
> Actual DISK READ:       0.00 B/s | Actual DISK WRITE:       0.00 B/s
>   TID  PRIO  USER     DISK READ  DISK WRITE  SWAPIN     IO>   
> COMMAND         
>  3373 be/4 javier      0.00 B/s    0.00 B/s  0.00 % 64.46 % gnome-shell
>  9360 be/4 javier      0.00 B/s    0.00 B/s  0.00 % 29.67 % player --~
> 1920x1200
>   686 be/3 root        0.00 B/s   53.35 K/s  0.00 % 16.49 % [jbd2/sda5-8]
>  9604 be/4 javier      0.00 B/s    0.00 B/s  0.00 % 14.25 % player --~
> 2560x1600
>  9404 be/4 javier      0.00 B/s    0.00 B/s  0.00 % 14.13 % player --~
> 1920x1200
>  9354 be/4 javier      0.00 B/s    0.00 B/s  0.00 % 12.67 % player --~
> 2560x1600
>  2468 be/4 javier      0.00 B/s    0.00 B/s  0.00 %  5.15 % Xorg vt7
> ~-verbose 3
>  8746 be/4 javier      0.00 B/s    3.81 K/s  0.00 %  0.00 % VBoxHeadl~ig
> [ATA-0]
>  9344 be/4 javier      0.00 B/s    3.81 K/s  0.00 %  0.00 % adb -s 19~at
> -v time
>
> I tried all solutions I found but it still happens the same. Tried
> decreasing swappiness, disk write time, etc.
>
> I ran hdparm -B 254 /dev/sda
>
> adden in /etc/sysctl.conf:
> vm.swappiness=10
> vm.dirty_ratio = 40
> vm.dirty_background_ratio = 1
> vm.dirty_writeback_centisecs = 6000
>
> added noatime,commit=60 to every entry of /etc/fstab (and rebooted)
>
> I will appreciate any information, clue or advice to make me solve this
> problem.
>
> Thanks,
>
> Javier.
>


-- 
Best Regards
John






More information about the ubuntu-users mailing list