Problem
If the map viewer is opened with a WMC containing at least one service that failed during the last monitoring run, the WMC object is serialized and stored in the session:
|
Mapbender::session()->set("wmcGetApi", base64_encode($wmcGetApi)); |
Our sessions are stored in Memcached which accepts values up to a size of 1 MB by default. Large WMCs may be scraping this threshold.
If Memcached receives a value too large to store, the key is removed from the cache (https://docs.memcached.org/serverguide/performance/#how-it-handles-set-failures).
Solution / Workaround
In /etc/memcached.conf increase the maximum object size (-I 8m) as well as the maximum memory allocation of the Memcached process (-m 512).
Problem
If the map viewer is opened with a WMC containing at least one service that failed during the last monitoring run, the WMC object is serialized and stored in the session:
Mapbender2.8/http/javascripts/initWmcObj.php
Line 1249 in 7fb3ecf
Our sessions are stored in Memcached which accepts values up to a size of 1 MB by default. Large WMCs may be scraping this threshold.
If Memcached receives a value too large to store, the key is removed from the cache (https://docs.memcached.org/serverguide/performance/#how-it-handles-set-failures).
Solution / Workaround
In
/etc/memcached.confincrease the maximum object size (-I 8m) as well as the maximum memory allocation of the Memcached process (-m 512).