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

Running sccache --start-server when the server is already running produces an error #184

Open
staktrace opened this issue Sep 23, 2017 · 1 comment

Comments

@staktrace
Copy link

If the server is already running in the background, and you try to start the server again manually using sccache --start-server it emits an error:

$ sccache --start-server
Starting sccache server...
error: Server startup error
caused by: Server startup failed: 1

This error message could be more useful, in that it could tell you that it's already running instead of looking like something went wrong.

This wasted some time during the investigation at rust-lang/rust#42867 (comment)

@luser
Copy link
Contributor

luser commented Oct 2, 2017

Agreed. We should explicitly check for "socket in use" errors and do something smarter here.

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