Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12345 (new)

Opened 7 years ago

Last modified 7 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.


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/", 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/", line 387, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/", line 434, in wrapper
    context = f(request, *args, **kwargs)

  File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/webclient/", line 920, in load_metadata_acquisition

  File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omeroweb/webclient/controller/", line 256, in originalMetadata
    om = self.image.loadOriginalMetadata()

  File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/gateway/", line 6281, in loadOriginalMetadata
    cb = self._conn._waitOnCmd(handle)

  File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/gateway/", 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/", line 827, in waitOnCmd
    callback.loop(loops, ms)  # Throw LockTimeout

  File "/opt/omero/OMERO.server-5.0.2-ice34-b26/lib/python/omero/", 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

GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'phpbb3_a9mfv_k': '36131e27bf611582',
 'phpbb3_a9mfv_sid': '2f7b265d6111d072dfe9854fbc4deed4',
 'phpbb3_a9mfv_u': '64',
 'sessionid': 'w07nrd305pzyqfkpmde5umtican5f579',
 'style_cookie': 'null'},
 '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': '',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0',
 'PATH_INFO': u'/webclient/metadata_acquisition/image/99501/',
 'SCRIPT_NAME': u'',
 'SERVER_PORT': '80',
 '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)}>

Change History (1)

comment:1 Changed 7 years ago by atarkowska

With the experience on timeout in asynchronous requests in might be good idea to make timeout configurable

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.83410 sec.)

We're Hiring!