Bug 175775 - "too many open files" in IMAP mode
Summary: "too many open files" in IMAP mode
Status: RESOLVED DUPLICATE of bug 160968
Alias: None
Product: kmail
Classification: Unmaintained
Component: IMAP (show other bugs)
Version: 1.10.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 16:25 UTC by Vadym Krevs
Modified: 2009-09-02 00:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2008-11-21 16:25:55 UTC
Version:           1.10.3 (using 4.1.3 (KDE 4.1.3) "release 61.1", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.18-0.2-default

Hi. Today I've attempted to configure Kmail from KDE 4.1.3 to point at my company's Exchange server using normal IMAP mode. The configuration went like a breeze, however any attempt to actually connect and download messages results in numerous error dialogs with "Too many open files" text. There is no way to close them and continue other than kill Kmail.
Comment 1 Holger Lehmann 2009-02-09 18:06:32 UTC
I can confirm this for kde4-kmail-4.2.0-86.9 (openSuSE 11.0) w/ the "KDE4 community maintained KDE 4.x / Qt 4.x packages (openSUSE_11.0_KDE4_Factory_Desktop)" repository subscribed.
Comment 2 Jeremy Sonander 2009-03-10 11:16:43 UTC
I confirm this for kmail 4.2.1 on Gentoo using a Communigate IMAP server.
You can workaround this if you use ulimit to increase the number of concurrently opened files. Unfortunately only root can do that, and you want to check your mail, not roots, so you have to mess about like this:

xhost <name of your computer>
su
<root password>
ulimit -n 100000
su <your name>
export DISPLAY=<name of your computer>
kmail
Comment 3 Martin Koller 2009-09-02 00:53:51 UTC

*** This bug has been marked as a duplicate of bug 160968 ***