Task #3931 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: Unclear use of $HOME/omero
Reported by: | jamoore | Owned by: | cxallan |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3.1 |
Component: | Documentation | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-07-07 (1) |
Description
Add documentation for the use of OMERO_TEMPDIR to choose between $HOME/omero/tmp and /tmp.
Some users may expect /tmp to be used rather than any directory under $HOME which is possibly NFS mounted (or similar).
See: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2011-January/002533.html
Change History (13)
comment:1 Changed 13 years ago by cxallan
- Owner set to cxallan
comment:2 Changed 13 years ago by jmoore
- Owner changed from cxallan to ajpatterson
comment:3 Changed 13 years ago by jmoore
- Sprint set to 2011-06-16 (14)
comment:4 Changed 13 years ago by jburel
- Cc jmoore jburel added
- Remaining Time set to 0.25
comment:5 Changed 13 years ago by jburel
- Milestone changed from OMERO-Beta4.3 to OMERO-Beta4.3.1
- Sprint changed from 2011-06-16 (14) to 2011-06-30 (1)
Moved from sprint 2011-06-16 (14)
comment:6 Changed 13 years ago by ajpatterson
- Status changed from new to accepted
comment:7 Changed 13 years ago by ajpatterson
I have added:
Is this ticket about a client or server problem?
comment:8 Changed 13 years ago by jmoore
~/omero is used by clients and servers. The server access ~/omero/sessions as well as ~/omero/tmp (i.e. OMERO_TEMPDIR). Clients primarily use ~/omero/log/, but other areas as well.
comment:9 Changed 13 years ago by ajpatterson
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
comment:10 Changed 13 years ago by jmoore
- Resolution fixed deleted
- Status changed from closed to reopened
Current text:
When performing some operations the clients make use of temporary file storage and log directories. By default these files are stored in the users OMERO temp directory $HOME/omero/tmp and $HOME/omero/log. If your home(~) directory $HOME is stored on a network, possibly NFS mounted (or similar), then these temporary files are being written and read over the network. This can slow access down. To get round this you can define an OMERO_TEMPDIR environment variable pointing to a temporary directory located on the local file system (e.g. /tmp/). The OMERO.server also accesses $HOME/omero/sessions.
A couple of things:
- clients and not the server access ~/omero/sessions
- in the clients, use of ~/omero is hard-coded (This includes the cli). Probably need RFE tickets for all clients to fix this.
- Only the server temp directory usage is configurable. Services like "dropbox" will still access ~/omero/sessions in a hard-coded way.
comment:11 Changed 13 years ago by ajpatterson
New version on the three pages:
When performing some operations the clients make use of temporary file storage and log directories. By default these files are stored below the users HOME directory in $HOME/omero/tmp, $HOME/omero/log and $HOME/omero/sessions. If your home(~) directory $HOME is stored on a network, possibly NFS mounted (or similar), then these temporary files are being written and read over the network. This can slow access down.
The OMERO.server also access the $HOME/omero/tmp and $HOME/omero/log folders of the user the server process is running as. As the server makes heavier use of these folders than the clients, if the users home(~) is stored on a network the server can be slowed down.
To get round this for the OMERO.server you can define an OMERO_TEMPDIR environment variable pointing to a temporary directory located on the local file system (e.g. /tmp/).
comment:12 Changed 13 years ago by ajpatterson
- Owner changed from ajpatterson to cxallan
- Status changed from reopened to accepted
Chris please close if correct.
comment:13 Changed 13 years ago by cxallan
- Resolution set to fixed
- Status changed from accepted to closed
This needs to be added to an improved "Environment variables" on the server install page for both server types, and perhaps linked from the FAQ.