frigate: [Support]: aarch64 on Coral Dev-Board. Frigate 0.9.x nginx memory error

Describe the problem you are having

starting docker with frigate 0.9.x aarch64 images on coral-Dev-Board leads to error

snippet:

frigate    | nginx: [alert] mmap(MAP_ANON|MAP_SHARED, 536870912) failed (12: Cannot allocate memory)
frigate    | nginx: [alert] munmap(FFFFFFFFFFFFFFFF, 536870912) failed (22: Invalid argument)

i made this new issue, little more testing is already documented in this thread https://github.com/blakeblackshear/frigate/issues/1718#issuecomment-962590163

any hints for configuring the dev-board highly appreciated. also hints confiming a running 0.9.x container on the dev-board. 👍

Version

DEBUG 0.9.x

Coral version

Dev-Board with Mendel -Linux 5.2

Any other information that may be helpful

i made this new issue, little more testing is already documented in this thread https://github.com/blakeblackshear/frigate/issues/1718#issuecomment-962590163

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (3 by maintainers)

Most upvoted comments

afraid that the dev-board will be of limited use with more than 1 cam… image

edit: and more disappointment of lack of some (en-)codec support in hardware… https://github.com/google-coral/edgetpu/issues/421

and de-coding only with gestreamer: https://github.com/google-coral/edgetpu/issues/500

maybe i now switch to nvidia jetson…

256 mb is working now for vod-cache with 1 cam configured. maybe its gets problem with more cams?

i can test tommorow different settings./ram/hwaccel…

root@elusive-calf:/usr/src# docker exec -it frigate /bin/bash
root@703ddff4fc4f:/opt/frigate# cd /usr/local/nginx/
root@703ddff4fc4f:/usr/local/nginx# ls
client_body_temp  conf  fastcgi_temp  logs  proxy_temp  sbin  scgi_temp  uwsgi_temp
root@703ddff4fc4f:/usr/local/nginx# ls -la
total 48
drwxr-xr-x 1 root root 4096 Nov 20 18:35 .
drwxr-xr-x 1 root root 4096 Jul  1 22:19 ..
drwx------ 2 root root 4096 Nov 20 18:35 client_body_temp
drwxr-xr-x 1 root root 4096 Sep 25 13:25 conf
drwx------ 2 root root 4096 Nov 20 18:35 fastcgi_temp
drwxr-xr-x 1 root root 4096 Nov 20 18:35 logs
drwx------ 2 root root 4096 Nov 20 18:35 proxy_temp
drwxr-xr-x 2 root root 4096 Jul 21 12:41 sbin
drwx------ 2 root root 4096 Nov 20 18:35 scgi_temp
drwx------ 2 root root 4096 Nov 20 18:35 uwsgi_temp
root@703ddff4fc4f:/usr/local/nginx# cd conf/
root@703ddff4fc4f:/usr/local/nginx/conf# ls
fastcgi.conf  fastcgi_params  koi-utf  koi-win  mime.types  nginx.conf  scgi_params  uwsgi_params  win-utf
root@703ddff4fc4f:/usr/local/nginx/conf# ls -la
total 56
drwxr-xr-x 1 root root 4096 Sep 25 13:25 .
drwxr-xr-x 1 root root 4096 Nov 20 18:35 ..
-rw-r--r-- 1 root root 1077 Jul 21 12:41 fastcgi.conf
-rw-r--r-- 1 root root 1007 Jul 21 12:41 fastcgi_params
-rw-r--r-- 1 root root 2837 Jul 21 12:41 koi-utf
-rw-r--r-- 1 root root 2223 Jul 21 12:41 koi-win
-rw-r--r-- 1 root root 5231 Jul 21 12:41 mime.types
-rw-r--r-- 1 root root 6927 Nov 20 19:12 nginx.conf
-rw-r--r-- 1 root root  636 Jul 21 12:41 scgi_params
-rw-r--r-- 1 root root  664 Jul 21 12:41 uwsgi_params
-rw-r--r-- 1 root root 3610 Jul 21 12:41 win-utf
root@703ddff4fc4f:/usr/local/nginx/conf# cat nginx.conf | grep vod_me
        vod_metadata_cache metadata_cache 256m;
root@703ddff4fc4f:/usr/local/nginx/conf#