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

Find how to reduce unix socket path length #289

Open
Gerold103 opened this issue Apr 3, 2021 · 2 comments
Open

Find how to reduce unix socket path length #289

Gerold103 opened this issue Apr 3, 2021 · 2 comments
Labels
feature A new functionality
Milestone

Comments

@Gerold103
Copy link
Contributor

For a lot of replication tests I get "No buffer space available" error. Path I have is not so long really, but the path added by test-run is quite big. Here is an example: unix/:/Users/gerold/Work/Repositories/tarantool/test/var/010_replication/replica-applier-rollback.socket-admin. This exceeds 108 bytes path limit (there is 110 symbols). Maybe we at least could stop adding script name to the socket name, or make socket-admin part shorter somehow.

@Totktonada
Copy link
Member

However we can do some tricks: say, chdir into a directory and fill sun_path with just name w/o a full path. It works at least on Linux. This looks weird, however will be helpful in some cases.

tarantool/tarantool#4634

@Totktonada Totktonada added the feature A new functionality label Apr 5, 2021
@kyukhin kyukhin added the teamQ label Sep 17, 2021
@kyukhin kyukhin added this to the wishlist milestone Oct 15, 2021
@Gerold103
Copy link
Contributor Author

Gerold103 commented Apr 1, 2022

That is getting worse - when run tests from ee, it adds tarantool-ee/ into the path making it even longer. As a result, I get this warning:

WARGING: unix sockets can become longer than 107 symbols:
WARNING: for example: "/Users/gerold/Work/Repositories/tarantool-ee/tarantool/test/var/???_replication/autobootstrap_guest3.control" has length 108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

No branches or pull requests

4 participants