bugThe nmh Mail Handling System - Bugs: bug #50065, mhfixmsg(1) leaks file...

 
 

bug #50065: mhfixmsg(1) leaks file descriptors, consuming ever more

Submitted by:  Ralph Corderoy <ralph>
Submitted on:  Tue 17 Jan 2017 01:25:58 PM UTC  
 
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalStatus: Works For Me
Assigned to: David Levine <levine>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 12 Aug 2017 01:14:58 PM UTC, comment #2:

I'm going to close this. I thought that it was fixed long before 17 Jan 2017, so I can't explain what you saw. I ran a trace, with "-e open,close", and see that temporary files are closed and file descriptors don't increase, see attached excerpt.)

David Levine <levine>
Project MemberIn charge of this item.
Fri 02 Jun 2017 05:24:45 PM UTC, comment #1:

I just tried this on the Enron email corpus, and I didn't see any file descriptors being leaked. Is it possible for you to provide a few test messages that trigger this bug?

Ken Hornstein <kenh>
Project Administrator
Tue 17 Jan 2017 01:25:58 PM UTC, original submission:

Using git 66fa74b004d50df011eecdeac09b5e4f59181e12 it can be seen with `strace -e open mhfixmsg ...' that the file descriptor returned to open(2) steadily increases as earlier temporary files aren't closed.

Ralph Corderoy <ralph>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #41492:  mhfixmsg.strace added by levine (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by levine (Updated the item)
  • -unavailable- added by kenh (Posted a comment)
  • -unavailable- added by ralph (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Aug 2017 01:15:40 PM UTClevineAttached File-=>Added mhfixmsg.strace, #41492
    Sat 12 Aug 2017 01:15:12 PM UTClevineAttached File#41489=>Removed
    Sat 12 Aug 2017 01:14:10 PM UTClevineAttached File-=>Added mhfixmsg.strace, #41489
      StatusNone=>Works For Me
      Assigned toNone=>levine
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1