Fork me on GitHub
#onyx
<
2016-03-13
>
Drew Verlee00:03:27

I probably shouldn't play with things I don't understand. Running ./build.sh from the onyx template seems to have had some unexpected behaviour. Upon restarting my laptop im left with only the mouse and the background (the icons are gone). I can't get a terminal. My guess is I put the docker containers onto of my desktop os, which probably not the right idea. In using ubuntu. Any ideas are welcome. The laptop was overdue for replacement anyway.

michaeldrogalis03:03:11

Woah o_o I'm sorry to hear that @drewverlee

michaeldrogalis03:03:31

I've never heard of Docker causing that kind of behavior before.

Drew Verlee03:03:43

@michaeldrogalis: Nothing to be sorry for. I fudged part of the instructions where you setup a VM to run the docker commands inside (step 2 setup a VM). Instead i just used my host OS. Part of me understood this might end poorly. I can get to all my files. my guess is that i need to un-containerize it... simple_smile

michaeldrogalis03:03:32

@drewverlee: I could be wrong, but I think you only need a VM if you're running OS X, in which case docker-machine usually makes a VM on your behalf. I think something more devious was going on with Ubuntu and Docker there. 😧

Drew Verlee03:03:22

hmm. Thanks for your input! i'll try to figure it out. I can get at my files so hopefully i can get some logs. like what cmds i ran.

michaeldrogalis03:03:37

For what it's worth, about 2 years ago I had a laptop with Ubuntu 14 on it. I repeatedly tried to install MongoDB, and whenever I rebooted I lost everything. Couldn't even get past the bootloader. Just my camp fire story about Ubuntu issues. 🔥

Drew Verlee03:03:31

ouch! I have probably been lucky with how much random stuff i have thrown at it over the last 3 and a half years.

Drew Verlee04:03:30

i followed the instructions again and paid much closer attention Now docker compose-up seems to loop on this:

peer_1      | + APP_NAME=prod_meetup
peer_1      | ./run: line 8: PEER_JAVA_OPTS: unbound variable
peer_1      | ++ hostname --ip-address
peer_1      | + export BIND_ADDR=172.17.0.6
peer_1      | + BIND_ADDR=172.17.0.6
peer_1      | ++ sed s/-/_/g
peer_1      | ++ echo prod-meetup
peer_1      | + export APP_NAME=prod_meetup
peer_1      | + APP_NAME=prod_meetup
peer_1      | ./run: line 8: PEER_JAVA_OPTS: unbound variable
is that what i should expect?

lucasbradstreet05:03:42

@drewverlee: ugh that's a bug sorry about that. If you remove PEER_JAVA_OPTS and MEDIA_DRIVER_JAVA_OPTS from the two scripts in the scripts dir and rebuild it should work

greywolve13:03:32

lucasbradstreet: would you expect CPU usage of an Onyx node that's under practically no load (and only has Onyx + aeron running on it) to have very low CPU usage?

lucasbradstreet13:03:47

@greywolve There will be some CPU burn thanks to Aeron polling both on the media driver side and the onyx side. This somewhat tuneable but there's a trade off with latency

greywolve13:03:41

would you be suspicious if the CPU usage while under little load was very low, and then later, suddenly became high for an extended period of time, even with no load increase, or perhaps even a further load decrease ?

greywolve13:03:18

(well not high, but say low is normally 1% , and then it jumps to 25% for ages)

lucasbradstreet14:03:26

@greywolve: I’d be suspicious if there wasn’t suddenly throughput (even if it was just a little bit, it might be enough)

lucasbradstreet16:03:18

The perils of making your scripts run in hard / safe mode

michaeldrogalis18:03:49

@drewverlee: Pretty sure yours truly broke that one. Sorry 😧

Drew Verlee20:03:43

@michaeldrogalis: not sure that had anything todo with the crash. I got the cluster up and streaming. I think their is a small typo in the README

ZOOKEEPER=$(echo $DOCKER_HOST|cut -d ':' -f 2|sed "s/\/\///g") lein run -m
my-app-name.jobs.meetup-submit-job
should use jobs.meetup-job or the file name should be changed?

gardnervickers20:03:43

I’ll fix that thanks

sreenath.n20:03:56

@michaeldrogalis: Seems like the table in is broken 😞

michaeldrogalis20:03:52

@sreenath.n: It's fixed on the site now. You might need to drop your browser cache for that page.

Drew Verlee20:03:52

@michaeldrogalis: In one of your talks you mention that ... " onyx is unique in this space in that its coordinated through a masterless protocol with a custom network overlay for fault detection." where could i go to learn more about what that means.

sreenath.n20:03:59

@michaeldrogalis: That was quick!! Thanks! 👏

michaeldrogalis20:03:43

@drewverlee: That's the topic of my Clojure/west talk. simple_smile Though I did talk briefly about it here: https://www.youtube.com/watch?v=6zlPmtPm7ig

michaeldrogalis20:03:40

I'm glad this talk got recorded, because I was speaking to a mostly empty room. 😛