Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2764 (new)

Opened 14 years ago

Last modified 13 years ago

BUG: OME-TIFF export fails with "Too many files" — at Version 2

Reported by: jburel Owned by:
Priority: critical Milestone: OMERO-Beta4.2.1
Component: General Version: n.a.
Keywords: n.a. Cc: jamoore, cxallan, mlinkert, cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jmoore)

Possibly due to a leak in OMETiffWriter on close() the server runs out of file descriptors (See loci:#543)

Workaround:
Export should throw an exception to the user if close() fails, so that the issue is noticed more quickly.

Long-term a fix for this descriptor leak and any others in the OMERO code base need to be fixed.

Original exception from QA

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data.
Cannot export the image as an OME-TIFF


at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:732)


at org.openmicroscopy.shoola.env.data.OMEROGateway.exportImageAsOMETiff(OMEROGateway.java:6357)


at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.exportImageAsOMETiff(OmeroImageServiceImpl.java:830)


at org.openmicroscopy.shoola.env.data.views.calls.ExportLoader$1.doCall(ExportLoader.java:76)


at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:145)


at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)


at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)


at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)


at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)


at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)


at java.lang.Thread.run(Unknown Source)


Caused by: omero.InternalException


serverStackTrace = "java.io.FileNotFoundException: /home/omero/omero/tmp/omero_omero/2813@localhost/__omero_export__8090264881308579116.ome.tiff (Too many open files)


Change History (2)

comment:1 Changed 14 years ago by jmoore

  • Description modified (diff)
  • Summary changed from BUG: OME-TIFF export to BUG: OME-TIFF export fails with "Too many files"

comment:2 Changed 14 years ago by jmoore

  • Description modified (diff)
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68964 sec.)

We're Hiring!