Menu

#56 oprof_start leaks file descriptors

closed-fixed
nobody
None
5
2002-07-25
2002-05-13
Anonymous
No

The gui program oprof_start leaks file descriptors in
the 0.2 and the current snapshot (20020512) of
OProfile. oprof_start will continue to open new file
descriptors to "/proc" (about 12 a minute on my
machine) and never close old file descriptors to
"/proc". This can be observed by examining the fd
directory for the oprof_start process in /proc. When
the file descriptor limit for the process is reached an
error is produced:

oprofiled: /proc directory could not be opened. : Too
many open files

oprof_start exits immediately after the error message
is printed.

-Will

Discussion

  • Philippe Elie

    Philippe Elie - 2002-05-13

    Logged In: YES
    user_id=318973

    this is corrected in the current cvs, it's leak due to a
    missing closedir

    Phil

     
  • Philippe Elie

    Philippe Elie - 2002-05-14
    • status: open --> open-fixed
     
  • John Levon

    John Levon - 2002-07-25
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.