we are experiencing really slow pyramid generation times on some files which has lead to a massive backlog on our server.
I suspect it is due to some files which are either corrupted and/or aren't handled well by bioformats.
Quick questions
- should this be cross posted to the bioformats forum?
- is there way to disable pyramid generation for these problems files while we sort it out?
More details below.
Cheers,
Chris
Forum searches
I've had a look through the forums for some tips:
- pyramid creation on large image - out of memory https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=8380&p=19098&hilit=pyramid#p19098
- How to speed-up Pyramid data creation? https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=8198&p=17921&hilit=pyramid+speed#p17921
Server setup
From these I ran the 'remove pyramids' script (no problem files) and found an OOM error in the log do I upped the memory for the pixel data. The memory is
- Code: Select all
[omero@prdomeapp01 OMERO.server]$ bin/omero admin jvmcfg
JVM Settings:
============
blitz=-Xmx3764m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
indexer=-Xmx2509m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
pixeldata=-Xmx3764m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
repository=-Xmx2509m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOption
It takes about 20hours to create the pyramid, which is surprising because the file is only 16MB.
After the pyramid has been generated there's a bunch if errors which looks like the connection to the database was dropped - perhaps because it took so long the connection timed out?
- Code: Select all
2018-10-31 11:51:37,448 WARN [ o.s.jdbc.support.SQLErrorCodesFactory] (2-thread-4) Error while extracting database product name - falling back to empty error codes
org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.postgresql.util.PSQLException: This connection has been closed.
snip
Caused by: org.postgresql.util.PSQLException: This connection has been closed.
snip
2018-10-31 11:51:37,485 ERROR [ ome.services.pixeldata.PixelDataHandler] (2-thread-4) Failed to handle pixels 20806
The file itself
The file is a 16MB tif ( 8-bit 11424 x 16640 ) and looks to be generated by Hamamatsu scanner and JPEG copmpressed.
It can easily opened with Preview on MacOS, Inkscape struggles a bit, but Fiji really chokes on it (100% CPU for 10min with no sign of progress). It does eventually open but it must have taken 30min or so.
Demo server
I uploaded the file to the demo server and it seems to being a longtime to create the pyramids there to. The ID is 54506.
The file itself and server logs
The file itself and some the server logs are uploaded to the qa server, the id is 27045