Property reference

mid.connection_cache

Enables caching of SSH connections between the MID Server and target hosts. With caching enabled by default, each host uses at most one connection for up to seven parallel requests; disabling it creates up to three connections that handle one request each and can reduce Discovery performance.

Default
true
Type
boolean
Application
Not stated

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? Caches SSH connections from the MID Server, allowing one connection per host to handle up to seven parallel requests; without caching, each request uses a separate connection.
What area does it affect? MID Server SSH Discovery
What does the default mean? The default value is "true", which means this behavior is enabled by default.
When should you review it? When changing SSH connection behavior, especially if Customer Service and Support advises disabling caching.

Property record

Facts stated in the ServiceNow documentation. No out of the box record has been read from an instance yet.

Property name mid.connection_cache
Type boolean
Application Not stated
Default value true
Description Not stated

Sources

Official references and nearby text excerpts where this property appears.

More in mid (other)

Other properties in the same namespace.

All 101 properties in mid (other) →

From the ServiceNow docs

Specifies whether to cache connections. To disable connection caching, set mid.connection_cache to false. This parameter applies to SSH connections only. Type: true | false Default value: true When mid.connection_cache is true, each host supports a maximum of 1 connection, and a single connection supports a maximum of 7 parallel requests. To change the number of parallel requests per connection, set the mid.ssh_connections_per_host parameter. If you do not define this parameter, the default value is 7.

Brazil · MID Server parameters · updated 2026-09-10

Source: ServiceNow/ServiceNowDocs (Apache 2.0)