Code Monkey home page Code Monkey logo

Comments (7)

Hanrepo avatar Hanrepo commented on June 20, 2024 2

"
SSL_CERT_FILE: "/opt/fhir-pseudonymizer/certs/nginx-selfsigned.crt"
SSL_KEY_FILE: "/opt/fhir-pseudonymizer/certs/nginx-selfsigned.key"
volumes:
- "./anonymization.yaml:/opt/fhir-pseudonymizer/anonymization.yaml:ro"
- "./certs/nginx-selfsigned.crt:/opt/fhir-pseudonymizer/certs/nginx-selfsigned.crt:ro"
- "./certs/nginx-selfsigned.key:/opt/fhir-pseudonymizer/certs/nginx-selfsigned.key:ro"
"
using opt instead of /etc/, then, it works.

from fhir-pseudonymizer.

chgl avatar chgl commented on June 20, 2024

Not sure the mem_limit is still used in current compose versions. It should use the deploy: section instead: https://docs.docker.com/compose/compose-file/deploy/#memory - you can check whether the limits were set using docker stats. If your machine has a lot of CPUs, you might want to limit the available CPUs as well: each one increases the size of required memory by the application.

Can you share the details of where you're running the container if the above doesn't help. Docker version, os version, amount of ram and CPU.

from fhir-pseudonymizer.

Hanrepo avatar Hanrepo commented on June 20, 2024

Docker version 24.0.6, build ed223bc
OS Information | linux x86_64 Ubuntu 22.04.3 LTS
Total CPU | 4
Total memory | 16.7 GB

Based on the Docker documentation, I made some modifications:
deploy:
resources:
limits:
cpus: '0.5'
memory: 4g
pids: 1
reservations:
cpus: '0.5'
memory: 4g

from fhir-pseudonymizer.

chgl avatar chgl commented on June 20, 2024

Thats a strange issue. The setup looks fine.

It definitely wont with with pids limited to 1, in that case the error should be "0x80070008". Can you try removing the PID limitation and starting it again?

If that doesn't work, can you try launching an unmodified compose, the example one in https://github.com/miracum/fhir-pseudonymizer/blob/master/compose/compose.yaml. E.g. from the repository root, run:

docker compose -f compose/compose.yaml up

from fhir-pseudonymizer.

Hanrepo avatar Hanrepo commented on June 20, 2024

Removing pids doesn't resolve the issue, good News is that it can be initiated with an unmodified compose.
seems the problem of gPAS and SSL (negix-self signed-cert).

from fhir-pseudonymizer.

UKFr-DIZ avatar UKFr-DIZ commented on June 20, 2024

Hi,

from our site, we have the same issue. Although moving the anonymization.yaml didn't do anything for us.
However, what worked for us, was setting the environment var DOTNET_EnableDiagnostics: "0"

based on here: https://stackoverflow.com/questions/76383522/asp-net-core-7-0-container-failed-to-create-coreclr-hresult-0x8007000e

If I don't set that var, the container immediatly stop with the same error message in this issue.
The server itself has enough RAM (16GB) and i didn't specify the available RAM for the container.

from fhir-pseudonymizer.

chgl avatar chgl commented on June 20, 2024

Thanks for sharing! Seems to very environment specific, but glad that worked. There's also an "official " compose sample which sets that env var as well in order to run on a read-only filesystem: https://github.com/miracum/fhir-pseudonymizer/blob/master/compose/compose.yaml

from fhir-pseudonymizer.

Related Issues (10)

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.