Task #12345 (new)
Opened 10 years ago
Last modified 10 years ago
LockTimeout on loading metadata
Reported by: | omero-qa | Owned by: | atarkowska |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | from QA | Version: | 5.0.2 |
Keywords: | n.a. | Cc: | jrswedlow@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
https://www.openmicroscopy.org/qa2/qa2/qa/feedback/9257/
Comment: Trying to view acquisition metadata on basel 700 GB image.
Traceback (most recent call last): File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/django/core/handlers/base.py", line 114, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/decorators.py", line 387, in wrapped retval = f(request, *args, **kwargs) File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/decorators.py", line 434, in wrapper context = f(request, *args, **kwargs) File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/webclient/views.py", line 920, in load_metadata_acquisition manager.originalMetadata() File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/webclient/controller/container.py", line 256, in originalMetadata om = self.image.loadOriginalMetadata() File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/gateway/__init__.py", line 6281, in loadOriginalMetadata cb = self._conn._waitOnCmd(handle) File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/gateway/__init__.py", line 3381, in _waitOnCmd return self.c.waitOnCmd(handle, loops=loops, ms=ms, failonerror=failonerror) File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/clients.py", line 827, in waitOnCmd callback.loop(loops, ms) # Throw LockTimeout File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/callbacks.py", line 321, in loop 5000L, int(waited)) LockTimeout: exception ::omero::LockTimeout { serverStackTrace = None serverExceptionClass = None message = Command unfinished after 5.0 seconds backOff = 5000 seconds = 5 } <WSGIRequest path:/webclient/metadata_acquisition/image/99501/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'phpbb3_a9mfv_k': '36131e27bf611582', 'phpbb3_a9mfv_sid': '2f7b265d6111d072dfe9854fbc4deed4', 'phpbb3_a9mfv_u': '64', 'sessionid': 'w07nrd305pzyqfkpmde5umtican5f579', 'style_cookie': 'null'}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT': 'text/html, */*; q=0.01', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'phpbb3_a9mfv_u=64; phpbb3_a9mfv_k=36131e27bf611582; phpbb3_a9mfv_sid=2f7b265d6111d072dfe9854fbc4deed4; style_cookie=null; sessionid=w07nrd305pzyqfkpmde5umtican5f579', 'HTTP_HOST': 'dogfish.openmicroscopy.org', 'HTTP_REFERER': 'http://dogfish.openmicroscopy.org/webclient/?show=image-99501', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/webclient/metadata_acquisition/image/99501/', 'QUERY_STRING': '', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'dogfish.openmicroscopy.org', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x3a5dbd0>, 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x3a5d590>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
With the experience on timeout in asynchronous requests in https://github.com/openmicroscopy/openmicroscopy/pull/2403 might be good idea to make timeout configurable