Task #10361 (closed)
Bug: Please add a timeout to omero admin operations
Reported by: | rleigh | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4.7 |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | bpindelski, jamoore, mtbcarroll, sbesson |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | Bugs Fixing |
Description
"bin/omero admin start|stop|restart" take much longer than 5 minutes to complete on some systems. This results in the annoying situation where the startup will be cancelled part way through starting up, making it impossible to start/restart the server.
It would be nice if the timeout could be configurable.
It would also be good to know what on earth omero is doing that takes such huge amounts of time to bring up to readiness. Could much of this be deferred or started lazily after initial start?
Change History (5)
comment:1 Changed 11 years ago by jmoore
- Cc bpindelski jmoore mtbcarroll sbesson added
- Milestone changed from Unscheduled to OMERO-5
- Priority changed from minor to major
comment:2 Changed 11 years ago by rleigh
startasync certainly does work partially. However, the diagnostics shows Blitz-0/Indexer-0/PixelData-0/Processor-0/Tables-0 as "activation timed out (pid=nnnn, enabled). Appears to work, though I am seeing some exceptions in the logs.
Does the upgrade check get run at start or only for diagnostics? The VM does not have internet access; not something we should be relying on if that's a potential cause of delays. I'll investigate this and extract the logs tomorrow.
comment:3 Changed 11 years ago by jmoore
upgradechecked definitely gets run during startup. The upgradecheck does have a timeout set (10 seconds: https://github.com/openmicroscopy/openmicroscopy/blob/develop/components/common/src/ome/system/UpgradeCheck.java#L38) but it may be misbehaving.
comment:4 Changed 11 years ago by jmoore
- Milestone changed from OMERO-5 to OMERO-4.5
- Resolution set to fixed
- Sprint set to Bugs Fixing
- Status changed from new to closed
comment:5 Changed 11 years ago by jmoore <josh@…>
- Remaining Time set to 0
(In [9e79baa120774090e40bbdd26e2b3dac474f5cea/ome.git] on branch develop) Add timeout to waiting bin/omero admin commands (Fix #10361)
All commands which use waitup and waitdown internally now
take a --wait parameter (in seconds).
NB: Roger, try not to create tickets without owners or CC if possible.