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

stat the pid file to report agent running processes #27

Closed
rakyll opened this issue Jan 2, 2017 · 1 comment
Closed

stat the pid file to report agent running processes #27

rakyll opened this issue Jan 2, 2017 · 1 comment

Comments

@rakyll
Copy link
Member

rakyll commented Jan 2, 2017

Currently, we are looking for the agent symbol's existence to report if a process is running the agent. This assertion doesn't help if the agent is closed. We should instead stat the gops pid file for the process to see if the agent is actively listening.

@qzaidi
Copy link

qzaidi commented Jan 18, 2017

+1 to this. Using the symbols cause another problem for us, because our packaging (debian) normally strips the binaries before deploying to production. So even if we use the agent, we have to use unstripped binaries.

@rakyll rakyll closed this as completed in 218c61a Jan 20, 2017
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