[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-11 Thread JPT
sorry...
I think the only kernel yet that did not suffer was 
https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/
5.4.0-997_5.4.0-997

will try 5.5-rc1

[1] is not totally equal, but may be related.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-11 Thread JPT
There is for sure a bug. 
As I said, I know how a system behaves that is suffering from too much swapping.

My case is far worse.

and still, about once a day the GUI is completely locked. this cannot be
explained from swapping and cannot be solved by disabling swap.

I think the only kernel yet that did not suffer was

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-11 Thread Kai-Heng Feng
According to the description there's no swap in the end, so I think it's
like discussion in [1]. So yes, I think it's still a kernel bug.

For desktop usage, [2] [3] are mentioned by dsd in the discussion. Maybe
we can adopt those daemon as an OOM killer for desktops.

[1] https://lkml.org/lkml/2019/8/4/15
[2] 
https://github.com/endlessm/eos-boot-helper/blob/master/psi-monitor/psi-monitor.c
[3] https://gitlab.freedesktop.org/hadess/low-memory-monitor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-10 Thread Daniel van Vugt
I'm not really sure this is a bug. It sounds like expected behaviour:

1. Disk gets thrashed.
2. Any processes relying on memory swapping to/from that disk get delayed.

No particular process is doing anything wrong. Just if you want to avoid
that situation then maybe don't configure swap on such a disk.

Then if you can survive without swap, problem solved. If you still need
swapping for other reasons then either do so on a different disk or add
more RAM, or run fewer programs.

I don't think there's any bug here(?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-10 Thread Kai-Heng Feng
Please test latest mainline kernel:
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.5-rc1/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-08 Thread Daniel van Vugt
Thanks. This looks like the cause of high disk IO at least:

jan   3400  0.0  0.0   2600   676 pts/8SDez07   0:00 /bin/sh 
/usr/bin/bcompare RAID/Incoming/NAS-DATEN/ jan/NAS-DATEN/
jan   3412 70.7 11.3 2759972 1851804 pts/8 Sl   Dez07 900:13 
/usr/bin/bcompare RAID/Incoming/NAS-DATEN/ jan/NAS-DATEN/

** Changed in: linux (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-08 Thread JPT
attached "ps auxw" while GUI was freezed. 
kernel 5.4.1-050401-generic
no swap
I restarted GUI using /etc/init.d/sddm restart
right now only the KDE taskbar and menu are locked, Alt-Tab and programs still 
work. (this is a rather new phenomena)
I already experienced this once, where some programs were freezed too (eg 
libreoffice) and others weren't. I only got a message like "program does not 
answer, force close it"?
maybe this is a second hand problem as some inter-process communication locks 
apps when KDE is locked?

after about 5 minutes KDE bar crashed and restarted. now works.

from syslog while KDE bar locked:
pulseaudio[30539]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: 
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes 
include: the remote application did not send a reply, the message bus security 
policy blocked the reply, the reply timeout expired, or the network connection 
was broken.
...
PackageKit: daemon quit
systemd[1]: packagekit.service: Main process exited, code=killed, status=15/TERM
systemd[1]: packagekit.service: Succeeded.
...
dbus-daemon[1772]: [system] Activating via systemd: service 
name='org.freedesktop.PackageKit' unit='packagekit.service' requested by 
':1.679' (uid=1000 pid=32050 comm="/usr/bin/plasmashell ")
systemd[1]: Starting PackageKit Daemon...
PackageKit: daemon start
dbus-daemon[1772]: [system] Successfully activated service 
'org.freedesktop.PackageKit'
systemd[1]: Started PackageKit Daemon.


** Attachment added: "processes.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+attachment/5310701/+files/processes.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1852001] Re: KDE GUI freeze on high disk IO, but disabling swap fixes it

2019-12-06 Thread Daniel van Vugt
** Summary changed:

- GUI freeze on high disk IO, but disabling swap fixes it
+ KDE GUI freeze on high disk IO, but disabling swap fixes it

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852001

Title:
  KDE GUI freeze on high disk IO, but disabling swap fixes it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1852001/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs