Bug 256269 - sysutils/kf5-baloo: Opens 19+k files and causes 'Too many open files' error
Summary: sysutils/kf5-baloo: Opens 19+k files and causes 'Too many open files' error
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (Team)
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords:
Depends on:
Blocks: 230726
  Show dependency treegraph
 
Reported: 2021-05-30 18:25 UTC by Yuri Victorovich
Modified: 2021-06-16 18:55 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2021-05-30 18:25:46 UTC
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.
Comment 1 Tobias C. Berner freebsd_committer 2021-06-16 18:55:44 UTC
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