Bug #1214
closedIronman launcher locking up over time
100%
Description
This might be due to logs filling up /tmp.
If not that, get libleak to work on Pibox and use it to check for leaks.
Related issues
Updated by Hammel 3 months ago
- Blocked by Feature #1217: Utilize latest features of Buildroot added
Updated by Hammel about 1 month ago
Note: UI lockup occurred two days ago as shown by date/time field. Verified ssh does not work either.
Remote logging would need to be enabled manually. There is no opkg for this.
- piboxd: off
- imrest: off
- appmgr: on
- launcher: on
Retesting with appmgr and launcher logging on. Will revisit daily to check on size of logs.
Note:
Logs after boot:
$ ls -l /tmp/ -rw-r--r-- 1 root root 965 Dec 31 1969 appmgr.log -rw-r--r-- 1 nobody nobody 23065 Nov 3 17:53 launcher.log
Logs after a few minutes:
)$ ls -l /tmp/ -rw-r--r-- 1 root root 965 Dec 31 1969 appmgr.log -rw-r--r-- 1 nobody nobody 60271 Nov 3 17:55 launcher.log
So launcher could definitely be filling up tmp space.
Updated by Hammel about 1 month ago
- Related to Feature #1215: Create a package for libleak and remote logging added
Updated by Hammel 17 days ago
- Status changed from In Progress to Closed
- % Done changed from 10 to 100
It a couple of weeks, but with the logs enabled for launcher the /tmp directory eventually filled to 100% and then the system locked up.
So this could be handled by the following.
- Force logging into /media/data/logs
- Enable a log rotation that prevents logs from getting too large.
But that's not really necessary because the logging is for debugging only and isn't a runtime issue. So just remember to turn off debugging and all will be fine.
Closing issue without any updates.