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

--enable-pprof command line flag is ignored #8402

Closed
viciious opened this issue Aug 15, 2017 · 0 comments
Closed

--enable-pprof command line flag is ignored #8402

viciious opened this issue Aug 15, 2017 · 0 comments
Assignees
Milestone

Comments

@viciious
Copy link

Beginning with at least 3.1.3 the enable-pprof flag doesn't seem to do anything if a config file is passed to the server. Here's the command line log:

./etcd --enable-pprof

2017-08-15 15:26:54.433050 I | embed: listening for peers on http://localhost:2380
2017-08-15 15:26:54.433238 I | embed: pprof is enabled under /debug/pprof
2017-08-15 15:26:54.433589 I | embed: listening for client requests on localhost:2379

./etcd --enable-pprof --config-file etcd.conf

2017-08-15 15:25:52.509596 I | embed: listening for peers on http://localhost:2380
2017-08-15 15:25:52.509885 I | embed: listening for client requests on 0.0.0.0:2379

AFAIK, there's no way to enable the pprof port via a config file.

@heyitsanthony heyitsanthony added this to the v3.3.0 milestone Aug 15, 2017
gyuho added a commit to gyuho/etcd that referenced this issue Aug 15, 2017
gyuho added a commit that referenced this issue Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants