[docker-dev] docker-compose

2018-03-23 Thread sothy shan
Hello, I am using Docker-compose to create my app (with four services). Docker-compose version is 3. To run services, I am using docker-compose -f up. I am running docker in my local 4 core (intel 7). Now I wan to assign specific CPUs to some specific services. Will it possible to do with th

Re: [docker-dev] docker-compose

2018-03-27 Thread sothy shan
ed list of cpus or cores to allocate containers to. > > cheers > James > > > James Mills / prologic > > E: prolo...@shortcircuit.net.au > W: prologic.shortcircuit.net.au > > On Fri, Mar 23, 2018 at 8:36 AM, sothy shan wrote: > >> Hello, >> >> I am

[docker-dev] GO blocker profiler does not work in Docker environment

2018-04-06 Thread sothy shan
Hello, GO blocker profierl does give pporf file when I run in docker container. This is sample program. ++ package main import ( "os" "runtime/pprof" "runtime" "fmt" ) func main() { f,_ :=os.Create("

Re: [docker-dev] GO blocker profiler does not work in Docker environment

2018-04-06 Thread sothy shan
prof xx.prof and top30, I dont have details like before. > > On Fri, Apr 6, 2018 at 8:54 AM sothy shan wrote: > >> Hello, >> >> GO blocker profierl does give pporf file when I run in docker container. >> This is sample program. >> >> +

Re: [docker-dev] GO blocker profiler does not work in Docker environment

2018-04-10 Thread sothy shan
$docker cp 3e6233899eb597326dad82a13d6760497bdab37db834a816cdc3b6e0ca27:./ipcore_blocking.prof ./ {copying file} It makes sense? > On Fri, Apr 6, 2018 at 9:12 AM sothy shan wrote: > >> On Fri, Apr 6, 2018 at 6:05 PM, Stephen Day >> wrote: >> >>> What

Re: [docker-dev] GO blocker profiler does not work in Docker environment

2018-04-11 Thread sothy shan
On Tue, Apr 10, 2018 at 8:19 PM, Stephen Day wrote: > Try and check this error: f,_ :=os.Create("./ipcore_blocking.prof") > Actually, file is created, but content is not there. In the error, can I see why prof is not filled completely. NO? > > > On Tue, Apr 10, 2

Re: [docker-dev] GO blocker profiler does not work in Docker environment

2018-04-12 Thread sothy shan
works. I use commands go run main.go . Then output file is created. See the sample in the attachment. if you want to see output, run the commands: go tool pprof text.prof > On Wed, Apr 11, 2018 at 02:52 sothy shan wrote: > >> On Tue, Apr 10, 2018 at 8:19 PM, Stephen Day >> wrote: >