input-output-hk / cardano-rt-view

RTView: real-time watching for Cardano nodes (ARCHIVED)
Apache License 2.0
59 stars 11 forks source link

cardano-rt-view Crashed and Exited a Few Times #114

Open ChristianMcCracken opened 3 years ago

ChristianMcCracken commented 3 years ago

Over the past week cardano-rt-view crashed a few times. I am using RTView 0.2.0 with cardano-node 1.23.0.

Here is the log terminal output below for a crashed sesssion: rick@dfws1:~/cardano/rtview$ ./cardano-rt-view RTView: real-time watching for Cardano nodes

Saved configuration file is found. Do you want to use it? <Y/N>: Y Listening o[cardano-rt-view:Notice:4] [2020-12-03 21:31:49.95 UTC] Starting service; hit CTRL-C to terminate... n http://0.0.0.0:8023 127.0.0.1 - - [06/Dec/2020:10:47:04 -0500] "GET / HTTP/1.1" 200 369 - "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:04 -0500] "GET /haskell.css HTTP/1.1" 200 80 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:04 -0500] "GET /haskell.js HTTP/1.1" 200 100857 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:04 -0500] "GET /favicon.ico HTTP/1.1" 200 369 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:04 -0500] "GET /static/css/w3.css HTTP/1.1" 200 5242 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/js/chart.js HTTP/1.1" 200 47521 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/question.svg HTTP/1.1" 200 872 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/sort.svg HTTP/1.1" 200 422 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/filter.svg HTTP/1.1" 200 433 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/trash.svg HTTP/1.1" 200 460 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/file-download.svg HTTP/1.1" 200 626 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/dropdown-dark.svg HTTP/1.1" 200 333 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/info.svg HTTP/1.1" 200 637 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/key.svg HTTP/1.1" 200 680 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/mempool.svg HTTP/1.1" 200 629 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/bugs.svg HTTP/1.1" 200 1091 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/peers.svg HTTP/1.1" 200 645 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/blockchain.svg HTTP/1.1" 200 833 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/cpu.svg HTTP/1.1" 200 1044 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/rts.svg HTTP/1.1" 200 693 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/memory.svg HTTP/1.1" 200 696 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/disk.svg HTTP/1.1" 200 667 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/network.svg HTTP/1.1" 200 784 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/resources.svg HTTP/1.1" 200 473 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/dropdown-blue.svg HTTP/1.1" 200 333 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/show.svg HTTP/1.1" 200 552 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/hide.svg HTTP/1.1" 200 969 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/cardano-logo.svg HTTP/1.1" 200 4751 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" 127.0.0.1 - - [06/Dec/2020:10:47:34 -0500] "GET /static/images/dropdown-light.svg HTTP/1.1" 200 333 "http://127.0.0.1:8023/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0" Killed

ATONofAda commented 3 years ago

@ChristianMcCracken,

You could check your permissions. Folders, 'ls -alt static' should be:

drwxr-xr-x

Files, 'ls -alt static/images' should be:

-rw-r--r--

I flipped the permissions on one file, /static/images/cardano-logo.svg, which returned the behavior you are experiencing.

ChristianMcCracken commented 3 years ago

@tonofada the file permissions are correct and match what you posted. The node was running for some hours before the crash, so if file permissions were the problem I suspect RTView would have crashed immediately.

ATONofAda commented 3 years ago

@ChristianMcCracken, the only other issue I have had with crashing is memory needs 4G even if served through a proxy, Nginx.