<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[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 Jackie,<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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">I do pass the session ID to the CREATERUNTIMEMAP call. I also tried to bump the SessionRepositoriesLimit value, but I’ve
 never encountered more than about 20 sessions at a time so that doesn’t seem to be the problem. That is about 20 sessions since we haven’t gone to production yet. If I encounter this problem in our test environment, I expect it only to be worse in production.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" 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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Now, I already changed some things in my viewers code to not load all the  runtime maps at once into the session at startup.
 So, this keeps the problem from occurring for now. But I am not sure that will do for production.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" 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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers, Ben<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" 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 lang="EN-US" 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 lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:5.4pt;border-collapse:collapse">
<tbody>
<tr>
<td width="151" valign="top" style="width:90.45pt;border:none;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><img width="78" height="78" style="width:.8166in;height:.8166in" id="Picture_x0020_3" src="http://osgeo-org.1560.x6.nabble.com/attachment/5309750/0/image001.png" alt="cid:image004.png@01CE52E4.A7D3CDA0"></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
</td>
<td width="520" style="width:11.0cm;border:none;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Ben Savelkoul</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">0494 64 63 73 |  </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#0433FF"><a href="/user/SendEmail.jtp?type=node&node=5309750&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a></span><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#0433FF"> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">GEO Solutions nv</span></b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">, Prins Boudewijnlaan
 41, 2650 Edegem</span><span style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.65pt"><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#0096FF"><a href="http://www.geosolutions.be/" target="_top" rel="nofollow" link="external">www.geosolutions.be</a> </span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">GIS op maat van uw organisatie </span></b><span style="font-size:10.0pt;font-family:"Calibri",sans-serif;color:#1F497D">|Advies | Analyse | Ontwikkeling |
 Data</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><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"><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"> Jackie Ng [via OSGeo.org] [mailto:ml-node+<a href="/user/SendEmail.jtp?type=node&node=5309750&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<br>
<b>Sent:</b> maandag 27 februari 2017 23:16<br>
<b>To:</b> Savelkoul Ben <<a href="/user/SendEmail.jtp?type=node&node=5309750&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>><br>
<b>Subject:</b> Re: 30 seconds delay after creating +/-100 CreateRuntimeMap calls<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">CREATERUNTIMEMAP itself will also create a session for you if you do not pass a session id to it.
<br>
<br>
Do you pass the session ID to the CREATERUNTIMEMAP call? If not, that's 2 sessions created for every time you are starting up your viewer. If you are doing 100 calls before seeing a 30s delay, assuming you didn't pass session id to CREATERUNTIMEMAP, then that's
 (100 * 2 = 200 sessions created) and you might have just hit the default value of SessionRepositoriesLimit in serverconfig.ini
<br>
<br>
If you haven't bumped up this value, you probably should. <br>
<br>
- Jackie <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma",sans-serif;color:#444444"><a href="http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309742.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309742.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma",sans-serif;color:#666666">To unsubscribe from 30 seconds delay after creating +/-100 CreateRuntimeMap calls,
<a href="" target="_top" rel="nofollow" link="external">
click here</a>.<br>
<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman",serif">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>




        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309750.html">RE: 30 seconds delay after creating +/-100 CreateRuntimeMap calls</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html">MapGuide Users mailing list archive</a> at Nabble.com.<br/>