[PR #1716] [MERGED] Add initiator pid, uid and gid to a debug log #2138

Closed
opened 2026-03-04 02:03:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1716
Author: @dolfinus
Created: 7/6/2021
Status: Merged
Merged: 7/10/2021
Merged by: @ggtakec

Base: masterHead: debug_pid_info


📝 Commits (1)

  • 45f44ee Add initiator pid, uid and gid to a debug log

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 src/s3fs.cpp (+2 -0)

📄 Description

Details

I've discovered a lot of requests to my Minio installation from one of servers with s3fs installed.
After changing the log level to debug I saw a lot of log items that some process is recursively fetching file attributes. But I was not able to find any information about the process which made these requests - lsof could return only the information about opened files, but it does not handle get_attr kernel calls.

So I've added a debug info in the s3fs process itself. This is a really useful feature.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1716 **Author:** [@dolfinus](https://github.com/dolfinus) **Created:** 7/6/2021 **Status:** ✅ Merged **Merged:** 7/10/2021 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `debug_pid_info` --- ### 📝 Commits (1) - [`45f44ee`](https://github.com/s3fs-fuse/s3fs-fuse/commit/45f44eeea855a3aee7b55c51871126ccf7eb76c0) Add initiator pid, uid and gid to a debug log ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/s3fs.cpp` (+2 -0) </details> ### 📄 Description ### Details I've discovered a lot of requests to my Minio installation from one of servers with s3fs installed. After changing the log level to debug I saw a lot of log items that some process is recursively fetching file attributes. But I was not able to find any information about the process which made these requests - `lsof` could return only the information about opened files, but it does not handle `get_attr` kernel calls. So I've added a debug info in the s3fs process itself. This is a really useful feature. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:03:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2138
No description provided.