Project

General

Profile

Actions

Bug #16102

closed

syslogd fails to release file handlers

Added by Steve Wheeler 26 days ago. Updated 15 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

Also available in: Atom PDF