<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 27/06/14 10:27, John Webber (NBI) wrote:<br>
</div>
<blockquote cite="mid:5dc05f503cd046788d8aa58fb05c91b6@DBXPR01MB080.eurprd01.prod.exchangelabs.com" type="cite">
<meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
<base href="x-msg://262/"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Hi Ola,<o:p></o:p></span></p>
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p></o:p></span></div>
</blockquote>
Hi John,<br>
<br>
<blockquote cite="mid:5dc05f503cd046788d8aa58fb05c91b6@DBXPR01MB080.eurprd01.prod.exchangelabs.com" type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I’ve been going around in circles with this one trying to find what I need, but not got anywhere…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Looking at other servers we have configured previously that DO NOT gather the “sessionid” files in /tmp,, I cannot see that these
 are running the “clearsessions” command – I do not believe that they are!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
</blockquote>
I presume there is no difference in the output of "bin/omero config get" between the servers?<br>
<br>
<blockquote cite="mid:5dc05f503cd046788d8aa58fb05c91b6@DBXPR01MB080.eurprd01.prod.exchangelabs.com" type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">When you say that “</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">session data can accumulate
 in your session store”</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"> would you expect this to be a new sessionid file every 3 to 5 minutes, with the old ones never being deleted.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I have also attempted to run the clearsessions command on this server, but I am seeing the following error:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">  File "manage.py", line 29, in ?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">    from django.core.management import execute_manager<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">ImportError: No module named django.core.management<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">I believe this is because it is not able to locate the python module, so I probably need to change my PYTHONPATH, but I’m not sure
 what it should be – please can you give any pointers?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
</blockquote>
You are correct, a simple modification (doesn't have to be permanent) of PYTHONPATH should solve this issue. Let's presume your server code has been unzipped to /opt/omero.server. Then to run the "manage.py" command, you have to append to the PYTHONPATH the
 "/opt/omero.server/lib/python" directory.<br>
To run the script once, and not preserve the PYTHONPATH changes, do<br>
<br>
$ cd /opt/omero.server/lib/python/omeroweb<br>
$ PYTHONPATH=$PYTHONPATH:/opt/omero.server/lib/python python manage.py clearsessions<br>
<br>
If you want to add the OMERO Python library directory permanently to your PYTHONPATH, please consult<br>
<a class="moz-txt-link-freetext" href="http://www.openmicroscopy.org/site/support/omero5/sysadmins/unix/server-installation.html#environment-variables">http://www.openmicroscopy.org/site/support/omero5/sysadmins/unix/server-installation.html#environment-variables</a>.<br>
It mentions the places where the new PYTHONPATH setting can be stored.<br>
<br>
<br>
<blockquote cite="mid:5dc05f503cd046788d8aa58fb05c91b6@DBXPR01MB080.eurprd01.prod.exchangelabs.com" type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">John<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
</div>
</blockquote>
Regards,<br>
Blazej<br>
<br>
<blockquote cite="mid:5dc05f503cd046788d8aa58fb05c91b6@DBXPR01MB080.eurprd01.prod.exchangelabs.com" type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US"> Aleksandra Tarkowska [<a class="moz-txt-link-freetext" href="mailto:A.Tarkowska@dundee.ac.uk">mailto:A.Tarkowska@dundee.ac.uk</a>]
<br>
<b>Sent:</b> 25 June 2014 15:08<br>
<b>To:</b> John Webber (NBI)<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">
ome-users@lists.openmicroscopy.org.uk</a><br>
<b>Subject:</b> Re: [ome-users] sessionid files in /tmp<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Dear John<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">As users create new sessions on the OMERO.web, session data can accumulate in your session store. Because OMERO.web uses the file based backend, your temporary
 directory will contain an increasing number of files. Django does not provide automatic purging of expired sessions. Therefore, it’s your job to purge expired sessions on a regular basis. Django provides a clean-up management command for this purpose: clear
 sessions. It’s recommended to call this command on a regular basis, for example as a daily cron job.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black">cd OMERO/lib/python/omeroweb<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black">python manage.py clearsessions<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Note that the cache backend isn’t vulnerable to this problem, because caches automatically delete stale data.</span><span style="font-size:13.5pt;font-family:Consolas;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">If you wish to change it to cache based,</span><span style="font-size:10.5pt;color:black"> first</span><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"> install
 Memcached  and a memcached binding. There are several python memcached bindings available; the two most common are python-memcached and pylibmc. Then set the following</span><span style="font-size:13.5pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Consolas">$ bin/omero web stop</span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black">$ bin/omero config set omero.web.caches '{"default": { "BACKEND": "django.core.cache.backends.memcached.MemcachedCache", "LOCATION": "127.0.0.1:11211", "TIMEOUT": "86400" }
 }'<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black">$ bin/omero config set omero.web.session_engine "django.contrib.sessions.backends.cache"<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black">$ bin/omero web start<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">I hope it will help</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Kind regards</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">Ola<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div style="border:none;border-top:solid #B5C4DF
          1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">From:
</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">"John Webber (NBI)" <</span><a moz-do-not-send="true" href="mailto:John.Webber@nbi.ac.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">John.Webber@nbi.ac.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">><br>
<b>Date: </b>Mon, 23 Jun 2014 11:20:08 +0000<br>
<b>To: </b>William Moore <</span><a moz-do-not-send="true" href="mailto:will@lifesci.dundee.ac.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">will@lifesci.dundee.ac.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">><br>
<b>Cc: </b>"</span><a moz-do-not-send="true" href="mailto:ome-users@lists.openmicroscopy.org.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">ome-users@lists.openmicroscopy.org.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">"
 <</span><a moz-do-not-send="true" href="mailto:ome-users@lists.openmicroscopy.org.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">ome-users@lists.openmicroscopy.org.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">><br>
<b>Subject: </b>Re: [ome-users] sessionid files in /tmp<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Will,</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for the response.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have done some more tests but am still experiencing the same issue.  I have restarted HTTPD, Omero and Omero_web.  I have also rebooted the server itself.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">These files are created when we restart omero web.  When omero web is not running the files are not created.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I am running exactly the same python versions, omero versions and ice versions across two servers.  The main difference I can see on these servers is that the
 one which has “sessionid” files gathering in “/tmp” has a later version of httpd as follows:</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                Server without issue:                                                     Server with sessionID issue:</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">httpd-2.2.3-82.el5.centos                                             httpd-2.2.3-83.el5.centos</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">httpd-devel-2.2.3-82.el5.centos                                                httpd-devel-2.2.3-83.el5.centos</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have attached a complete list of the different RPMs, but not sure whether any of the others are relevant.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Please can you give me a pointer as to why this is occurring.  Is it something that can be corrected, or do I need to set up a cron job to remove the session
 ID files?</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><br>
Thanks</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">John</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
                1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black" lang="EN-US"> William Moore [</span><a moz-do-not-send="true" href="mailto:will@lifesci.dundee.ac.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">mailto:will@lifesci.dundee.ac.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black" lang="EN-US">]
<br>
<b>Sent:</b> 20 June 2014 10:46<br>
<b>To:</b> John Webber (NBI)<br>
<b>Cc:</b> </span><a moz-do-not-send="true" href="mailto:ome-users@lists.openmicroscopy.org.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">ome-users@lists.openmicroscopy.org.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black" lang="EN-US"><br>
<b>Subject:</b> Re: [ome-users] sessionid files in /tmp</span><span style="color:black"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Hi John,<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> It's probably the Django web server that is creating these files in /tmp. See </span><a moz-do-not-send="true" href="https://docs.djangoproject.com/en/dev/topics/http/sessions/#using-file-based-sessions">https://docs.djangoproject.com/en/dev/topics/http/sessions/#using-file-based-sessions</a><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">and </span><a moz-do-not-send="true" href="http://stackoverflow.com/questions/10197880/django-file-based-session-doesnt-expire">http://stackoverflow.com/questions/10197880/django-file-based-session-doesnt-expire</a><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">These are sessions between the browser and the Django server and have nothing to do with OMERO sessions.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Are you aware of any difference in the web server configurations or browser connections between your servers that could explain this behaviour?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> Regards,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">   Will.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="color:black">On 19 Jun 2014, at 16:38, "John Webber (NBI)" <</span><a moz-do-not-send="true" href="mailto:John.Webber@nbi.ac.uk">John.Webber@nbi.ac.uk</a><span style="color:black">> wrote:<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:black"><br>
<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Hi all,</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">On one of my Omero servers I am seeing “sessionid” files in /tmp, which are generated every 10 minutes and not removed. These files are called something like
 “sessionideb93037246a7b1efe7e01f6eec735cef”.  On other Omero servers, one or two of these files might exist, but they are not created every 10 minutes or so!  These are only small, but there are a lot of them!</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Can anyone advise why these are being left behind?  This is the SAME server where I was experiencing the<span class="apple-converted-space"> </span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">“Server
 error[500]”</span><span class="apple-converted-space"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">errors, which have now stopped.</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"><br>
Thanks</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">John</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#4F81BD">-------------------------------------------------------------------------------------------------------------------------------------------- </span></b><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><b><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#548DD4">John Webber<br>
</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Computing and Information Services</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">NBI Partnership Ltd</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Norwich Research park</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Colney Lane</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Norwich</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">NR4 7UH</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">E-Mail:</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><a moz-do-not-send="true" href="mailto:john.webber@nbi.ac.uk"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">john.webber@nbi.ac.uk</span></a><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Web:</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">   <span class="apple-converted-space"> </span></span><a moz-do-not-send="true" href="http://www.nbi.ac.uk/"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">http://www.nbi.ac.uk</span></a><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tel:</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">       
 +44(0)1603 450 818</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Helpdesk (Tel):  1234</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">    
 HPC Support (Web):</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">     <span class="apple-converted-space"> </span></span><a moz-do-not-send="true" href="http://hpc.nbi.ac.uk/"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">http://hpc.nbi.ac.uk</span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> 
 (NBI  internal)</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:12.0pt;background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                                                HPC Support (Tel):</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">         
 2003  (NBI internal)</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The NBI Partnership Ltd provides non-scientific services to the Institute of Food Research, the John Innes Centre, The Genome Analysis Centre and The Sainsbury
 Laboratory</span></i><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black"> </span><span style="color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black">_______________________________________________<br>
ome-users mailing list<br>
</span><a moz-do-not-send="true" href="mailto:ome-users@lists.openmicroscopy.org.uk"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#954F72">ome-users@lists.openmicroscopy.org.uk</span></a><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif";color:black"><br>
</span><a moz-do-not-send="true" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#954F72">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</span></a><span style="color:black"><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="color:black"> <o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">_______________________________________________ ome-users mailing list
</span><a moz-do-not-send="true" href="mailto:ome-users@lists.openmicroscopy.org.uk"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif"">ome-users@lists.openmicroscopy.org.uk</span></a><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">
</span><a moz-do-not-send="true" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users"><span style="font-size:10.5pt;font-family:"Calibri","sans-serif"">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</span></a><span style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:black">
</span><br>
<span style="font-size:10.0pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
ome-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a>
</pre>
</blockquote>
<br>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>