themactep / thingino-firmware

Open-source firmware for Ingenic SoC IP cameras
https://thingino.com
MIT License
159 stars 50 forks source link

Memory leak renders camera unresponsive over time #44

Closed themactep closed 5 months ago

themactep commented 6 months ago

Left running overnight, the camera shows high memory usage, gets slow and sometimes streamer crashes. Re-run manually in console displays errors with ioctl:

[root@thingino-t31n ~]# prudynt 
[INFO:main.cpp]: PRUDYNT Video Daemon: Mar 12 2024 04:43:15_a278410b15
[INFO:main.cpp]: Starting Prudynt Video Server.
[INFO:IMP.cpp]: LIBIMP Version IMP-1.1.6
[INFO:IMP.cpp]: SYSUTILS Version: SYSUTILS-1.1.6
[INFO:IMP.cpp]: CPU Information: T31-N
[INFO:IMP.cpp]: Sensor: gc2053
---- FPGA board is ready ----
  Board UID : 30AB6E51
  Board HW ID : 72000460
  Board rev.  : 5DE5A975
  Board date  : 20190326
-----------------------------
ioctl error ret = -1
ioctl error ret = -1
ioctl error ret = -1
ioctl error ret = -1
themactep commented 5 months ago

I guess straigtening out getaway pid files fixed that.