Bug 2357488 - libcephfsd logs appears to be empty due to libc buffering
Summary: libcephfsd logs appears to be empty due to libc buffering
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.1
Assignee: Xavi Hernandez
QA Contact: Mohit Bisht
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2351689
TreeView+ depends on / blocked
 
Reported: 2025-04-04 13:19 UTC by Anoop C S
Modified: 2025-06-11 08:02 UTC (History)
8 users (show)

Fixed In Version: ceph-19.2.1-156.el9cp
Doc Type: Bug Fix
Doc Text:
.Proxy daemon logs now update immediately Previously, log messages from the proxy daemon were buffered by the glibc library, causing delays in log file updates. As a result, in the event of a crash, some log entries could be lost, making troubleshooting and debugging more difficult. With this fix, messages are now written directly to the log file, bypassing glibc buffering, ensuring that logs are immediately visible.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-11066 0 None None None 2025-04-04 13:50:57 UTC

Description Anoop C S 2025-04-04 13:19:25 UTC
Logs from libcephfs proxy daemon are getting buffered by libc and only appear in corresponding systemd journal once it is full. Depending upon the number of proxy client connections made this might take very long time until we see anything in the logs.

Comment 1 Storage PM bot 2025-04-04 13:19:34 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.


Note You need to log in before you can comment on or make changes to this bug.