Resolved: recurring daily issue with Invantive Cloud platform

Summary: there have been regular disruptions since release 24.0. The latest update is that a bugfix for a Microsoft component has been installed. The memory issue appears to have been resolved as a result.

Release 24.0 and Disruptions

The Invantive Cloud platform has been regularly affected by disruptions since the transition to release 24.0, with downloads taking an extremely long time (minutes turning into hours).

A number of improvements have been implemented to prevent these disruptions.

The disruptions usually occur from around 04:00 CET onwards and therefore affect the refreshing of data. It cannot be ruled out that there are specific downloads which, in combination with an issue in the new release, lead to this disruption. The behaviour being measured involves excessive use of working memory.

In this article, you can read how we are trying to resolve this recurring issue and reduce its impact.

The following measures have already been completed:

  • Limiting maximum usage per subscription in accordance with the terms (permanent)
  • Limiting maximum usage per subscription (temporary)
  • Limiting maximum usage across subscriptions (temporary)
  • Increasing the maximum speed of so-called “swap space” (mitigation)
  • Increasing maximum working memory by a factor of 4 (mitigation)
  • Limiting the maximum number of partitions accessed in parallel, cumulatively across all parallel downloads of 1 subscription.
  • Are there specific jobs around 04:00 that cause problems?
  • Improving measuring points.
  • Reducing memory pressure in release 24.0.
  • Automatic restart upon detection of a disruption.
  • Refining the measurement of maximum acceptable usage.
  • Refining measurements via SQL Execution Steps.

The following measures are in progress:

  • None.

The following measures are being studied:

  • Scale out: splitting further across even more servers
  • Temporary: shifting load to before 4:00 and preferably before 0:00 by asking users to shift their load. Nightly peaks currently occur right at 0:00 and 4:00.
  • Expanding SQL Execution Steps with bytes transported and memory usage per statement.

Status Analysis 28 February 2024

The problems were primarily traceable to a lack of physical working memory in the server park. After a fourfold increase in capacity, this problem no longer occurred, but it turned out that there was extremely high activity during the night — particularly during the nightly peak around 4:00 CET. Together with another peak around 0:00 CET, this placed a greater demand on the available memory capacity than had previously been possible.

This risk had already been present for some time and is typical of the ongoing month-on-month growth in the use of Invantive Cloud.

An initial remedy was provided by clearing unnecessary memory capacity more quickly.

A second activity, already started and partly completed, involves better sharing of static components such as fixed metadata among large numbers of users. This is comparable to, for example, Microsoft Word being unmodifiable on a Microsoft Terminal Server, where the working memory containing the code is shared by multiple simultaneous users.

Update 25 March 2024

An upgrade has been installed for a Microsoft component. This component handles the release of unused memory. This sometimes appeared to stop happening, after which memory usage would explode within a few hours.

The problem no longer appears to be occurring.