OMERO.web 5.4.0 plate thumbnail display hangs long time
Posted: Tue Oct 24, 2017 8:53 pm
Hi team,
In OMERO.web 5.4.0 it takes many minutes for a thumbnail display for a plate with 20 by 35 wells to show up and the web browser is non-responsive during that time.
This new and annoying behavior started after I upgraded one of our production servers to 5.4.0. This is on Ubuntu 16.04 and I upgraded from 5.3.4.
The standard workflow is as follows: Image acquired with a Nikon HCA system in nd2 format on a per-well basis are imported by CLI. Each nd2 file contains 700 images which are the contents of a single well from an 8-well plate. I have a script that takes the Dataset of 700 images and creates a pseudo-plate using the Dataset_To_Well script. Doing this allows me to show the entire 20 by 35 grid of cell spots that we printed into the bottom of each well.
Since the upgrade to 5.4.0 every time (also 2nd or later times the same well) it takes minutes for the thumbnails to show up and during that time the server is not at all busy and no warnings or anything shows up in the logs. The only thing that appears busy is the browser which is unresponsive. But again does not show much activity in the Windows Task Manager. This happens with any browser I tested. Once it finally renders the thumbnails, everything appears fine again until the next set is attempted to open.
I'll be happy to provide one of the nd2 files and associated little script to generate such a 20 by 35 spots in-"well" plate. But they are 7 - 12GB in size so I will use the alternative upload mechanism.
My little bash script is as simple as this:
I'm assuming some Javascript being generated is tripping up the browser but I have no idea where to look for that. Note that displaying these thumbnails in OMERO.Insight works fine and fast.
Thanks for any insights.
Cheers,
- Damir
In OMERO.web 5.4.0 it takes many minutes for a thumbnail display for a plate with 20 by 35 wells to show up and the web browser is non-responsive during that time.
This new and annoying behavior started after I upgraded one of our production servers to 5.4.0. This is on Ubuntu 16.04 and I upgraded from 5.3.4.
The standard workflow is as follows: Image acquired with a Nikon HCA system in nd2 format on a per-well basis are imported by CLI. Each nd2 file contains 700 images which are the contents of a single well from an 8-well plate. I have a script that takes the Dataset of 700 images and creates a pseudo-plate using the Dataset_To_Well script. Doing this allows me to show the entire 20 by 35 grid of cell spots that we printed into the bottom of each well.
Since the upgrade to 5.4.0 every time (also 2nd or later times the same well) it takes minutes for the thumbnails to show up and during that time the server is not at all busy and no warnings or anything shows up in the logs. The only thing that appears busy is the browser which is unresponsive. But again does not show much activity in the Windows Task Manager. This happens with any browser I tested. Once it finally renders the thumbnails, everything appears fine again until the next set is attempted to open.
I'll be happy to provide one of the nd2 files and associated little script to generate such a 20 by 35 spots in-"well" plate. But they are 7 - 12GB in size so I will use the alternative upload mechanism.
My little bash script is as simple as this:
- Code: Select all
dsid=`omero obj new Dataset name=$wname`
omero import -d $dsid <filename>
dsidonly=`echo $dsid | sed s/Dataset://g`
omero script launch <Dataset_To_Well.py script> IDs=$dsidonly First_axis='column' First_Axis_Count=20 Column_Names='number' Row_Names='letter'
omero delete $dsid
I'm assuming some Javascript being generated is tripping up the browser but I have no idea where to look for that. Note that displaying these thumbnails in OMERO.Insight works fine and fast.
Thanks for any insights.
Cheers,
- Damir