[LU-14049] ofd_access_log_reader thread leak Created: 20/Oct/20 Updated: 07/Nov/20 Resolved: 03/Nov/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | John Hammond |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
In ofd_access_log_reader the thread spawned from alr_batch_print() is created with a default (joinable) thread attribute but is never joined thus leaking the thread resources. This causes ofd_access_log_reader to eventually run out of memory maps: # pidof ofd_access_log_reader 1631 # wc -l /proc/1631/maps 65531 |
| Comments |
| Comment by Gerrit Updater [ 20/Oct/20 ] |
|
John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40309 |
| Comment by Gerrit Updater [ 03/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40309/ |
| Comment by Peter Jones [ 03/Nov/20 ] |
|
Landed for 2.14 |