[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-11-03 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475506

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0

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

[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-11-03 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=475506

Harald Sitter  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/-/commi
   ||t/318e8b123954792886a113339
   ||6d014d59930dc4d
 Resolution|--- |FIXED

--- Comment #3 from Harald Sitter  ---
Git commit 318e8b123954792886a1133396d014d59930dc4d by Harald Sitter.
Committed on 03/11/2023 at 12:47.
Pushed by sitter into branch 'master'.

ksmserver: never allow ICE connections to exhaust RLIMIT_NOFILE

At most use `RLIMIT_NOFILE - 128`; the remainder is reserved for other
uses like invoking the lock screen, other sockets etc.

to implement this there's a trivial ref count on KSMConnection. When too
many references are active we'll force close connections again right
after creation

M  +21   -0ksmserver/server.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/318e8b123954792886a1133396d014d59930dc4d

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

[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-11-03 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=475506

--- Comment #2 from Harald Sitter  ---
Git commit 5df2fe17c80eff6fdfcbd8385954e5b88a0f30c5 by Harald Sitter.
Committed on 03/11/2023 at 12:47.
Pushed by sitter into branch 'master'.

ksmserver: cap the amount of app restorations

when we restore more than ΒΌ of RLIMIT_NOFILE (default 1024) of a single
application it is incredibly likely that this application is being
defective (e.g. GUIless apps participating in session management but
also in autostarting -- resulting in ever multiplying instances).

when in excess, refuse to start **all** restorations of the application
(NOTE: this is why we loop everything twice)

M  +89   -15   ksmserver/server.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/5df2fe17c80eff6fdfcbd8385954e5b88a0f30c5

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

[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-10-29 Thread Graham Perrin
https://bugs.kde.org/show_bug.cgi?id=475506

Graham Perrin  changed:

   What|Removed |Added

 CC||grahamper...@gmail.com

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

[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-10-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475506

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

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

[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-10-16 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=475506

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3413

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

[kscreenlocker] [Bug 475506] Screen locking failed because of too many open files, but rest of system works fine

2023-10-12 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475506

Nate Graham  changed:

   What|Removed |Added

   Severity|normal  |grave
 CC||n...@kde.org

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