What is the rough pseudo-code of the thing you are doing ~100 times? I want
to try and get a gauge of what server resources could possible be consumed.
Also, what version of AIMS/MapGuide is this and what WebTier configuration
are you using?
- Jackie
--
View this message in context:
Hi
I am building a Openlayers client for AIMS where at loadtime I call the
server api to create a session and to create maps to work with within this
session. I use OPERATION=GETDYNAMICMAPOVERLAYIMAGE to call the layers from
openlayers. In some cases the number of CreateRuntimeMap calls to the
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,
Everything after /mapguide/rest/... is a virtual path that's URL rewritten so
that index.php knows what to do with that URL route.
You will find a route handler that handles /services/createmap.{format}
under app/routes
To further assist debugging, you can turn on stack traces in app/config.php
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.