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

ERROR:skylight::cli: skylightd exiting abnormally #21

Closed
andruby opened this issue Dec 19, 2014 · 6 comments
Closed

ERROR:skylight::cli: skylightd exiting abnormally #21

andruby opened this issue Dec 19, 2014 · 6 comments

Comments

@andruby
Copy link

andruby commented Dec 19, 2014

I'm trying out Skylight and running it on a Thin cluster with 3 thin processes. The agent is enabled but is not sending out any data.

I'm getting these errors in my log/thin.x.log files:

ERROR:skylight::cli: skylightd exiting abnormally; err=unable to bind UDS server; err=invalid argument (path must be smaller than SUN_LEN)
ERROR:skylight::ipc::client: could not send message to daemon; err=unable to spawn daemon -- timed out; timeout=5s
ERROR:skylight::c_api: Skylight instrumenter failed to submit trace; err=InternalClientError

The log/production.log shows skylight as enabled:

I, [2014-12-19T11:59:04.109040 #27279]  INFO -- : [SKYLIGHT] [0.5.2] Skylight agent enabled

The log/skylight.log file repeats this line a bunch of times:

W, [2014-12-19T12:01:31.073807 #27219]  WARN -- : [SKYLIGHT] [0.5.2] failed to submit trace to worker; err=native Instrumenter#submit_trace failed
@andruby andruby changed the title ERROR:skylight::cli: skylightd exiting abnormally; err=unable to bind UDS server; err=invalid argument (path must be smaller than SUN_LEN) ERROR:skylight::cli: skylightd exiting abnormally Dec 19, 2014
@wagenet
Copy link
Contributor

wagenet commented Dec 20, 2014

@andruby, sorry for the trouble. Can you also send us an email at support@skylight.io? Thanks.

@andruby
Copy link
Author

andruby commented Dec 20, 2014

Carl helped me out by suggesting that I explicitly set the sockfile_path in my config/skylight.yml file. That did indeed help.

agent:
  sockfile_path: /tmp/my-app-name

Thanks

@andruby andruby closed this as completed Dec 20, 2014
@p8
Copy link

p8 commented Jan 21, 2015

And it should be the following in later versions of skylight:

daemon:
  sockdir_path: /tmp/my-app-name

@giedriusr
Copy link

Hello,

I've recently tried to install skylight and deploy our app to production. Config file has been generated by skylight with auth token. On starting the server we got an error:

ERROR:skylight::cli: skylightd exiting abnormally; err=DaemonLockFailed

 skylight (0.10.4)

Any suggestions? Is it because of the wrong config yml as stated above?

@wagenet
Copy link
Contributor

wagenet commented Jun 16, 2016

@giedriusr Can you contact us via the "?" button in the web UI or email support@skylight.io? Thanks!

@giedriusr
Copy link

@wagenet done.

TobyRet added a commit to DFE-Digital/apply-for-teacher-training that referenced this issue Aug 25, 2020
- Additional config added as per guidance here - skylightio/skylight-ruby#21
TobyRet added a commit to DFE-Digital/apply-for-teacher-training that referenced this issue Aug 25, 2020
- Additional config added as per guidance here - skylightio/skylight-ruby#21
TobyRet added a commit to DFE-Digital/apply-for-teacher-training that referenced this issue Aug 25, 2020
- Additional config added as per guidance here - skylightio/skylight-ruby#21
vigneshmsft pushed a commit to DFE-Digital/apply-for-teacher-training that referenced this issue Aug 25, 2020
- Additional config added as per guidance here - skylightio/skylight-ruby#21
vigneshmsft pushed a commit to DFE-Digital/apply-for-teacher-training that referenced this issue Aug 25, 2020
- Additional config added as per guidance here - skylightio/skylight-ruby#21
vigneshmsft pushed a commit to DFE-Digital/apply-for-teacher-training that referenced this issue Aug 25, 2020
- Additional config added as per guidance here - skylightio/skylight-ruby#21
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

4 participants