I have kf5-baloo-5.82.0, plasma5-plasma-5.21.5, kde5-5.21.5.21.04.1 installed. /usr/local/bin/startplasma-x11 runs baloo_file and it opens 19+k files and kde5 fails to start because many processes fail with 'Too many open files' error.
Moin moin Yuri Sorry for not responding here earlier. Yes, that is a very bad behaviour that is caused by files being required to be opened to be monitored. We cannot really disable baloo by default, as having such a huge home directory is probably not too common, and it would disable functionality out of the box. I think we need to work on the documentation be it pkg-message or handbook to get people some information on how to handle this issue (`balooctl disable` or restricting the folders to be monitored, or increasing the number of file handles). And of course, find some time to make baloo behave properly with FreeBSD's file monitoring capabilities. mfg Tobias
FYI bug 258010
Documentation ============= (In reply to Tobias C. Berner from comment #1) > … need to work on the documentation be it pkg-message or handbook … > how to handle this issue (`balooctl disable` or restricting the > folders to be monitored, or increasing the number of file handles). … +1 For kern.maxvnodes we have <https://docs.freebsd.org/en/books/handbook/config/#_kern_maxvnodes> (currently 12.11.3.1), however this subsection is not referenced from any troubleshooting section of any chapter. Absence of a package message ---------------------------- <https://www.freshports.org/sysutils/kf5-baloo/> ▶ <https://www.freshports.org/sysutils/kf5-baloo/#message> This might be prioritised. * Add a messsage * mention vfs.numvnodes and kern.maxvnodes * refer to the virtual memory subsection of the FreeBSD Handbook * do not yet refer to tuning(7) <https://www.freebsd.org/cgi/man.cgi?query=tuning&sektion=7&manpath=FreeBSD>, because there's no relevant mention of kern.maxvnodes. The manual page for tuning(7), and answers to frequently asked questions (FAQ) ------------------------------------------------------------------------------ Bug 218538 might improve the man page, by making an example of vfs.numvnodes and kern.maxvnodes in a situation such as this. Bug 266111 comment 2, carlavilla@ mentions his template for a new FAQ for FreeBSD. Whilst I have not seen the template for an /en/ edition, I imagine a (plain English) mention of system performance; plus maybe a (semi-technical) phrase such as virtual memory vnode limit; then either the answer, or reference to the FreeBSD Handbook. 218538 and 266111 in parallel. Realistically, the new FAQ might happen first.
(In reply to Tobias C. Berner from comment #1) > … documentation be it pkg-message or handbook … Would you like me to draft a package message, with you as reviewer?
MARKED AS SPAM
*** Bug 273669 has been marked as a duplicate of this bug. ***