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

Comments

Projects
None yet
4 participants
@andruby

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 from ERROR:skylight::cli: skylightd exiting abnormally; err=unable to bind UDS server; err=invalid argument (path must be smaller than SUN_LEN) to ERROR:skylight::cli: skylightd exiting abnormally Dec 19, 2014

@wagenet

This comment has been minimized.

Member

wagenet commented Dec 20, 2014

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

@andruby

This comment has been minimized.

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 Dec 20, 2014

@p8

This comment has been minimized.

p8 commented Jan 21, 2015

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

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

This comment has been minimized.

giedriusr commented Jun 16, 2016

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

This comment has been minimized.

Member

wagenet commented Jun 16, 2016

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

@giedriusr

This comment has been minimized.

giedriusr commented Jun 17, 2016

@wagenet done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment