Task #4829 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: Ctrl-C can leave a config.xml.lock dangling
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | Deployment | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
This results in bin/omero command hanging, while web.py tries to load config. A first workaround to the hanging, is to have web.py bail after a certain number of tries.
(ldap)~/git/dist $ ls -ltra etc/grid/ total 96 -rw-r--r-- 1 moore moore 675 Mar 25 17:03 web.xml drwxr-xr-x 27 moore moore 918 Mar 25 17:03 .. -rw-r--r-- 1 moore moore 0 Mar 25 17:07 config.xml.lock drwxr-xr-x 9 moore moore 306 Mar 25 17:07 . -rw-r--r-- 1 moore moore 3093 Mar 28 15:16 windefault.xml -rw-r--r-- 1 moore moore 22930 Mar 28 15:16 templates.xml -rw-r--r-- 1 moore moore 2718 Mar 28 15:16 default.xml -rw-r--r-- 1 moore moore 612 Mar 28 15:16 README -rw-r--r-- 1 moore moore 4367 Mar 31 10:51 config.xml (ldap)~/git/dist $ bin/omero config lock ^CCould not acquire lock on /Users/moore/GlencoeSoftware.git/git/omero.git/dist/etc/grid/config.xml
Change History (2)
comment:1 Changed 13 years ago by jmoore
- Owner set to jmoore
comment:2 Changed 13 years ago by jmoore <josh@…>
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [eaeaf4d2bad6697a8c42a6efc7543b64fc9bc5ff/ome.git] on branch develop) Prevent blocking of bin/omero on locked config (Fix #4829)