Task #12148 (closed)
Opened 10 years ago
Closed 7 years ago
Bug: hang during import with multiple tabs in importer dialog
Reported by: | mtbcarroll | Owned by: | jburel |
---|---|---|---|
Priority: | major | Milestone: | Unscheduled |
Component: | Import | Version: | 5.0.0 |
Keywords: | n.a. | Cc: | ux@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by mtbcarroll)
I was running 5.0.0 latest with PRs 2230 and 2231 merged in and I started several imports in separate tabs in the import dialog. Some of them proceeded and completed but the remaining never got started, they all sat as "Pending" with the CPU idle. Stack traces attached.
Attachments (3)
Change History (16)
Changed 10 years ago by mtbcarroll
Changed 10 years ago by mtbcarroll
Changed 10 years ago by mtbcarroll
comment:1 Changed 10 years ago by mtbcarroll
Insight log is unremarkable,
2014-04-01 10:03:34,882 INFO [ ome.formats.importer.ImportConfig] ( Thread-27) OMERO Version: 5.0.0-DEV-ice34 2014-04-01 10:03:34,882 INFO [ ome.formats.importer.ImportConfig] ( Thread-27) Bioformats version: 5.0.0-DEV-ice34 revision: 85f8d80 date: 1 April 2014 2014-04-01 10:03:35,406 INFO [ o.f.i.transfers.UploadFileTransfer] ( Thread-27) Transferring /home/mtbc/Win7/images/2chZT.lsm... 2014-04-01 10:03:39,664 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-27) Count: 1 1 2014-04-01 10:03:39,664 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-27) Network status: true (in 0 ms.) use cached value: true 2014-04-01 10:03:42,476 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Count: 1 1 2014-04-01 10:03:42,476 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Network status: true (in 1 ms.) use cached value: false 2014-04-01 10:03:43,777 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Cached networkup: true 2014-04-01 10:03:43,875 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-29) Cached networkup: true 2014-04-01 10:04:42,477 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Count: 1 1 2014-04-01 10:04:42,477 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Network status: true (in 0 ms.) use cached value: false 2014-04-01 10:04:51,301 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Count: 1 1 2014-04-01 10:04:51,301 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Network status: true (in 0 ms.) use cached value: true 2014-04-01 10:04:51,467 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-30) Cached networkup: true 2014-04-01 10:05:42,478 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Count: 1 1 2014-04-01 10:05:42,479 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Network status: true (in 1 ms.) use cached value: false 2014-04-01 10:06:42,480 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Count: 1 1
comment:2 Changed 10 years ago by jamoore
- Milestone changed from Unscheduled to 5.0.2
Moving this to 5.0.2. For all comments including "hanging" or "hung" please include a jstack of the client and if possible, the server. Can you also capture the relevant portion of the server log?
comment:3 Changed 10 years ago by mtbcarroll
- Description modified (diff)
- Summary changed from Bug: hang during import to Bug: hang during import with multiple tabs in importer dialog
comment:4 Changed 10 years ago by jamoore
(Sorry missed the attached stack traces. I don't see anything remarkable in any of them though, which is unfortunate)
comment:5 Changed 10 years ago by dlindner
There is an issue with importing many files at once; maybe that was the problem here, too?
With bugfix for #12012 there is now a setting in importer.xml to limit the number of files, currently set to 2000. But maybe this number is still too high. I ran into problems with 750 images, with default max heap size of 128MB (wasn't a problem with 256MB though); it's just the huge amount of UI elements which are created. I didn't get a OutOfMemoryException? but the import just got slower and slower, finally the UI freezed.
comment:6 Changed 10 years ago by mtbcarroll
I was probably importing less than 200 images, including well samples.
comment:7 Changed 10 years ago by jburel
Probably time to rethink the strategy for the number of elements created in that case.
comment:8 Changed 9 years ago by jburel
- Milestone changed from 5.1.0-m4 to 5.1.1
The number of UI elements is too high. Gus has generated a "lighter" import dialog.
Not doable for 5.1. Pushing to 5.1.1.
comment:9 Changed 9 years ago by jburel
I have also fixed issues when importing OME-TIFF and dv with companion files.
Did you have some of those files in the queue?
comment:10 Changed 9 years ago by mtbcarroll
I would guess probably not -- I don't have either in my usual testing set -- but I can't rule it out, it was a long time ago, so if the errors I saw are consistent with those issues then that may well be what the problem was.
comment:11 Changed 9 years ago by jburel
- Milestone changed from 5.1.1 to 5.x
This will require to review the importer so we have a "light version"
comment:12 Changed 8 years ago by jamoore
- Milestone changed from 5.x to Unscheduled
comment:13 Changed 7 years ago by jburel
- Resolution set to wontfix
- Status changed from new to closed
some exceptions in Blitz log