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

possible temporary lock-out of connections until fd_server quits #223

Open
grandrew opened this issue Mar 13, 2016 · 0 comments
Open

possible temporary lock-out of connections until fd_server quits #223

grandrew opened this issue Mar 13, 2016 · 0 comments
Assignees
Milestone

Comments

@grandrew
Copy link
Collaborator

in tunnel.c we have this to search for the SHM index to attach:

shm_conn_info[i2].usecount > 0 && strcmp(shm_conn_info[i2].devname, dev) == 0

but in case all processes quit, we may end up with usecount == 0 but SHM not cleared, and fd_server not quit. In this case we may not be able to attach again until fd_server quits due to timeout.


Also check that no one is updating "alive" timestamp so that fd_server really does quit. I am suspicious about long timeouts at sps

@grandrew grandrew self-assigned this Mar 13, 2016
@grandrew grandrew added this to the Soft 1.0 milestone Mar 13, 2016
@grandrew grandrew changed the title Investigate what happens when all processes quit at server side possible temporary lock-out of connections until fd_server quits Mar 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant