Skip to content

[2019-latest] mssql-conf not works #930

@pasztorl

Description

@pasztorl

Hi
I tried to configure mssql memoryi paramters with this command:

/opt/mssql/bin/mssql-conf set memory.memorylimitmb 1024
Warning: could not create log file for mssql-conf at /var/opt/mssql/log/mssql-conf/mssql-conf.log.
This program must be run as superuser or as a user with membership in the mssql
group.

The problem is this by default:

mssql@mssql-0:/$ /opt/mssql-tools18/bin/sqlcmd -S localhost -U SA -C -W
Password: 
1> SELECT name,value,value_in_use,description FROM sys.configurations WHERE name LIKE '%memory%';
2> GO
name value value_in_use description
---- ----- ------------ -----------
index create memory (KB) 0 0 Memory for index create sorts (kBytes)
min memory per query (KB) 1024 1024 minimum memory per query (kBytes)
min server memory (MB) 0 16 Minimum size of server memory (MB)
max server memory (MB) 2147483647 2147483647 Maximum size of server memory (MB)
tempdb metadata memory-optimized 0 0 Tempdb metadata memory-optimized is disabled by default.

(5 rows affected)

Any other way? Where can i find what key-values accepted in mssql.conf?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions