Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

Peer Counts on Sever Wrong #8

Open
joehand opened this issue Dec 11, 2018 · 1 comment
Open

Peer Counts on Sever Wrong #8

joehand opened this issue Dec 11, 2018 · 1 comment

Comments

@joehand
Copy link
Collaborator

joehand commented Dec 11, 2018

seems like the peer-removed event may not be firing ever? Im getting thousands of "peers" on the message.land servers. But think it may just be adding up and not subtracting. https://github.com/cabal-club/message-land/blob/master/server/dbGateway.js#L55-L62

@joehand
Copy link
Collaborator Author

joehand commented Dec 12, 2018

Maybe related memory error?

/home/me/.pm2/logs/msgland-error.log last 15 lines:
0|msgland  | 11: 0x113dfae v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node /home/me/message-land/server/index.js]
0|msgland  | 12: 0x14d6bdfdbe1d 
0|msgland  | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
0|msgland  |  1: 0x8dbaa0 node::Abort() [node /home/me/message-land/server/index.js]
0|msgland  |  2: 0x8dbaec  [node /home/me/message-land/server/index.js]
0|msgland  |  3: 0xad83de v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node /home/me/message-land/server/index.js]
0|msgland  |  4: 0xad8614 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node /home/me/message-land/server/index.js]
0|msgland  |  5: 0xec5c42  [node /home/me/message-land/server/index.js]
0|msgland  |  6: 0xec5d48 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node /home/me/message-land/server/index.js]
0|msgland  |  7: 0xed1e22 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node /home/me/message-land/server/index.js]
0|msgland  |  8: 0xed2754 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node /home/me/message-land/server/index.js]
0|msgland  |  9: 0xed53c1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node /home/me/message-land/server/index.js]
0|msgland  | 10: 0xe9e844 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node /home/me/message-land/server/index.js]
0|msgland  | 11: 0x113dfae v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node /home/me/message-land/server/index.js]
0|msgland  | 12: 0x100ad475be1d 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant