Title
Create new category
Edit page index title
Edit category
Edit link
Automatic scaling settings
MetaDefender Storage Security (MDSS) adjusts how much it processes automatically, based on how busy the system is. This page lists the settings that control that behavior, with their default values and a short explanation of each one. For an overview of how automatic scaling works, see the Automatic Scaling page.
Altering these settings is optional. They are provided for cases where you want to adapt the behavior to a specific environment. Each setting is applied as an environment variable. MDSS reads them when the service starts, so restart MDSS after making a change. The settings that control scaling apply to the scanning part of MDSS, which is why their names begin with SCANNING_AUTOSCALER_.
1. General behavior
Setting | Default | Unit | What it does |
|---|---|---|---|
|
| on/off | Turns automatic scaling on or off. When off, MDSS still monitors performance and shows the dashboard, but it no longer adjusts how much it processes by itself. |
|
| seconds | How often MDSS checks the system and decides whether to adjust. |
|
| items | How many items each scanning worker starts with, and the level it returns to when there is no work. |
|
| items | The fewest items a worker will handle at once when scaling down. |
|
| items | The most items a worker will handle at once when scaling up. MDSS will not go above 200 by default, and never above an internal maximum of 400 even if you set a higher number. |
|
| checks | How many quiet checks in a row before MDSS returns to its starting level. At the default check interval this is about five minutes. |
|
| seconds | After MDSS reaches a critical limit and pulls back, how long it waits before testing whether it can speed up again. |
|
| checks | How many healthy checks in a row are needed before MDSS speeds up. A higher number makes it ramp up more cautiously. |
|
| checks | How many warning checks in a row before MDSS eases back. A lower number makes it back off sooner. |
|
| percentage points | A small buffer around the CPU and memory limits that keeps MDSS from switching back and forth when usage sits right at a limit. |
|
| percentage points | The same kind of buffer for the queue of scanned results waiting for the next step. |
|
| percentage points | The same kind of buffer for how loaded the scan instances are. |
2. Resource limits
These set the points at which a resource is considered under pressure. When a resource passes its warning level, MDSS starts to ease back gradually. When it passes its critical level, MDSS reduces its load right away.
Setting | Default | Unit | What it does |
|---|---|---|---|
|
| percent | CPU usage that MDSS treats as a warning. |
|
| percent | CPU usage that makes MDSS reduce its load immediately. |
|
| percent | Memory usage that MDSS treats as a warning. |
|
| percent | Memory usage that makes MDSS reduce its load immediately. |
|
| percent of the limit below | How full the results queue can get, as a percentage of the limit below, before MDSS treats it as a warning. |
|
| items waiting | The number of scanned results waiting in the queue that makes MDSS reduce its load immediately. This is also the maximum size of that queue. |
The queue of incoming work has no limit to set. Any waiting work simply tells MDSS there is something to process.
3. Scan instance settings
These control how MDSS reads the load and health of the connected MetaDefender Core scan instances and how much work it sends to each one.
Setting | Default | Unit | What it does |
|---|---|---|---|
|
| percent | The load MDSS aims to keep each scan instance at, as a percentage of what that instance can hold. |
|
| recent results | How many recent results MDSS looks at when judging how loaded a scan instance is. |
|
| share (0 to 1) | The share of recent requests that fail before MDSS treats a scan insatnce as unhealthy and pulls work away from it. The default of |
|
| recent results | How many recent results are used for the failure-rate check above. |
|
| share (0 to 1) | The share of recent requests a scan instance turns away for being too busy before MDSS treats it as a warning. The default of |
|
| recent results | How many recent results are used for the too-busy check above. |
4. Disk space protection
MDSS includes a safety guardrail that pauses processing when disk space runs low and resumes it once space is recovered. This protects your data and keeps working even when automatic scaling is turned off.
Setting | Default | Unit | What it does |
|---|---|---|---|
|
| seconds | How often MDSS checks available disk space. The lowest allowed value is 10. |
|
| percent | How full the disk can get before MDSS pauses processing to avoid running out of space. |
|
| percent | How far disk usage must drop before MDSS resumes processing. The gap below the pause level prevents rapid pausing and resuming. |
|
| path | The disk location MDSS watches for free space. |
|
| percent free | How little free disk space a scan instance can have before MDSS stops sending it work. |
|
| seconds | How often MDSS checks the health of each scan instance. |
|
| on/off | When set to |