-
Notifications
You must be signed in to change notification settings - Fork 439
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
generating core dump file's in gcp bucket mounted directory #1363
Comments
@vadirajks thanks for reporting this issue. Please share the following information
I need these to try to recreate the issue. |
In the meantime, I tried the commands @vadirajks shared on a GCP VM with ubuntu22.04 and I didn't get any core dump files even without any gcsfuse mounts being present on it. |
Never mind. The coredump without the gcsfuse mount got generated successfully after running the following command. ulimit -c unlimited |
With the above change, I'm getting a somewhat different issue with core-dump generation on gcsfuse mount of the folder
In this, the directory |
@vadirajks apart from the above, could you enable logs in your gcsfuse mount call (if not already done, option --log-file) and upload the logs generated after the kill call? |
I was able to regenerate the failure as @vadirajks described. Updating the status so far. Expected operations:
Actual operations in this case The file handle is being closed without any other operations, so it is most likely being terminated/skipped by the kernel itself. Investigation continues. |
sorry, i didn't notice any of this messages and thank you very much for taking up this. Please let me know if anything is needed from me. |
No problem @vadirajks . This will need me to figure out how core dump really works, and why it isn't really working in case of a gcsfuse mounted directory. I have so far tried to trace the processes involved, but had no luck. At the moment, all I can say is that it will take time. |
Looked into testing core-dump issue for older versions of gcsfuse. Issue exists for v1.2.0 through to v1.0.0. Was getting |
Lowered priority to P2. |
@gargnitingoogle I met the same issue, is there any progress? |
@dentiny there has been no progress on this issue since #1363 (comment) . At the outset, it looks like this issue has always existed in gcsfuse, and thus is not a new issue. Currently, we have categorized this as a known limitation. During my last debug, I was not able to trace where (from which process) the write to the core dump output file was supposed to originate, to see why it wasn't reaching gcsfuse. |
@dentiny , as a work around for this you can make use of incron to move files to gcp bucket based on events from the local folder. |
But it beats the purpose of using local filesystem. To work-around, I mount a NFS instead. |
@vadirajks, this is easy to reproduce, but as @gargnitingoogle points out, it appears that the Linux kernel isn't issuing any Write calls, resulting in an empty file. This looks like a problem outside of GCSFuse. I'm wondering if some environment variable or kernel setting could help. |
I got pretty excited about using GCS fuse for collecting core dumps and sadly also ran into this issue. Happy to provide details about my usecase. |
Describe the issue
created empty core dump file in gcp bucket which is mounted using gcsfuse .
To Collect more Debug logs
Steps to reproduce the behavior:
I am able to get core dump file created using local filesystem:
It's creating empty file if we use gcp mounted bucket directory:
please help me if anything, i needed this to make use of this in autoscaling vm's so that i get dump file's in gcs bucket if in-case vm's get terminated.
Thanks,
The text was updated successfully, but these errors were encountered: