Task #10245 (new)
Opened 12 years ago
Last modified 9 years ago
BUG: Resource issues with OMERO.tables
Reported by: | spli | Owned by: | spli |
---|---|---|---|
Priority: | major | Milestone: | Metadata |
Component: | Services | Version: | OMERO-5.2.0 |
Keywords: | n.a. | Cc: | analysis@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description (last modified by spli)
I've been seeing some strange behaviour with OMERO.tables when making a large number of calls to add data from OMERO.scripts. This includes scripts exiting due to a failure to communicate with the Tables service, the Tables service using 100% CPU even after all clients have disconnected, apparent out-of-memory errors with theTables service (manifested as an OS X "Problem Report for Python" dialog).
Further investigation suggets this is due to opening/closing a table too frequently. For instance, reusing a connection/handle to a table instead of opening and closing the table for every operation (read, addData) seems to work fine. Still a bug though.
Attachments (1)
Change History (6)
Changed 12 years ago by spli
comment:1 Changed 12 years ago by spli
- Description modified (diff)
comment:2 Changed 12 years ago by spli
comment:3 Changed 9 years ago by jburel
Referencing ticket #9944 has changed sprint.
comment:4 Changed 9 years ago by jburel
Referencing ticket #9944 has changed sprint.
comment:5 Changed 9 years ago by jburel
- Milestone changed from Unscheduled to Metadata
- Version set to OMERO-5.2.0
Turns out this (or something similar) is a problem even when the table connections are reused. Occasionally the Tables service is killed and restarts automatically, the only sign is a "Python quit unexpectedly" OS X dialog, with no obvious error log. Tables-0.log only has a ***** ... Waiting 10000 ms on startup indicating the service was restarted with no error prior to this. master.err only has a failed connection from the scripts trying to connect: