GithubHelp home page GithubHelp logo

Comments (5)

zutewas avatar zutewas commented on May 28, 2024

Update with other test which works.

user@virtubuntu:/etc/otrecorder$ docker run -it --rm -v /media/nas/docker/otr:/mnt busybox
/ # cd /mnt/
/mnt # ls -l
total 0
drwxr-xr-x    2 1000     1000             0 Dec 16 09:20 config
drwxr-xr-x    2 1000     1000             0 Dec 16 09:20 store
/mnt # mkdir test
/mnt # ls -l
total 0
drwxr-xr-x    2 1000     1000             0 Dec 16 09:20 config
drwxr-xr-x    2 1000     1000             0 Dec 16 09:20 store
drwxr-xr-x    2 1000     1000             0 Dec 16 09:41 test
/mnt # rm -R test/
/mnt # ls -l
total 0
drwxr-xr-x    2 1000     1000             0 Dec 16 09:20 config
drwxr-xr-x    2 1000     1000             0 Dec 16 09:20 store
/mnt #

from docker-recorder.

jpmens avatar jpmens commented on May 28, 2024

A quick search leaves me thinking few people use CIFS with docker and those who do don't have an easy time with it...

Have you tried having the host mount the CIFS FS before launching docker? This might help a bit.

(I have zero experience with CIFS under docker.)

from docker-recorder.

zutewas avatar zutewas commented on May 28, 2024

Thanks for the first hint. I'm using autofs and this mounts on demand. I'm using round about 10 dockers with micro services for private use and there is at the moment no other docker image with this type of problem. I will check your link and play with different settings. ;-)

from docker-recorder.

jpmens avatar jpmens commented on May 28, 2024

Something ocurred to me early this morning: the Recorder uses LMDB which in turn memory-maps (nmap) files. It is absolutely possible that memory mapping files through docker and CIFS is just not possible and the reason why some component crashes and we dump core.

I wouldn't expect it is us because we handle an error but maybe some other layer:

rc = mdb_env_create(&gc->env);
if (rc != 0) {
        olog(LOG_ERR, "gcache_open: mdb_env_create: %s", mdb_strerror(rc))
;
        free(gc);
        return (NULL);
}

mdb_env_set_mapsize(gc->env, lmdb_size);

from docker-recorder.

jpmens avatar jpmens commented on May 28, 2024

Closing this as stale.

from docker-recorder.

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.