Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High load due to err 400 return by Tezos node #23

Open
thomsh opened this issue Jun 23, 2020 · 1 comment
Open

High load due to err 400 return by Tezos node #23

thomsh opened this issue Jun 23, 2020 · 1 comment

Comments

@thomsh
Copy link

thomsh commented Jun 23, 2020

Hi,
I'm experiencing very high load with tezos_exporter, docker tag tested: latest, 0.0.1-beta.13 & v0.0.1-beta.10
I'm using Tezos docker tag v7.1

I've been monitoring 1 329 946 queries in 30s all forged by tezos_exporter, resulting in high load for tezos_exporter process and tezos node.
Recorded via timeout 30 tcpdump -ni docker0 tcp and port 8732 -A 2>&1 |grep -E -o 'GET /.+ HTTP'
Resulted in:

 332506 GET /chains/main/mempool/monitor_operations?applied HTTP
 332472 GET /chains/main/mempool/monitor_operations?branch_delayed HTTP
 332512 GET /chains/main/mempool/monitor_operations?branch_refused HTTP
 332456 GET /chains/main/mempool/monitor_operations?refused HTTP

However all this end to an error 400

curl -s -D - http://localhost:8732/chains/main/mempool/monitor_operations?applied
HTTP/1.1 400 Bad Request
content-type: text/plain
transfer-encoding: chunked

Failed to parse the query string: Failed to parse argument 'applied' (""): Cannot parse boolean value
curl -s -D - http://localhost:8732/chains/main/mempool/monitor_operations?branch_delayed
HTTP/1.1 400 Bad Request
content-type: text/plain
transfer-encoding: chunked

Failed to parse the query string: Failed to parse argument 'branch_delayed' (""): Cannot parse boolean value
curl -s -D - http://localhost:8732/chains/main/mempool/monitor_operations?branch_refused
HTTP/1.1 400 Bad Request
content-type: text/plain
transfer-encoding: chunked

Failed to parse the query string: Failed to parse argument 'branch_refused' (""): Cannot parse boolean value
curl -s -D - http://localhost:8732/chains/main/mempool/monitor_operations?refused
HTTP/1.1 400 Bad Request
content-type: text/plain
transfer-encoding: chunked

Failed to parse the query string: Failed to parse argument 'refused' (""): Cannot parse boolean value

I'm currently looking for a fix

@thomsh
Copy link
Author

thomsh commented Jun 23, 2020

Fix proposed: #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant