Project

General

Profile

Actions

Bug #16102

closed

syslogd fails to release file handlers

Added by Steve Wheeler 26 days ago. Updated 14 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
System Logs
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Force Exclusion
Affected Version:
2.8.0
Affected Architecture:

Description

Syslogd appears to be failing to release file handlers at rotation (or otherwise) resulting in increasing file system usage over time.

This is particularly an issue in systems with RAM disks enabled where /var can become filled entirely and services start to fail.

Restarting syslogd clears the excess files.

[25.03-BETA][admin@5100.stevew.lan]/root: ps -auxww | awk '{print $2}' | grep -v PID | xargs procstat -f | grep var | wc -l
procstat: sysctl(kern.proc): No such process
procstat: procstat_getprocs()
   12102
[25.03-BETA][admin@5100.stevew.lan]/root: ps -auxww | awk '{print $2}' | grep -v PID | xargs procstat -f | grep var | wc -l
procstat: sysctl(kern.proc): No such process
procstat: procstat_getprocs()
     169

Seen in 25.03 and 2.8.

Actions #1

Updated by Luiz Souza 25 days ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Fix cherry-picked to 2.8 and 25.03.

Actions #2

Updated by Jim Pingle 22 days ago

  • Release Notes changed from Default to Force Exclusion

Didn't affect any release, so excluding from release notes.

Actions #3

Updated by Marcos M 14 days ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF