Open hansedong opened 1 year ago
Continuously follow up on this issue in recent times, I have preliminarily identified the problem and modified the code to solve it. It has been running online for 3 days now, and the issue has not reappeared.
The changes in the code are actually very minor, but I haven't fully understood the fundamental cause of the problem yet.
When I have time to thoroughly understand the underlying reasons behind the issue, I will follow up on this matter.
What version of Loggie?
1.5.0 rc
Expected Behavior
The deleted files was not released as expected.
The configuration of Loggie is (loggie.yml):
The configuration of pipelines is:
I did not configure fdHoldTimeoutWhenInactive and fdHoldTimeoutWhenRemove, and the default values for these two parameters are both 5m. Therefore, based on my understanding, it is impossible for a file's fd to remain unreleased after being deleted within 5 minutes.