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

Exporting traces timeouts #137

Closed
lukaskai opened this issue Dec 10, 2018 · 5 comments
Closed

Exporting traces timeouts #137

lukaskai opened this issue Dec 10, 2018 · 5 comments

Comments

@lukaskai
Copy link

Hello, I have an issue with exporting the traces from Parity. Setting batches even to 1 block per file, and timeout to 600 seconds, the export of certain block traces timeouts.

A very good example block: 3805005. It always timeouts and interestingly there are over 100 failed internal txs (https://etherscan.io/txsInternal?block=3805005). Therefore, it always timeouts wihle running the export script. Or same with block: 3805016.

Other example block batch also timeouts: 2370400- 2370500. There are more as well.

Anyone having simillar issues or ideas how to fix?

@medvedev1088
Copy link
Member

Thanks for reporting this issue!

What instance type are you using for the Parity node? I've been using n1-highmem-2 (2 vCPUs, 13 GB memory) in GCP and all the blocks are exported within the default timeout. I suspect the bottleneck may be memory in your case?

@tokusyu
Copy link
Contributor

tokusyu commented Dec 10, 2018

I had same problem that occurrd same block range.
After I changed DEFAULT_IPC_TIMEOUT to 6000, the timeout never occurr.
My environment is AWS m5 large(2 vCPUs, 8 GB memiry) instance with EBS(type: gp2, IOPS:7500)

@lukaskai
Copy link
Author

Thanks, it worked. It seems that I had too low IPC_Timeout set up, as well as instance setup was not right. With m5 large it seems to be working like charm. Thanks guys, appreciate you help.

@cxd1995
Copy link

cxd1995 commented Feb 20, 2019

@tokusyu @lukaskai
I had same problem. Could you teach me how to change default _ipc_timeout?

@logiclord
Copy link

export DEFAULT_TIMEOUT=6000 or --timeout 6000 flag should work

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

5 participants