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

Document pprof configuration #6240

Closed
1 of 7 tasks
adelowo opened this issue Mar 4, 2019 · 7 comments
Closed
1 of 7 tasks

Document pprof configuration #6240

adelowo opened this issue Mar 4, 2019 · 7 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/docs This PR mainly updates/creates documentation

Comments

@adelowo
Copy link
Member

adelowo commented Mar 4, 2019

@lafriks lafriks added the type/docs This PR mainly updates/creates documentation label Mar 4, 2019
@stale
Copy link

stale bot commented May 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label May 3, 2019
@adelowo
Copy link
Member Author

adelowo commented May 4, 2019

I will write this up before the weekend ends

@stale stale bot removed the issue/stale label May 4, 2019
@lunny lunny added the issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented label May 6, 2019
@jolheiser
Copy link
Member

Stumbled across this issue, seems we can close it.

ENABLE_PPROF is in the cheat sheet, and as far as I can tell there is no longer a command-line option for it. (Although, I wonder if that would be a good thing to add...)

@jolheiser
Copy link
Member

My apologies, I confused serve with web.

We do not have it documented for serv, though since it's mostly an SSH passthrough, I'm not entirely sure when it gets used off the top of my head.

@xor-gate
Copy link
Contributor

Gitea serv in combination with PPROF envvars is used to profile the cpu/memory consumption of the SSH passthrough.

@jolheiser
Copy link
Member

Gitea serv in combination with PPROF envvars is used to profile the cpu/memory consumption of the SSH passthrough.

I am aware of this, however the serv command is never directly used by a human (that I know of), only by Gitea itself when invoked for SSH.
Given that, the config makes sense, however I'm not sure when the CLI flag would be used in that situation.

The entire serv command is undocumented because it's not a command users are expected to invoke manually.

@zeripath
Copy link
Contributor

Frankly if you are wanting to pprof gitea serv you are in way too deep and you should be asking for help. No documentation is going to cover such problems.

@go-gitea go-gitea locked and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

No branches or pull requests

6 participants