Local users inside containers and futex timeouts

Hi all,
we are establishing a swarm on a the latest Centos7 or Ubuntu to run a java service that reads from a web location and writes to a file. Inside those containers we do create a single user to run the application under instead of under root.

Outside the swarm, in a container or as a service the process works properly. In Swarm mode in a container, the application doesn’t write any data. Using ‘strace’ we can see that it is getting ‘futex’ timeout’s. If we run the same process using the container root account, it works properly.

Since --privileged mode does not work for swarm mode, is there another way to solve this issue?