mssql-docker
mssql-docker copied to clipboard
Resource temporarily unavailable : Docker on Unraid (Linux)
After running for a while my SQL Server container shuts down due to a Kernel check error:
This program has encountered a fatal error and cannot continue running at Wed Dec 30 11:17:51 2020
The following diagnostic information is available:
Reason: 0x00000006
Message: Kernel bug check
Address: 0x3fffb203be90
Parameters: 0x1a47ae240
Stack Trace:
file://package4/windows/system32/sqlpal.dll+0x000000000030E7D9
file://package4/windows/system32/sqlpal.dll+0x000000000030C769
file://package4/windows/system32/sqlpal.dll+0x000000000023BEEB
file:///windows/System32/Drivers/Afd.sys+0x0000000000006385
file:///windows/System32/Drivers/Afd.sys+0x000000000000686F
file:///windows/System32/Drivers/Afd.sys+0x000000000000631A
file://package4/windows/system32/sqlpal.dll+0x00000000002412B6
file://package4/windows/system32/sqlpal.dll+0x0000000000202FE2
file://package4/windows/system32/sqlpal.dll+0x0000000000347898
file:///Windows/system32/mswsock.dll+0x00000000000015EC
file:///Windows/SYSTEM32/WS2_32.dll+0x000000000000A6BE
file:///binn/sqllang.dll+0x00000000003C90B6
file:///binn/sqllang.dll+0x00000000003C9854
file:///binn/sqllang.dll+0x00000000000149CD
file:///binn/sqllang.dll+0x0000000000014DBA
file:///binn/sqllang.dll+0x00000000001FA73B
file:///binn/sqllang.dll+0x00000000001FA663
file:///binn/sqllang.dll+0x00000000001FA0EF
file:///binn/sqldk.dll+0x0000000000009FF3
file:///binn/sqldk.dll+0x000000000000A92D
file:///binn/sqldk.dll+0x000000000000A51E
file:///binn/sqldk.dll+0x00000000000217F2
file:///binn/sqldk.dll+0x000000000002215C
file:///binn/sqldk.dll+0x0000000000021F53
file:///Windows/SYSTEM32/KERNEL32.DLL+0x0000000000014414
file:///windows/system32/ntdll.dll+0x0000000000075541
<unknown>+0x0000000078398400
Process: 9 - sqlservr
Thread: 1488 (application thread 0x170c)
Instance Id: 7863ba8f-4112-4627-b55d-24120d4d5c5c
Crash Id: ed5f091b-860e-446a-bbae-e783560ef347
Build stamp: fd4eb1565f159d8f4b2d49c48e96d5797508c8bc5f222def3def149a28435962
Distribution: Ubuntu 18.04.5 LTS
Processors: 8
Total Memory: 31630999552 bytes
Timestamp: Wed Dec 30 11:17:51 2020
Last errno: 11
Last errno text: Resource temporarily unavailable
I can't seem to find out why this error is occurring.
The container launch command:
I have the same issue, server runs for some time (~12h, sometimes more sometimes less) and then I get a similar error. :(
Error log:
This program has encountered a fatal error and cannot continue running at Thu Jan 21 06:27:05 2021
The following diagnostic information is available:
Reason: 0x00000006
Message: Kernel bug check
Address: 0x3fffb623be90
Parameters: 0x1acdde240
Stack Trace:
file://package4/windows/system32/sqlpal.dll+0x000000000030E7D9
file://package4/windows/system32/sqlpal.dll+0x000000000030C769
file://package4/windows/system32/sqlpal.dll+0x000000000023BEEB
file:///windows/System32/Drivers/Afd.sys+0x0000000000006385
file:///windows/System32/Drivers/Afd.sys+0x000000000000686F
file:///windows/System32/Drivers/Afd.sys+0x000000000000631A
file://package4/windows/system32/sqlpal.dll+0x00000000002412B6
file://package4/windows/system32/sqlpal.dll+0x0000000000202FE2
file://package4/windows/system32/sqlpal.dll+0x0000000000347898
file:///Windows/system32/mswsock.dll+0x00000000000015EC
file:///Windows/SYSTEM32/WS2_32.dll+0x000000000000A6BE
file:///binn/sqllang.dll+0x00000000003C90B6
file:///binn/sqllang.dll+0x00000000003C9854
file:///binn/sqllang.dll+0x00000000000149CD
file:///binn/sqllang.dll+0x0000000000014DBA
file:///binn/sqllang.dll+0x00000000001FA73B
file:///binn/sqllang.dll+0x00000000001FA663
file:///binn/sqllang.dll+0x00000000001FA0EF
file:///binn/sqldk.dll+0x0000000000009FF3
file:///binn/sqldk.dll+0x000000000000A92D
file:///binn/sqldk.dll+0x000000000000A51E
file:///binn/sqldk.dll+0x00000000000217F2
file:///binn/sqldk.dll+0x000000000002215C
file:///binn/sqldk.dll+0x0000000000021F53
file:///Windows/SYSTEM32/KERNEL32.DLL+0x0000000000014414
file:///windows/system32/ntdll.dll+0x0000000000075541
<unknown>+0x0000000002A89400
Process: 5 - sqlservr
Thread: 2985 (application thread 0x2e80)
Instance Id: a7d51c4a-dc20-44c6-a4fd-dfe9b47d1748
Crash Id: f6429ba9-f649-47d3-8c51-cd898435d051
Build stamp: fd4eb1565f159d8f4b2d49c48e96d5797508c8bc5f222def3def149a28435962
Distribution: Ubuntu 18.04.5 LTS
Processors: 2
Total Memory: 4119068672 bytes
Timestamp: Thu Jan 21 06:27:05 2021
Last errno: 11
Last errno text: Resource temporarily unavailable
Ubuntu 18.04.5 LTS
Capturing core dump and information to /var/opt/mssql/log...
I am using podman/OCI:
podman run --name=mssql --restart always --privileged -e 'MSSQL_MEMORY_LIMIT_MB=3500' -e 'ACCEPT_EULA=Y' -e 'MSSQL_PID=PRODUCTKEY' -e 'SA_PASSWORD=PASSWORD' -p 1433:1433 -v /var/opt/mssql/data/:/var/opt/mssql/data/ -v /var/opt/mssql/log/:/var/opt/mssql/log/ -d mcr.microsoft.com/mssql/server:2019-latest
This is an odd behavior, we need to look at the logs and dump files to try and identify the issue, would it be possible for you or any one else seeing this issue to raise a support ticket with our CSS team to investigate this further?
Not a solution, but worth to note, I was running out of disk space of the host machine and I happened to have only few mega bytes left. I got the same message
Last errno: 11
Last errno text: Resource temporarily unavailable
Check the disk usage.