[FS#1374] ubox: logd memory leak

LEDE Bugs lede-bugs at lists.infradead.org
Mon Feb 19 00:39:03 PST 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Enrique Giraldo (HenryGiraldo) 

Attached to Project - OpenWrt/LEDE Project
Summary - ubox: logd memory leak 
Task Type - Bug Report
Category - Packages
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - I checked the use of memory with `top` command and saw that the logd was consuming memory disproportionately (around 60MB).

```
PID PPID USER STAT VSZ VSZ %CPU COMMAND
971 1 root S 59768 48% 0% /sbin/logd -S 64
```

- There was no remote log configured.
- I was using logread -f for a long time.
- When doing an /etc/init.d/log restart the consumed memory returned to normality.
- ubox version:

```
PKG_SOURCE_DATE:=2017-09-01
PKG_SOURCE_VERSION:=b1bc8d5fb874cdd22701a08d0fb0de4330f86814
PKG_MIRROR_HASH:=b07e750d941d691e2745aa3a058e504966b15d1db5636162dc686bad275eb296
```

 

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1374



More information about the lede-bugs mailing list