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

Interrupt free dumping #256

Open
AloisKraus opened this issue Nov 4, 2024 · 2 comments
Open

Interrupt free dumping #256

AloisKraus opened this issue Nov 4, 2024 · 2 comments
Labels
feature request This issue is requestion the additiona of a feature

Comments

@AloisKraus
Copy link

Expected behavior

Like on Windows it should be possible to dump a process without interruption.
Procdump -r uses process snapshots.

Actual behavior

During dump generation process is not responding.

The Google dumping tool claims that it is possible:

https://github.com/anatol/google-coredumper

As far as I have read the code it forks the process from the inside to get a copy of everything by calling sys_fork(). Is this something which could be achieved from the outside with procdump as well on Linux, or would one need to bake this capability into the service?

@MarioHewardt MarioHewardt added the feature request This issue is requestion the additiona of a feature label Nov 4, 2024
@MarioHewardt
Copy link
Collaborator

Thanks for the suggestion. Today, we leverage gcore to do the actual dump generation, but it if we decide to go down the path of using our own core dumper we will definitely take a look at this.

@AloisKraus
Copy link
Author

Is this not needed by you internally, or are all your services running in Kubernetes multi instance capable and you simply take a Pod offline and dump it while another one is servicing requests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request This issue is requestion the additiona of a feature
Projects
None yet
Development

No branches or pull requests

2 participants