Skip to content

Conversation

@lizk886
Copy link
Contributor

@lizk886 lizk886 commented Dec 1, 2025

No description provided.

@lizk886 lizk886 changed the title draft aws script to replace network interface for r7 instances Dec 1, 2025

# sockd -D daemonizes and returns immediately, but child process needs time to initialize
logging.info("Waiting for sockd to fully initialize...")
time.sleep(2)
Copy link
Contributor

@cYKatherine cYKatherine Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 2? Is there any safer way to make sure the child processes have been initialised instead of relying on the random number

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've determined that the intermittent issues I was experiencing were caused by enclave ID registration problems, which have now been resolved. As a result, I've removed the retry logic I had previously added, as it's no longer necessary with the root cause fixed :)

@lizk886 lizk886 merged commit 9d16209 into main Dec 3, 2025
9 checks passed
@lizk886 lizk886 deleted the wzh-UID2-5843-auto-detect-network-interface branch December 3, 2025 22:13
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

Successfully merging this pull request may close these issues.

3 participants