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

Resource temporarily unavailable (os error 11) during failovers #871

Open
matilote opened this issue Mar 7, 2024 · 2 comments
Open

Resource temporarily unavailable (os error 11) during failovers #871

matilote opened this issue Mar 7, 2024 · 2 comments

Comments

@matilote
Copy link

matilote commented Mar 7, 2024

Whenever the validator needs to be failed over there is a need to change tmkms config and restart the service. When the service comes up it throws the errors below for ~1-5minutes. There are 5 protocols running using this tmkms instance.

Is there any workaround to mitigate the downtime during such maintenance?

This issue is likely related to #691 #323 and #73

Mar 07 08:44:08 host tmkms[1375109]: 2024-03-07T08:44:08.739880Z ERROR tmkms::client: [cosmoshub-4@tcp://X.X.X.X:26658] protocol error:
Mar 07 08:44:08 host  tmkms[1375109]:    0: io error
Mar 07 08:44:08 host  tmkms[1375109]:    1: Resource temporarily unavailable (os error 11)
Mar 07 08:44:08 host  tmkms[1375109]: Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Mar 07 08:44:08 host  tmkms[1375109]: Run with RUST_BACKTRACE=full to include source snippets.
@tony-iqlusion
Copy link
Member

Never seen that particular error in our operations of TMKMS. It almost looks like you're hitting some sort of OS resource limit.

@tony-iqlusion
Copy link
Member

Can you get the backtrace by adding RUST_BACKTRACE=1?

What operating system is this on? Is it possible you're exhausting available file descriptors or ephemeral TCP ports?

If you're on Linux, can you see if you can log the error from the OS using strace?

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

2 participants