iotaledger / iri

IOTA Reference Implementation
Other
1.15k stars 370 forks source link

Node crashed when trying to shut down #156

Open rajivshah3 opened 7 years ago

rajivshah3 commented 7 years ago

I'm not sure what happened here, but it took a while to shut down.

06/06 00:17:09.713 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 1 , toBroadcast = 1 , toRequest = 0 , toReply = 0 / totalTransactions = 2024497
06/06 00:17:20.131 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 1 , toBroadcast = 1 , toRequest = 0 , toReply = 2 / totalTransactions = 2024554
06/06 00:17:20.788 [Latest Milestone Tracker] INFO  com.iota.iri.Milestone - Latest milestone has changed from #59052 to #59053
06/06 00:17:30.181 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 3 , toReply = 0 / totalTransactions = 2024633
^C06/06 00:17:34.488 [Shutdown Hook] INFO  com.iota.iri.IRI - Shutting down IOTA node, please hold tight...
06/06 00:17:40.257 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 7 , toReply = 0 / totalTransactions = 2024687
06/06 00:17:50.299 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 4 , toReply = 0 / totalTransactions = 2024767
06/06 00:18:03.045 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2024870
06/06 00:18:14.988 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 2 / totalTransactions = 2024919
06/06 00:18:26.465 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025016
06/06 00:18:40.446 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025078
06/06 00:18:50.471 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025166
^C06/06 00:19:00.483 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 3 , toBroadcast = 0 , toRequest = 1 , toReply = 0 / totalTransactions = 2025225
06/06 00:19:10.814 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025283
06/06 00:19:20.817 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 2 / totalTransactions = 2025353
06/06 00:19:30.798 [Latest Milestone Tracker] INFO  com.iota.iri.Milestone - Latest milestone has changed from #59053 to #59054
06/06 00:19:31.167 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025417
06/06 00:19:41.172 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025472
06/06 00:19:51.172 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025520
06/06 00:20:01.186 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025575
06/06 00:20:12.984 [UDP receiving thread] INFO  com.iota.iri.network.UDPReceiver - Receiver thread processed/dropped ratio: 33686/16314
06/06 00:20:16.187 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025656
06/06 00:20:31.192 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025724
06/06 00:20:41.194 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025784
^C06/06 00:20:51.195 [pool-2-thread-2] INFO  com.iota.iri.network.Node - toProcess = 0 , toBroadcast = 0 , toRequest = 0 , toReply = 0 / totalTransactions = 2025840
06/06 00:20:58.869 [pool-2-thread-5] INFO  com.iota.iri.network.Node - Shutting down Reply To Request Thread
06/06 00:20:58.870 [pool-2-thread-4] INFO  com.iota.iri.network.Node - Shutting down Process Received Data Thread
06/06 00:20:58.870 [pool-2-thread-1] INFO  com.iota.iri.network.Node - Shutting down Broadcaster Thread
06/06 00:20:59.623 [pool-2-thread-3] INFO  com.iota.iri.network.Node - Shutting down Neighbor DNS Resolver Thread
06/06 00:21:02.623 [pool-2-thread-2] INFO  com.iota.iri.network.Node - Shutting down Requester Thread
06/06 00:21:02.678 [UDP receiving thread] INFO  com.iota.iri.network.UDPReceiver - Shutting down spawning Receiver Thread
06/06 00:21:03.124 [Shutdown Hook] INFO  com.iota.iri.storage.Tangle - Shutting down Tangle Persistence Providers... 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f9d2b2f76d4, pid=21609, tid=0x00007f9d29a1b700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C[thread 140312969967360 also had an error]
  [librocksdbjni8570862320224911320.so+0x2406d4]  rocksdb::DBImpl::GetImpl(rocksdb::ReadOptions const&, rocksdb::ColumnFamilyHandle*, rocksdb::Slice const&, std::string*, bool*)+0x8d4
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ubuntu/iri/target/hs_err_pid21609.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
alfredch commented 7 years ago

Could you please complete the issue report with this information so that we can categorize it better:

OS? Java heap size configured in the startup command. Total system RAM. Type of storage device. Type of virtualizer (if applicable).

rajivshah3 commented 7 years ago

OS: Ubuntu 16.04 LTS amd64 Java heap size: left as default/not specified in startup command RAM: not entirely sure. I think 1GB Type of storage device: Amazon EBS SSD Virtualizer: hvm (not sure what this means)

I'm running the node on an AWS EC2 t2.micro instance