-
node.js was segfaulting; we tried installing a bunch of different versions, blasted the original out of
/usr/local/bin
, eventually reinstalled original package (node version 0.12.6), and the segfault was gone... -
originally thought that
kill()`` in
index.js` wasn't properly killing the process -
used
iptables
firewall rules to block and unblock doorbot.recurse.com, while usingtcpdump
andstrace
to monitor the heartbeat calls -
when we block the heartbeat calls, doorbot does exit and
forever
does start it back up again. -
next time it disconnects and the process is still running, we should check
tcpdump
andstrace
to see if it's still sending out heartbeats. -
we have fiewall rules in
~/firewall.sh
- you can block requests todoorbot.recurse.com
withsudo ./firewall.sh up
and allow them again withsudo ./firewall.sh down
.
Created
January 14, 2016 20:25
-
-
Save jdangerx/3cd760c163e4392c79bb to your computer and use it in GitHub Desktop.
Doorbot Debug 1/14/2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment