[Bug 160968] New: search in all (imap) folders leads to "too many open files" error

bert at w3.org bert at w3.org
Fri Apr 18 09:40:23 BST 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: search in all (imap) folders leads to "too many open
                    files" error
           Product: kontact
           Version: 1.2.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: mail
        AssignedTo: kdepim-bugs kde org
        ReportedBy: bert w3 org

Version:           1.2.3 (using 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8etch1 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-6-686

Searching for messages with the "include subfolders" option selected quickly leads to dozens of error boxes warning about "too many open files."

This effectively makes it impossible to search for mail with kmail, unless I already know in which folder to search.

kmail may sometimes also crash when I try to stop such a search.

The mail folders in my set-up are on an IMAP server, with some 30 subfolders under the INBOX, each of which has a similar number of sub-subfolders. It looks as if kmail tries to search in all subfolders in parallel, by opening one file in the local cache of each of those folders.

More information about the Kdepim-bugs mailing list