Comments (17)
@ckiszka I came across a solution a few days ago from another user, I'm up and running in unraid now.
Try adding the parameters -m 8g --ulimit stack=8192000:8192000
(based on 8GB allocation)
Reasons explained in detail here: https://support.microsoft.com/hr-ba/help/4134638/sql-server-2017-terminates-and-generates-a-core-dump-on-rhel-7-4-when
from mssql-docker.
@twright-msft -- Its been a couple years and I wanted to circle back and see if running mssql in a docker on Unraid has been updated? Thanks in advance.
from mssql-docker.
What OS distro, version, and file system do you have on the host?
from mssql-docker.
from mssql-docker.
We think this is the assert that happens when the container starts up and has less than the required 4 GB of RAM. It looks like you are trying to limit the container to -m 4GB, but does Docker Engine itself have at least 4 GB of available capacity for hosting containers? We see this kind of thing quite often when people are using Docker for Mac or Docker for Windows which default to Docker Engine only have 2 GB by default.
from mssql-docker.
The server has 24 GB of RAM, 16 GB available for use. Its weird. The other docker image, referenced above, works (except volume mapping). I think its based off your older image. Thanks for your assistance. Im trying to test the potential of moving away from MySql and start using MSSQL and NET Core. Any help and or direction with this SQL matter is greatly appreciated.
from mssql-docker.
Can you please try without the -m 4GB and without the volume mapping?
from mssql-docker.
Command
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="KE-MSSQL" --net="bridge" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "ACCEPT_EULA"="Y" -e "SA_PASSWORD"="password" microsoft/mssql-server-linux:latest
191c66324a91a13bfa06957bd8596c5a85db6fbd2554614a36f3842f416d773cThe command finished successfully!
Log
Configuring Microsoft(R) SQL Server(R)...
sqlservr: vm.cpp:38: BOOLEAN IsPossiblyValidPalAddress(const void *): Assertion `result' failed.
cat: /proc/21/sched: No such file or directory
No journal files were found.
No journal files were found.
ls: cannot access '/var/opt/mssql/log/errorlog*': No such file or directory
ls: cannot access '/var/opt/mssql/log/exception.log': No such file or directory
ls: cannot access '/var/opt/mssql/log/SQLDu*.txt': No such file or directory
ls: cannot access '/var/opt/mssql/log/SQLDu*.mdmp': No such file or directory
ls: cannot access '/var/opt/mssql/log/system_health*': No such file or directory
Configuration complete.
paltelemetry: Loading the directory /var/opt/mssql/.system/.system/telemetry failed. Errno [2]
This is an evaluation version. There are [173] days left in the evaluation period.
sqlservr: vm.cpp:38: BOOLEAN IsPossiblyValidPalAddress(const void *): Assertion `result' failed.
Capturing core dump and information for sqlservr (pid 150)...
cat: /proc/150/sched: No such file or directory
No journal files were found.
No journal files were found.
SQL Log Directory /var/opt/mssql/log
ls: cannot access '/var/opt/mssql/log/errorlog*': No such file or directory
ls: cannot access '/var/opt/mssql/log/exception.log': No such file or directory
ls: cannot access '/var/opt/mssql/log/SQLDu*.txt': No such file or directory
ls: cannot access '/var/opt/mssql/log/SQLDu*.mdmp': No such file or directory
ls: cannot access '/var/opt/mssql/log/system_health*': No such file or directory
Packaging core dump and information into compressed files.
Core dump and information will be written to /var/opt/mssql/log/core.sqlservr.01_25_2017_21_30_57.150 and logs in /var/opt/mssql/log/core.sqlservr.01_25_2017_21_30_57.150.log
from mssql-docker.
OK, thanks. Same result. We made some changes in between 1.1 and 1.2 in how we manage memory so there could be an undiscovered bug here. Could we trouble you to upload the dump so we can take a look at it? If so, please contact me via email at twright a t microsoft and I'll provide you the instructions on how to upload to our secure upload store.
from mssql-docker.
Will do thanks.
from mssql-docker.
Exactly same issue here. I'm using Unraid 6.3.2
Attached the logs : https://drive.google.com/open?id=0B2l7au-TREeXYzJYVjJxVURldFk
from mssql-docker.
@hcgonzalezpr -- I created an lean Ubuntu VM in UnRaid with docker installed and it ran fine. Currently that is how I am operating with this docker image to date.
from mssql-docker.
Thanks I'll got that route for now. Sadly this defeats the purpose of using docker to stay away from spinning up a whole a VM.
from mssql-docker.
Any chance for a fix to this, I would really like to use this docker on my unraid system directly.
from mssql-docker.
Hello all,
I have same issue, it is possible to be related with the filesystem of our storage? in my case I have GlusterFS running on XFS, but if I run in a EXT4 filesystem the container works properly.
I see something similar here #126
from mssql-docker.
@tjb-altf4 -- Great find. I read the post.
I think the minimum memory requirement for Linux based Sql is 3GB. I am going to try your discovered solution with that to see if it solves the persistent storage blocker for me in unraid.
Again, great find man! Thanks!
from mssql-docker.
Just tested @tjb-altf4 solution in my docker compose file with 3GB. All works.
FYI -- @twright-msft
from mssql-docker.
Related Issues (20)
- Broken docker compose output for SQL Server container logs HOT 12
- Unable to lock /var/opt/mssql/ HOT 3
- custimize build error: "mkdir: cannot create directory '/usr/config': Permission denied" HOT 1
- install.tar is part of the final image, makes the image 1.3 GB bigger than necessary HOT 7
- Fail to run conatiner with Error "Too many open files"
- mssql Error: 17113, Severity: 16, State: 1. Error 5 (Access Denied)
- EXCEPTION_ACCESS_VIOLATION HOT 15
- Massive virtual memory usage while running linux container with only one DB
- Confusing Password Validation Error Message HOT 1
- Broken/held packages for libldap HOT 1
- Machine Learning Extension SQL Server 2022 not working HOT 1
- mssql for arm64 HOT 2
- Cannot connect SQLServer docker from ASP.NET Core 8 HOT 1
- Security vulnerabilites identified in sqlserver linux docker image
- Unable to start container on Linux 6.7 HOT 63
- Incompatible permissions tracking 2022-latest (from 2022-CU10-ubuntu-22.04 to 2022-CU11-ubuntu-22.04) HOT 1
- Issuse pulling any image from mcr.microsoft.com/mssql/ HOT 1
- Issue with AD on mssql-docker linux > CU9 (Ubuntu 22.04 vs 20.04) HOT 2
- Daylight savings time - wrong time with 2017-latest HOT 1
- LDF files are not moved to MSSQL_LOG_DIR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mssql-docker.