square/cube — Issue #14: collector not flushing
Author: whatupdave
Created: 2011-10-10 09:10:59+00:00
State: open

Sorry to open up a vague issue but I'm not sure how to debug this. I'm running cube collector on ubuntu, and while running the random.js example it doesn't seem to flush the data to mongodb.

node examples/random/random.js seems to run ok:

10 Oct 09:06:20 - starting websocket client
10 Oct 09:06:20 - opening socket: ws://127.0.0.1:1080/1.0/event/put
10 events in 9 ms: 1111 sps
20 events in 10 ms: 2000 sps
30 events in 21 ms: 1429 sps
40 events in 31 ms: 1290 sps
50 events in 41 ms: 1220 sps
60 events in 51 ms: 1176 sps

but on the collector side:

$ node bin/collector.js

10 Oct 09:06:13 - starting mongodb client
10 Oct 09:06:13 - starting http server on port 1080
10 Oct 09:06:16 - 127.0.0.1 /1.0/event/put

I tried this on my OSX machine and it worked fine and the collector printed out a flush message and data was written to mongo. On Linux it doesn't seem to be flushing and no data is written.

Any ideas on how to debug the issue?