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

The anvil service has a large number of network problems in the FIN_WAIT2 state #4323

Closed
2 tasks done
Tracked by #8269
woshihahaha opened this issue Feb 10, 2023 · 1 comment
Closed
2 tasks done
Tracked by #8269
Labels
C-anvil Command: anvil T-bug Type: bug T-to-investigate Type: to investigate
Milestone

Comments

@woshihahaha
Copy link

Component

Anvil

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0

What command(s) is the bug in?

anvil --fork-url xxxxxx --no-rate-limit --chain-id xxxxx --tracing --host 0.0.0.0 --state-interval 60 --dump-state state.json --load-state state.json --code-size-limit 100000

Operating System

Linux

Describe the bug

image

Shortly after anvil started the service, a large number of network connections in the FIN_WAIT2 state appeared, causing the port to fail to connect and the service to be unavailable

@woshihahaha woshihahaha added the T-bug Type: bug label Feb 10, 2023
@onbjerg onbjerg added the C-anvil Command: anvil label Feb 27, 2023
@zerosnacks zerosnacks added the T-to-investigate Type: to investigate label Jun 28, 2024
@zerosnacks zerosnacks added this to the v1.0.0 milestone Jul 26, 2024
@grandizzy
Copy link
Collaborator

@woshihahaha I tried to reproduce this issue but wasn't able to, I fired anvil and then executed bunch of txes against, can see connections in TIME_WAIT that are cleaned after 60s as configured in /proc/sys/net/ipv4/tcp_fin_timeout
Please check fin timeout value and network setup (to make sure there's no packet loss, it looks like you're using docker?) and report back if this is still an issue. thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil T-bug Type: bug T-to-investigate Type: to investigate
Projects
Archived in project
Development

No branches or pull requests

4 participants