Brian Ristuccia wrote: > When using mhstore on a large number of messages, and writing parts to a > pipe, mhstore winds up with 'too many open files' > > in ~/.mh_profile: > > mhstore-store-message/rfc822: | sa-learn --no-sync --spam - > > (Directory has about 800 messages) > > $ /usr/bin/mh/mhstore * -type message/rfc822
Hi; I'm part of nmh's upstream dev team. I have created a bug in our upstream BTS about this: https://savannah.nongnu.org/bugs/index.php?24004 As it happens, this isn't actually an fd leak; it's more of a design error. The way mhstore is written it first opens all the messages it is operating on, then it processes them all, and then it closes them all. So it isn't a leak, it's just that it wants rather a lot of fds if it's working on a lot of messages at once. Unfortunately, because it isn't an easy fix it is unlikely to be addressed any time soon... -- PMM -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]