Task #10249 (closed)
Bug: Importer doesn't close file handles after importing
Reported by: | spli | Owned by: | mlinkert |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4.7 |
Component: | Bio-Formats | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, sylittlewood, mlinkert |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
Just tried to import around 20,000 small (28 px by 28 px) pngs. The OS started giving too many files open errors. The output of lsof suggests the importer had over 9000 files still open, which weren't freed until Insight was shut down.
Insight version: OMERO.insight-4.4.5-646-d837259-ice33-b133-mac
Change History (6)
comment:1 Changed 11 years ago by jburel
- Cc mlinkert-x added
- Component changed from Import to Bio-Formats
- Owner set to mlinkert-x
comment:2 Changed 11 years ago by mlinkert
Are these PNG files available somewhere for testing?
comment:3 Changed 11 years ago by spli
ome/team/simon/digits/train-png.tar.bz
Import the directories 0-9, keep an eye on lsof |grep train-png
comment:4 Changed 11 years ago by jburel
I have added a check in the OMERO.gateway see https://github.com/jburel/openmicroscopy/commit/07051b4f53d91df1b50d528c0474540ed006db12
comment:5 Changed 11 years ago by jmoore
- Milestone changed from Unscheduled to OMERO-4.5
- Resolution set to fixed
- Status changed from new to closed
Simon: this went into dev_4_4 with J-M's CPU PR . I'm closed as fixed. Could you keep an eye out for this?
comment:6 Changed 11 years ago by jburel <j.burel@…>
(In [89a76ea19ad16d6f334a7ac44d2cddf91e28adfa/ome.git] on branch develop) Close the reader when the import is done (see #10249)
Ccing melissa. It looks like a problem in B-F