devitocodes/Azure-devito

mbind: Operation not permitted

georgebisbas opened this issue · 9 comments

Encountered while allocating memory on the runs on azure.
TODO: Will elaborate more....
Warning level but possible issues may arise.

Affects performance: docker-library/mysql#303
Useful : http://programmersought.com/article/35041685113/;jsessionid=3B61EB3296FABBF034466D0C1614749E

Is this the full error/warning message?

is this still an issue? can we actually ignore it now?

From @george Iordanescu's on SLack:
https://devitocodes.slack.com/archives/CUYR290MT/p1588879563095300

  • When runing the benchmark in a docker container, I get "mbind: Operation not permitted" waring. Running the container with --security-opt seccomp=unconfined fixes this, but it looks to me like using a sledgehammer to open a walnut (or whatever the English lang correspondent that is). Any guidance on this?

same issue here.
security_opt is not working on docker swarm.The mysql log is full of information like this.

Hi Keith, it has been a long time since we last time tried this. Are you trying to run Devito on Azure?
--George

Hi Keith, it has been a long time since we last time tried this. Are you trying to run Devito on Azure? --George

Hi , George. we are not running on Azure. We have similar problems on both physical and virtual machines.
Thanks Reply.

Uh, I have to see this long time. Can you give as some more context? Like what machines, compilers, mpi version etc?

呃,我必须看到这么长时间。你能提供更多的背景吗?比如什么机器,编译器,mpi版本等?

the docker version:

Client: Docker Engine - Community
 Version:           20.10.5
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        55c4c88
 Built:             Tue Mar  2 20:14:11 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.5
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       363e9a8
  Built:            Tue Mar  2 20:18:31 2021
  OS/Arch:          linux/amd64
  Experimental:     false

OS

CentOS Linux release 7.6.1810 (Core)

The dockerfile is mysql official image, mysql:8.0.17
dockerfile is similar to this(It's just that the mysql version is different, I use v8.0.17)
mysql official dockerfile

Can you reproduce with this issue with no devito code? i.e. just an mpi ping-pong?