Git Product home page Git Product logo

Comments (7)

chrislusf avatar chrislusf commented on July 22, 2024

runs fine on me. seems related to master or agent setup

chrislu-mbp:tmp chrislu$ go run wc.go -glow -glow.related.files=passwd
testWordCount1
2016/02/27 20:44:34 localhost:8930 allocated 1 executors.
2016/02/27 20:44:34 localhost:8930 allocated 1 executors.
2016/02/27 20:44:34 localhost:8930 allocated 1 executors.
2016/02/27 20:44:34 localhost:8930 allocated 1 executors.
[::1]:8931>testWordCount1
[::1]:8932>testWordCount1
[::1]:8932>testWordCount1
[::1]:8932>testWordCount1
0x001b8aa0 size:1813     count:24
0x001b8ab8 size:1298     count:1
0x7688b540 size:87       count:1
0x76fb9640 size:48       count:6
[::1]:8932>
[::1]:8932>
[::1]:8932>
[::1]:8932>
[::1]:8931>
UseTime:91

from glow.

chrislusf avatar chrislusf commented on July 22, 2024

Does it always happen or just one time error?

If always, please check for any firewall settings.

from glow.

adeagle avatar adeagle commented on July 22, 2024

word_count.zip

from glow.

chrislusf avatar chrislusf commented on July 22, 2024

no issue using the zip file.

chrislu-mbp:word_count chrislu$ go run wc.go -glow -glow.related.files=passwd
testWordCount1
2016/02/28 00:59:28 localhost:8930 allocated 1 executors.
2016/02/28 00:59:28 localhost:8930 allocated 2 executors.
2016/02/28 00:59:28 localhost:8930 allocated 3 executors.
2016/02/28 00:59:28 localhost:8930 allocated 1 executors.
[::1]:8931>testWordCount1
[::1]:8932>testWordCount1
[::1]:8931>testWordCount1
[::1]:8931>testWordCount1
[::1]:8931>testWordCount1
[::1]:8931>testWordCount1
[::1]:8931>testWordCount1
0x001b8aa0 size:53821    count:2767
0x001b8ab8 size:1298     count:1
0x7688af58 size:23       count:1
0x7688b540 size:35156    count:4
0x76fb9640 size:48       count:6
[::1]:8932>
[::1]:8932>
[::1]:8932>
[::1]:8932>
[::1]:8932>
[::1]:8931>
[::1]:8931>
[::1]:8931>
[::1]:8931>
[::1]:8931>
[::1]:8931>
UseTime:224

from glow.

chrislusf avatar chrislusf commented on July 22, 2024

wait. seems I can reproduce sometimes on linux...

from glow.

adeagle avatar adeagle commented on July 22, 2024

/////////////////////////////windows test script////////////////////////////

taskkill /im glow.exe
del data* -r

start glow.exe master
ping 127.0.0.1 -n 2 > null
start glow.exe agent --dir data --max.executors=16 --memory=2048 --master="localhost:8930" --port 8931
ping 127.0.0.1 -n 2 > null
start glow.exe agent --dir data1 --max.executors=16 --memory=2048 --master="localhost:8930" --port 8932
ping 127.0.0.1 -n 2 > null

for /l %%i in (1,1,10) do go run wc.go -glow -glow.related.files=passwd

taskkill /im glow.exe
del data* -r

///////////////////////////////console output/////////////////////////////////
C:\GoWorkspace\word_count>go run wc.go -glow -glow.related.files=passwd
testWordCount1
2016/02/28 17:46:42 localhost:8930 allocated 1 executors.
2016/02/28 17:46:42 localhost:8930 allocated 1 executors.
2016/02/28 17:46:42 localhost:8930 allocated 4 executors.
2016/02/28 17:46:42 localhost:8930 allocated 1 executors.

bloking....... (5 wc.exe process with high cpu)

from glow.

chrislusf avatar chrislusf commented on July 22, 2024

fixed in 3876d2f

from glow.

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.