Red Hat Bugzilla – Bug 66970
kmail explodes w/ a large home directory when using imap
Last modified: 2007-04-18 12:43:16 EDT
Description of Problem:
kmail attempts to read in the entire home directory contents when using imap to
a RHL 7.3 mail server. If there is for example, a few thousand files in the
home directory (e.g. in ~/export there exists a RHL tree, kmail will take a long
time seemingly stalled, before then displaying hundreds of KNotify messages:
Cannot Open file
Too many open files.
Given the hundreds of windows that try to appear, X invariably freezes. Anybody
w/ a large home directory may see this problem - and this must be v.frustrating.
Version-Release number of selected component (if applicable):
Seen in KDE 3.0.0 and 3.0.1.
Consistent, even on different machines.
Steps to Reproduce:
1. add a few thousand files into a directory just off ~
2. start kmail for first time and configure imap e-mail.
3. allow kmail to check imap mail and folders for first time.
kmail and the entire X session basically die.
kmail should read what it can, potentially not even try to explore directories
until you expand them! Knotify should certainly not report hundreds of
it's not reproduceable in current release.