[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2023-09-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=439805

--- Comment #9 from ninj...@gmail.com ---
On OpenRC, each tab already gets a new cgroup via the autocgroup feature
provided by the kernel since 2.6.38.

AFAIK, SystemD wants more visibility, which us why it wants processes to
use its cgroup management API, so that then it can manage those cgroups in
a more personalized way.

On Sunday, September 3, 2023, Yury Zhuravlev 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=439805
>
> Yury Zhuravlev  changed:
>
>What|Removed |Added
> 
> 
>  CC||stalk...@gmail.com
>
> --- Comment #8 from Yury Zhuravlev  ---
> What about OpenRC users? Is it make sense to use a separate cgroup for
> each tab
> on OpenRC?
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2023-09-02 Thread Yury Zhuravlev
https://bugs.kde.org/show_bug.cgi?id=439805

Yury Zhuravlev  changed:

   What|Removed |Added

 CC||stalk...@gmail.com

--- Comment #8 from Yury Zhuravlev  ---
What about OpenRC users? Is it make sense to use a separate cgroup for each tab
on OpenRC?

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2023-09-01 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=439805

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||23.12

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2023-08-28 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=439805

--- Comment #7 from Kurt Hindenburg  ---
Git commit 1525ee3b5ea58b09d551f41b0bd6f0f91589e070 by Kurt Hindenburg, on
behalf of Theodore Wang.
Committed on 29/08/2023 at 01:59.
Pushed by hindenburg into branch 'master'.

Create separate cgroups for processes of each tab

Currently, all the processes created by the application are housed
within the application's cgroup without any futher categorisation.
This causes the entire application to be killed if a process in the
aforementioned cgroup triggers an OOM event.

To prevent the entire application from being killed, a new child cgroup
is created for each new tab. Child cgroups for individual tabs are
named according to this template "tab([session pid for the tab]).scope".
"Background" processes (e.g. such as the main process for running
konsole) are stored in the child cgroup "main.scope".
This restricts the OOM event to only killing the tab which contains
the offending process.


To prevent the entire application from being killed, a new child cgroup is
created for each new tab.
Child cgroups for individual tabs are named according to this template
"tab([session pid for the tab]).scope".
"Background" processes (e.g. such as the main process for running konsole) are
stored in the child cgroup "main.scope".
This restricts the OOM event to only killing the tab which contains the
offending process.

M  +2-0src/CMakeLists.txt
M  +7-0src/MainWindow.cpp
M  +226  -3src/ProcessInfo.cpp
M  +3-1src/ProcessInfo.h
M  +1-1src/session/Session.cpp
A  +18   -0src/settings/MemorySettings.cpp  *
A  +18   -0src/settings/MemorySettings.h  *
A  +62   -0src/settings/MemorySettings.ui
M  +10   -0src/settings/konsole.kcfg

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://invent.kde.org/utilities/konsole/-/commit/1525ee3b5ea58b09d551f41b0bd6f0f91589e070

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2023-08-28 Thread Kurt Hindenburg
https://bugs.kde.org/show_bug.cgi?id=439805

Kurt Hindenburg  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/util
   ||ities/konsole/-/commit/1525
   ||ee3b5ea58b09d551f41b0bd6f0f
   ||91589e070
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #6 from Kurt Hindenburg  ---
Git commit 1525ee3b5ea58b09d551f41b0bd6f0f91589e070 by Kurt Hindenburg, on
behalf of Theodore Wang.
Committed on 29/08/2023 at 01:59.
Pushed by hindenburg into branch 'master'.

Create separate cgroups for processes of each tab

Currently, all the processes created by the application are housed
within the application's cgroup without any futher categorisation.
This causes the entire application to be killed if a process in the
aforementioned cgroup triggers an OOM event.

To prevent the entire application from being killed, a new child cgroup
is created for each new tab. Child cgroups for individual tabs are
named according to this template "tab([session pid for the tab]).scope".
"Background" processes (e.g. such as the main process for running
konsole) are stored in the child cgroup "main.scope".
This restricts the OOM event to only killing the tab which contains
the offending process.


To prevent the entire application from being killed, a new child cgroup is
created for each new tab.
Child cgroups for individual tabs are named according to this template
"tab([session pid for the tab]).scope".
"Background" processes (e.g. such as the main process for running konsole) are
stored in the child cgroup "main.scope".
This restricts the OOM event to only killing the tab which contains the
offending process.

M  +2-0src/CMakeLists.txt
M  +7-0src/MainWindow.cpp
M  +226  -3src/ProcessInfo.cpp
M  +3-1src/ProcessInfo.h
M  +1-1src/session/Session.cpp
A  +18   -0src/settings/MemorySettings.cpp  *
A  +18   -0src/settings/MemorySettings.h  *
A  +62   -0src/settings/MemorySettings.ui
M  +10   -0src/settings/konsole.kcfg

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://invent.kde.org/utilities/konsole/-/commit/1525ee3b5ea58b09d551f41b0bd6f0f91589e070

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2023-06-24 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=439805

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/utilities/konsole/-/merge_requests/866

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2021-08-26 Thread King Kang Kong
https://bugs.kde.org/show_bug.cgi?id=439805

King Kang Kong  changed:

   What|Removed |Added

 CC||r2b2x3+kde...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[konsole] [Bug 439805] Move individual tabbed/windowed processes into their own systemd scope

2021-08-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=439805

Nate Graham  changed:

   What|Removed |Added

   Severity|normal  |wishlist
 CC||n...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
Summary|RFE: move individual|Move individual
   |tabbed/windowed processes   |tabbed/windowed processes
   |into their own systemd  |into their own systemd
   |scope   |scope

--- Comment #4 from Nate Graham  ---
Good idea!

-- 
You are receiving this mail because:
You are watching all bug changes.