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

2018-04-12 Thread sothy shan
On Wed, Apr 11, 2018 at 8:40 PM, Stephen Day wrote: > Yes, I would also try to flush it, as well. > > It’s also possible this is missed by the profile sampling. Can you confirm > this outputs something outside the container? I run the program and tested in ubuntu 16.04. It works. I use commands

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

2018-04-11 Thread 'Stephen Day' via docker-dev
Yes, I would also try to flush it, as well. It’s also possible this is missed by the profile sampling. Can you confirm this outputs something outside the container? On Wed, Apr 11, 2018 at 02:52 sothy shan wrote: > On Tue, Apr 10, 2018 at 8:19 PM, Stephen Day > wrote: > >> Try and check this er

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, 2018 at 7:28 AM sothy shan wro

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

2018-04-10 Thread 'Stephen Day' via docker-dev
Try and check this error: f,_ :=os.Create("./ipcore_blocking.prof") On Tue, Apr 10, 2018 at 7:28 AM sothy shan wrote: > On Fri, Apr 6, 2018 at 6:20 PM, Stephen Day > wrote: > >> What commands did you run exactly? What docker commands did you run? >> >> When reporting an issue, you need to be s

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

2018-04-10 Thread sothy shan
On Fri, Apr 6, 2018 at 6:20 PM, Stephen Day wrote: > What commands did you run exactly? What docker commands did you run? > > When reporting an issue, you need to be specific. > I run the following commands: $docker build . -t test_docker_one $docker run -itd test_docker_one $docker cp 3e623

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

2018-04-06 Thread 'Stephen Day' via docker-dev
What commands did you run exactly? What docker commands did you run? When reporting an issue, you need to be specific. 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 do you mean by "it didnt work"? What did you actually try? >>

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

2018-04-06 Thread sothy shan
On Fri, Apr 6, 2018 at 6:05 PM, Stephen Day wrote: > What do you mean by "it didnt work"? What did you actually try? > I tried to get prof file and run top30 commands. When I am doing in host machine, it give values. When I run in docker, I got a file. After running go tool pprof xx.prof and top

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

2018-04-06 Thread 'Stephen Day' via docker-dev
What do you mean by "it didnt work"? What did you actually try? 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. > > ++ > packag