Skip to content

Avalanchego producing enormous amount of P chain logs #1203

@metmirr

Description

@metmirr

Describe the bug
Avalanchego is producing an enormous amount of logs for the P chain. It's like there is an infinite loop that prints the same log over and over again.

To Reproduce
I am running a custom local network with 3 validator nodes(each node is on a different physical machine) and my genesis file is a modified version of genesis_local.json.

Expected behavior
Normal logs.

Logs

[01-26|11:07:45.210] INFO <P Chain> proposervm/pre_fork_block.go:223 built block {"blkID": "Hf3JzFPKeHpnFzZjowb7Lk6RcMBVKEpdJv2SesbBCUbnKdhdm", "innerBlkID": "g6JoMbFdqEBnVN8vjG9pzsq59Vxtk8j8UyUykLZooFfyquANX", "height": 1, "parentTimestamp": "[01-24|10:06:51.000]", "blockTimestamp": "[01-26|11:07:45.000]"}
[01-26|11:07:45.210] INFO <P Chain> proposervm/pre_fork_block.go:223 built block {"blkID": "Hf3JzFPKeHpnFzZjowb7Lk6RcMBVKEpdJv2SesbBCUbnKdhdm", "innerBlkID": "g6JoMbFdqEBnVN8vjG9pzsq59Vxtk8j8UyUykLZooFfyquANX", "height": 1, "parentTimestamp": "[01-24|10:06:51.000]", "blockTimestamp": "[01-26|11:07:45.000]"}
[01-26|11:07:45.210] INFO <P Chain> proposervm/pre_fork_block.go:223 built block {"blkID": "Hf3JzFPKeHpnFzZjowb7Lk6RcMBVKEpdJv2SesbBCUbnKdhdm", "innerBlkID": "g6JoMbFdqEBnVN8vjG9pzsq59Vxtk8j8UyUykLZooFfyquANX", "height": 1, "parentTimestamp": "[01-24|10:06:51.000]", "blockTimestamp": "[01-26|11:07:45.000]"}
[01-26|11:07:45.210] INFO <P Chain> proposervm/pre_fork_block.go:223 built block {"blkID": "Hf3JzFPKeHpnFzZjowb7Lk6RcMBVKEpdJv2SesbBCUbnKdhdm", "innerBlkID": "g6JoMbFdqEBnVN8vjG9pzsq59Vxtk8j8UyUykLZooFfyquANX", "height": 1, "parentTimestamp": "[01-24|10:06:51.000]", "blockTimestamp": "[01-26|11:07:45.000]"}

And logs directory overview:

root@node01:~/.avalanchego/logs# ls -l
total 60260
-rw-r--r-- 1 root root   13128 Jan 26 14:53 C.log
-rw-r--r-- 1 root root 8388354 Jan 26 15:06 P-2023-01-26T15-06-55.090.log
-rw-r--r-- 1 root root 8388358 Jan 26 15:06 P-2023-01-26T15-06-58.577.log
-rw-r--r-- 1 root root 8388536 Jan 26 15:07 P-2023-01-26T15-07-02.289.log
-rw-r--r-- 1 root root 8388388 Jan 26 15:07 P-2023-01-26T15-07-06.065.log
-rw-r--r-- 1 root root 8388595 Jan 26 15:07 P-2023-01-26T15-07-09.908.log
-rw-r--r-- 1 root root 8388503 Jan 26 15:07 P-2023-01-26T15-07-13.478.log
-rw-r--r-- 1 root root 8388397 Jan 26 15:07 P-2023-01-26T15-07-17.380.log
-rw-r--r-- 1 root root 2946858 Jan 26 15:07 P.log
-rw-r--r-- 1 root root    1281 Jan 26 14:53 X.log
-rw-r--r-- 1 root root   12694 Jan 26 14:53 main.log

Metrics
Screenshot 2023-01-26 at 1 14 26 PM

Operating System
Ubuntu 22.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions