Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Vladimir VinogradenkoVladimir VinogradenkoReporter
Richard KojedzinszkyRichard KojedzinszkyImpact
MediumComponents
Fix versions
Affects versions
Priority
High
Details
Details
Assignee
Vladimir Vinogradenko
Vladimir VinogradenkoReporter
Richard Kojedzinszky
Richard KojedzinszkyImpact
Medium
Components
Fix versions
Affects versions
Priority
More fields
More fields
More fields
Katalon Platform
Katalon Platform
Katalon Platform
Created July 24, 2020 at 8:19 PM
Updated July 1, 2022 at 4:51 PM
Resolved July 27, 2020 at 7:19 PM
Checking middlewared/zettarepl process shows file descriptor leak over time, which on our production system ended up eating all pipekva space. We got receiving the following kernel messages:
kern.ipc.maxpipekva exceeded; see tuning(7)
Restarting middlewared solves the problem temporary, but over time resources will again be exhausted.
The leak can be observer:
nas-a# ps axw|grep middlewared.*zettar
86105 - S 0:23.00 python3.7: middlewared (zettarepl) (python3.7)
91844 1 S+ 0:00.00 grep middlewared.*zettar
nas-a# procstat -f 86105 | wc -l
431
nas-a# procstat -f 86105 | wc -l
433
nas-a# procstat -f 86105 | wc -l
433
nas-a# procstat -f 86105 | wc -l
433
nas-a# procstat -f 86105 | wc -l
434
nas-a# procstat -f 86105 | wc -l
434
nas-a# procstat -f 86105 | wc -l
434
nas-a# procstat -f 86105 | wc -l
435
nas-a# procstat -f 86105 | wc -l
436
nas-a# procstat -f 86105 | wc -l
436
nas-a# procstat -f 86105 | wc -l
436
nas-a# procstat -f 86105 | wc -l
436
nas-a# procstat -f 86105 | wc -l
437
nas-a# procstat -f 86105 | wc -l
437
This has been captured during a replication task running, while sending multiple snapshots.