<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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;}
/* 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-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]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<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 Will,<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">Thanks for the response.<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 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.<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">These files are created when we restart omero web.  When omero web is not running the files are not created.<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 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:<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">                Server without issue:                                                     Server with sessionID issue:<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;mso-fareast-language:EN-US">httpd-2.2.3-82.el5.centos                                             httpd-2.2.3-83.el5.centos<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;mso-fareast-language:EN-US">httpd-devel-2.2.3-82.el5.centos                                                httpd-devel-2.2.3-83.el5.centos<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 attached a complete list of the different RPMs, but not sure whether any of the others are relevant.<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">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?<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"><br>
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>
<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>
<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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> William Moore [mailto:will@lifesci.dundee.ac.uk]
<br>
<b>Sent:</b> 20 June 2014 10:46<br>
<b>To:</b> John Webber (NBI)<br>
<b>Cc:</b> ome-users@lists.openmicroscopy.org.uk<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>
<p class="MsoNormal">Hi John,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> It's probably the Django web server that is creating these files in /tmp. See <a 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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">and <a href="http://stackoverflow.com/questions/10197880/django-file-based-session-doesnt-expire">http://stackoverflow.com/questions/10197880/django-file-based-session-doesnt-expire</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">These are sessions between the browser and the Django server and have nothing to do with OMERO sessions.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">   Will.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On 19 Jun 2014, at 16:38, "John Webber (NBI)" <<a href="mailto:John.Webber@nbi.ac.uk">John.Webber@nbi.ac.uk</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></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"">Hi all,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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 style="color:#1F497D">“Server
 error[500]”</span><span class="apple-converted-space"> </span>errors, which have now stopped.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><br>
Thanks<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">John<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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""> </span><a 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""><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""> <span style="color:#1F497D">   <span class="apple-converted-space"> </span></span></span><a 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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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""> <span style="color:#1F497D">       
 +44(0)1603 450 818</span><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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""> <span style="color:#1F497D">    
 HPC Support (Web):</span> <span style="color:#1F497D">     <span class="apple-converted-space"> </span></span></span><a 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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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""> <span style="color:#1F497D">         
 2003  (NBI internal)</span><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><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="font-size:11.0pt;font-family:"Calibri","sans-serif""><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> <o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif"">_______________________________________________<br>
ome-users mailing list<br>
</span><a 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""><br>
</span><a 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="font-size:13.5pt;font-family:"Helvetica","sans-serif""><o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>