rozhuk-im / msd_lite

Program for IP TV streaming on the network via HTTP
http://netlab.dhis.org/wiki/index?id=en:software:msd:lite
BSD 2-Clause "Simplified" License
185 stars 47 forks source link

Bus error (SIGBUS) #1

Open tsl0922 opened 1 year ago

tsl0922 commented 1 year ago

I'm running msd_lite on a router firmware, msd_lite crashes when my player generating thumbnails of the playlist(.m3u contains a lot of channels).

/home/root # /usr/bin/msd_lite -c /etc/storage/msd_lite.conf
Bus error

can't debug on the router, no more info.

rozhuk-im commented 1 year ago

Hi!

Probably there is not enough free memory (RAM).

Also check limits - Max open files by default is 1024 in many distros which is not enough in case of many connections. msd prints actual files descriptors count in log at start: [2022-05-28 10:17:51]: descriptor table size: 65536 (max files)

tsl0922 commented 1 year ago

Increased the limits, still get the same error. while the memory usage increased ~10M, I didn't see any OOM error in system log.

rozhuk-im commented 1 year ago

Possible log can show what goes wrong, if there is no errors then we need coredump and backtrace to locate error. Without this this is con not be fixed.