Skip to content

Commit f9b5ab9

Browse files
authored
Merge pull request #20475 from MicrosoftDocs/VanMSFT-patch-1
adding setting to disable automatic dumps
2 parents 57bf054 + 2262e84 commit f9b5ab9

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

docs/linux/sql-server-linux-configure-mssql-conf.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure SQL Server settings on Linux
33
description: This article describes how to use the mssql-conf tool to configure SQL Server settings on Linux.
44
author: VanMSFT
55
ms.author: vanto
6-
ms.date: 08/12/2020
6+
ms.date: 10/15/2021
77
ms.topic: conceptual
88
ms.prod: sql
99
ms.technology: linux
@@ -395,7 +395,13 @@ To set up this new location, use the following commands:
395395

396396
## <a id="coredump"></a> Specify core dump settings
397397

398-
If an exception occurs in one of the SQL Server processes, SQL Server creates a memory dump.
398+
If an exception or crash occurs in one of the SQL Server processes, SQL Server creates a memory dump. Capturing a memory dump may take a long time and take up significant space. To save resources and avoid repeated memory dumps, there is a setting to disable automatic dump capture, **coredump.disablecoredump**.
399+
400+
```bash
401+
sudo /opt/mssql/bin/mssql-conf set coredump.disablecoredump <true or false>
402+
```
403+
404+
Users can still generate memory dumps manually when automatic core dump is disabled (**coredump.disablecoredump** set to `true`).
399405

400406
There are two options for controlling the type of memory dumps that SQL Server collects: **coredump.coredumptype** and **coredump.captureminiandfull**. These relate to the two phases of core dump capture.
401407

@@ -838,4 +844,4 @@ traceflag = 3456
838844
839845
To instead use environment variables to make some of these configuration changes, see [Configure SQL Server settings with environment variables](sql-server-linux-configure-environment-variables.md).
840846
841-
For other management tools and scenarios, see [Manage SQL Server on Linux](sql-server-linux-management-overview.md).
847+
For other management tools and scenarios, see [Manage SQL Server on Linux](sql-server-linux-management-overview.md).

0 commit comments

Comments
 (0)