erlyberly icon indicating copy to clipboard operation
erlyberly copied to clipboard

process list stays empty after disconnect and reconnect

Open Licenser opened this issue 8 years ago • 8 comments

This can be reproduced by:

  1. Start erlyberly and connect to a remote node => observe the process list to fill
  2. use the disconnect button => observe the process list to become empty and the connection window show up
  3. reconnect to this (or another node) => the process list remains empty

Licenser avatar Sep 30 '16 23:09 Licenser

Any java crashes? Are you running the Jar in windows?

ruanpienaar avatar Oct 03 '16 07:10 ruanpienaar

That's a no on both accounts, OS X and no crashes in the shell.

Licenser avatar Oct 03 '16 17:10 Licenser

Compiled from Master? I know we've not updated the 0.6.9 target on the Jar yet....

ruanpienaar avatar Oct 03 '16 19:10 ruanpienaar

Used this line from the readme:

git pull origin && ./mvnw clean compile install assembly:single && java -jar target/*runnable.jar

so yap that's master I guess :) admittedly my java is rustly with sprinkles of PTSD so I simply trust that this does the right thing :D

Licenser avatar Oct 03 '16 19:10 Licenser

I'll try re-producing the same :)

ruanpienaar avatar Oct 03 '16 20:10 ruanpienaar

Good greif no, don't try to reproduce my java PTSD, if you're happy remain that way :D - just kidding know you're talking about the bug. it's a 100% hit for me so every time I get the same result.

Licenser avatar Oct 04 '16 00:10 Licenser

Haha! I'll keep my java therapy-free. I'm coming up with a plan to run EB in a debug/verbose mode, to aid investigation.

@andytill- before i waste my time, is there a quick way to debug the proc classes?

ruanpienaar avatar Oct 04 '16 08:10 ruanpienaar

@ruanpienaar repress that anger!

There is the debugger, that is about it. I have wanted to add debug logging for a while but don't want to add a dep to log4j. If you're going to log could you try out the logger in the standard library first? I have no idea if it is any good though.

I couldn't reproduce this bug. I remember a while back that it used to struggle with nodes that had over 100k processes, maybe the rpc call is timing out if that is the case. Riak has nowhere near that number of processes so I don't encounter that now.

andytill avatar Oct 04 '16 11:10 andytill