Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

Running meteor with local mongo with 1GB size freezes on refresh

$
0
0
I'm facing a strange behaviour when I try to run meteor with a dumped
database (size of 1GB) that was populated by Python inside a local mongo.
(I'm using MONGO_URL=mongodb://localhost:27017...)

After setting up the server, I can enter on the app in the browser, query
the collection etc. But when I REFRESH the page, it stays waiting for
connection forever. Also if I insert something from mongo shell it does not
update reactively.
I've debugged the websocket connection when I hit refresh and it shows that
it's publishing all docs in a loop. It's all same docs from the collection
in an infinite loop.
I created a db with zero docs and started inserting things on it and it
works perfectly. The problem appears when I go back to the big dump.
Also tried to run the bundled app but it appears to be the same behaviour.

Anyone ever faced this?

Gabriel Pugliese
CodersTV.com
@coderstv

Viewing all articles
Browse latest Browse all 6551

Trending Articles