Menu

#550 WebUI FileNotFoundException: Too many open files

closed
nobody
general (369)
5
2010-04-08
2010-03-22
No

Using generated war with SoapUI 3.5, Linux.

In MockAsWarServlet, when serving static files (the eviware logo and the stylesheet file) the stream of file is not closed, causing the Too Many Open Files exception.
You can found it on Linux executing lsof -p <JVM_PID>, looking the increasing number of file descriptor for the .css and the .jpg.

Closing the stream solve the problem:
Tools.readAndWrite(in, length, response.getOutputStream());
in.close();

Discussion

  • Ole Lensmar

    Ole Lensmar - 2010-03-22

    Thanks! Fixed in upcoming nightly build!

    regards,

    /Ole
    eviware.com

     
  • Ole Lensmar

    Ole Lensmar - 2010-03-23
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.