Hi Jackie,
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.
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.
Cheers, Ben
[cid:[email protected]]
Ben Savelkoul
0494 64 63 73 |
[email protected]<mailto:[email protected]>
GEO Solutions nv, Prins Boudewijnlaan 41, 2650 Edegem
www.geosolutions.be<http://www.geosolutions.be/>
GIS op maat van uw organisatie |Advies | Analyse | Ontwikkeling | Data
From: Jackie Ng [via OSGeo.org] [mailto:[email protected]]
Sent: maandag 27 februari 2017 23:16
To: Savelkoul Ben <[email protected]>
Subject: Re: 30 seconds delay after creating +/-100 CreateRuntimeMap calls
CREATERUNTIMEMAP itself will also create a session for you if you do not pass a
session id to it.
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
If you haven't bumped up this value, you probably should.
- Jackie
________________________________
If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309742.html
To unsubscribe from 30 seconds delay after creating +/-100 CreateRuntimeMap
calls, click
here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5309691&code=YmVuLlNhdmVsa291bEBnZW9zb2x1dGlvbnMuYmV8NTMwOTY5MXwtMTUyOTI0MTgxMQ==>.
NAML<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>
image001.png (6K)
<http://osgeo-org.1560.x6.nabble.com/attachment/5309750/0/image001.png>
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/30-seconds-delay-after-creating-100-CreateRuntimeMap-calls-tp5309691p5309750.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users