cosmic-settings
cosmic-settings copied to clipboard
ERROR error fetching displays, why: Spawn(Os { code: 24, kind: Uncategorized, message: "Too many open files" })
ERROR error fetching displays, why: Spawn(Os { code: 24, kind: Uncategorized, message: "Too many open files" })
at cosmic-settings/src/pages/display/mod.rs:455 on main
I get a bunch of this error when switching between pages
This make the app freeze, often less that 1 sec, sometime more
What's your limit for max open files? sysctl fs.file-max and prlimit
File limit aside, this seems related to #318
- [ ] https://github.com/pop-os/cosmic-settings/issues/318
What's your limit for max open files?
sysctl fs.file-maxandprlimit
fedasus@fedasus ~/D/note-pv (main)> sysctl fs.file-max
fs.file-max = 9223372036854775807
fedasus@fedasus ~/D/note-pv (main)> prlimit
RESOURCE DESCRIPTION SOFT HARD UNITS
AS address space limit unlimited unlimited bytes
CORE max core file size unlimited unlimited bytes
CPU CPU time unlimited unlimited seconds
DATA max data size unlimited unlimited bytes
FSIZE max file size unlimited unlimited bytes
LOCKS max number of file locks held unlimited unlimited locks
MEMLOCK max locked-in-memory address space 8388608 8388608 bytes
MSGQUEUE max bytes in POSIX mqueues 819200 819200 bytes
NICE max nice prio allowed to raise 0 0
NOFILE max number of open files 1024 524288 files
NPROC max number of processes 63264 63264 processes
RSS max resident set size unlimited unlimited bytes
RTPRIO max real-time priority 0 0
RTTIME timeout for real-time tasks unlimited unlimited microsecs
SIGPENDING max number of pending signals 63264 63264 signals
STACK max stack size 8388608 unlimited bytes
File limit aside, this seems related to #318
* [ ] [Clicking on "Displays" on cosmic-settings repeatedly creates so many cosmic-randr processes #318](https://github.com/pop-os/cosmic-settings/issues/318)
Yeah probably. I also can't recreate this issue, maybe it wasn't even related to the freeze