kaltura / nginx-vod-module

NGINX-based MP4 Repackager
GNU Affero General Public License v3.0
2k stars 439 forks source link

Issue with vod_performance_counters #1436

Open rayzorben opened 1 year ago

rayzorben commented 1 year ago

I am using Frigate which uses nginx-vod-module. I am trying to debug a performance issue, so I wanted to enable perf counters as I have seen in other references, I did the following:

vod_performance_counters perf_counters;

location /vodstatus/ {
  vod_status;
  access_log off;
}

It works, it adds them to the vod status page:

image

However I cannot play videos anymore, I get a weird error:

image

Any ideas?

erankor commented 1 year ago

Not much info here... but one possible guess is that you're running on ARM & using a version before this fix - https://github.com/kaltura/nginx-vod-module/commit/9815979148dd7c426d491aef5c7edd9a797c321a If that is the case, the performance counters are allocated on a non-aligned address, and incrementing the counters causes a segfault. If that is not the case, try checking the nginx error log, there's probably something there...