We have some dashboard applications that do automatic refreshes of the included widgets (iframes). Some of these dasbhoards cause problems in production: The relevant PHP session files grow large to the point where PHP starts logging out-of-memory errors (allowed memory size exhausted) probably because it starts hitting memory_limit while reading/parsing the session file. I’ve tried increasing memory_limit in php.ini but it solves the problem only temporarily. At 512M I’ve seen a session file grow to 61MB. Manually deleting large session files immediately stops the out-of-memory errors.
One thing I’ve noticed is that refresh requests to particular iframes do not include any URL params, while requests to other iframes do. I’m uncertain whether that is relevant but it seems to accelerate the session size.
Is there a way to control this? These dashboards are displayed on TVs as kiosk-style applications and may run and refresh over the course of multiple days.