Rob Fugina <[EMAIL PROTECTED]> wrote:

>There seems to be a file descriptor leak in packf which results in
>messages like this:

>packf: unable to dup /full/path/.mailbox.map: Too many open files, continuing...

>The packf process opens the output file enough times (without closing any)
>to reach an OS limit around 1000 file descriptors.  Moving >1000 (or so)
>messages with packf results in this error.  Seems to be opening the output
>file once per message without closing.  I haven't investigated deeply yet.
>I will try to send a patch, but I'd like to know if anybody's aware of
>the problem at this point...

Strange.

As a test, I just used packf to pack a mailbox with 1322 messages.
It did so without a murmur.  When also using "-mmdf", I will admit
that it took too long and that it screwed up the ".map" file.
Certainly the ".map" file construction is broken.  But I didn't have
any problem with running out of file descriptors.
My current ulimit for descriptors is 64.  (This is solaris 7).

 -NWR

Reply via email to