Skip to content

[2024.1] Various bug fixes #4

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

Merged
merged 5 commits into from
Oct 3, 2024
Merged

[2024.1] Various bug fixes #4

merged 5 commits into from
Oct 3, 2024

Conversation

jovial
Copy link

@jovial jovial commented Sep 20, 2024

No description provided.

No functional change as this wasn't actually in use.
This will discard any pending messages immediately when the socket is
closed. The default is to wait forever for any pending messages which
can cause the the daemon to hang on shutdown.

See: http://api.zeromq.org/4-2:zmq-setsockopt
Previously, if data was None, we'd not send a reply. This can lead
to clients hanging when they are expecting a reply.
@jovial jovial changed the title Bugfix/2024.1 WIP: Various bug fixes Sep 20, 2024
Symptom was that eswitchd would become unresponsive after some time.
The following error was observed:

  GetVnics failed - [Errno 24] Too many open files: OSError: [Errno 24] Too many open files

This was tracked down to forgetting to call close on IPRoute objects
as per the documentation. See:

- https://docs.pyroute2.org/iproute.html
- svinota/pyroute2#631
@jovial jovial force-pushed the bugfix/2024.1 branch 2 times, most recently from 7a5cdc8 to 7336a9e Compare September 25, 2024 11:12
@jovial jovial changed the title WIP: Various bug fixes Various bug fixes Oct 2, 2024
@jovial jovial changed the title Various bug fixes [2024.1] Various bug fixes Oct 2, 2024
@jovial jovial requested a review from tomclark0 October 2, 2024 16:40
@jovial jovial merged commit 251bdf7 into stackhpc/2024.1 Oct 3, 2024
@jovial jovial deleted the bugfix/2024.1 branch October 3, 2024 11:11
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.

2 participants