GithubHelp home page GithubHelp logo

Comments (17)

tjb-altf4 avatar tjb-altf4 commented on May 18, 2024 2

@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.

ckiszka avatar ckiszka commented on May 18, 2024 1

@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.

twright-msft avatar twright-msft commented on May 18, 2024

What OS distro, version, and file system do you have on the host?

from mssql-docker.

ckiszka avatar ckiszka commented on May 18, 2024

from mssql-docker.

twright-msft avatar twright-msft commented on May 18, 2024

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.

ckiszka avatar ckiszka commented on May 18, 2024

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.

twright-msft avatar twright-msft commented on May 18, 2024

Can you please try without the -m 4GB and without the volume mapping?

from mssql-docker.

ckiszka avatar ckiszka commented on May 18, 2024

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
191c66324a91a13bfa06957bd8596c5a85db6fbd2554614a36f3842f416d773c

The 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.

twright-msft avatar twright-msft commented on May 18, 2024

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.

ckiszka avatar ckiszka commented on May 18, 2024

Will do thanks.

from mssql-docker.

hcgonzalezpr avatar hcgonzalezpr commented on May 18, 2024

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.

ckiszka avatar ckiszka commented on May 18, 2024

@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.

hcgonzalezpr avatar hcgonzalezpr commented on May 18, 2024

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.

diggforbeer avatar diggforbeer commented on May 18, 2024

Any chance for a fix to this, I would really like to use this docker on my unraid system directly.

from mssql-docker.

alebeta90 avatar alebeta90 commented on May 18, 2024

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.

ckiszka avatar ckiszka commented on May 18, 2024

@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.

ckiszka avatar ckiszka commented on May 18, 2024

Just tested @tjb-altf4 solution in my docker compose file with 3GB. All works.

FYI -- @twright-msft

from mssql-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.