[Bug 256269] sysutils/kf5-baloo: Opens 19+k files and causes 'Too many open files' error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 23 Oct 2022 03:53:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256269

Graham Perrin <grahamperrin@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People
           Keywords|                            |needs-patch, needs-qa,
                   |                            |performance
                 CC|                            |doc@FreeBSD.org
           See Also|                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2185
                   |                            |38,
                   |                            |https://bugs.freebsd.org/bu
                   |                            |gzilla/show_bug.cgi?id=2661
                   |                            |11

--- Comment #3 from Graham Perrin <grahamperrin@freebsd.org> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.