You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author: warmerdam Date: 2008/11/23 - 22:06
I foresee this being done as a CLOSE_CONNECTION=MAPDRAW or something similar. We would essentially defer closing connections, but at the end of map->Draw() we would make a pass through the connection pool closing all connections with that status.
I do have some concerns about the impact in a true multi-threading environment (like c#).
I'd be willing to implement such a feature, given some help to test it.
I'd also suggest that MAPDRAW be the default and that ONCLOSE be the other option which means drop the connection when the layer is closed (as is done now).
Author: warmerdam Date: 2009/03/10 - 21:13
On a roughly related note, I have modified the raster layer code to implement a sort of deferred connection handling (via GDALOpenShared()) that inspects the CLOSE_CONNECTION processing key. It will defer closing by default (the planned new global behavior), but does not automatically defer closes for tile indexes to avoid handle/resource exhaustion. (4daba03 (r8772))
This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.
Typically, issues fall in this state for one of the following reasons:
Hard, impossible or not enough information to reproduce
Missing test case
Lack of a champion with interest and/or funding to address the issue
Activity
mapserver-bot commentedon Apr 3, 2012
Author: warmerdam
Date: 2008/11/23 - 22:06
I foresee this being done as a CLOSE_CONNECTION=MAPDRAW or something similar. We would essentially defer closing connections, but at the end of map->Draw() we would make a pass through the connection pool closing all connections with that status.
I do have some concerns about the impact in a true multi-threading environment (like c#).
I'd be willing to implement such a feature, given some help to test it.
I'd also suggest that MAPDRAW be the default and that ONCLOSE be the other option which means drop the connection when the layer is closed (as is done now).
mapserver-bot commentedon Apr 3, 2012
Author: hobu
Date: 2009/03/10 - 20:23
Some notes re: discussions at Toronto Sprint
mapserver-bot commentedon Apr 3, 2012
Author: warmerdam
Date: 2009/03/10 - 21:13
On a roughly related note, I have modified the raster layer code to implement a sort of deferred connection handling (via GDALOpenShared()) that inspects the CLOSE_CONNECTION processing key. It will defer closing by default (the planned new global behavior), but does not automatically defer closes for tile indexes to avoid handle/resource exhaustion. (4daba03 (r8772))
mapserver-bot commentedon Feb 23, 2016
This is an automated comment
This issue has been closed due to lack of activity. This doesn't mean the issue is invalid, it simply got no attention within the last year. Please reopen with missing/relevant information if still valid.
Typically, issues fall in this state for one of the following reasons: