rpitv / glimpse

Monorepo for the RPI TV Glimpse project
MIT License
3 stars 1 forks source link

Nginx rtmp error #46

Closed robere2 closed 4 months ago

robere2 commented 1 year ago

nginx video server occasionally fails with the following errors. Report was that the stream would inexplicably end after 2-5 minutes.

video_1          | 2022/12/10 23:46:16 [error] 7#7: *2179 auto_push: connect failed: slot=22 pid=29 name='****-****-****-****-****, client: 128.113.176.208, server: 0.0.0.0:1935
video_1          | 2022/12/10 23:46:16 [error] 7#7: *2179 auto_push: connect failed: slot=23 pid=30 name='****-****-****-****-****', client: 128.113.176.208, server: 0.0.0.0:1935
video_1          | 128.113.176.208 [10/Dec/2022:23:46:16 +0000] PUBLISH "me3" "****-****-****-****-****" "" - 581 412 "" "FMLE/3.0 (compatible; FMSc/1.0)" (5s)
video_1          | 2022/12/10 23:46:26 [alert] 7#7: 512 worker_connections are not enough
video_1          | 2022/12/10 23:46:36 [alert] 7#7: 512 worker_connections are not enough
video_1          | 2022/12/10 23:46:46 [alert] 7#7: 512 worker_connections are not enough

Stream key has been stripped from logs. The second error seems to occur every 10 seconds when I checked, however the other error message and previous instances of both messages would sometimes fire rapidly -- 20+ messages/second.

robere2 commented 1 year ago

Restarting the docker container seems to fix this issue temporarily.

robere2 commented 4 months ago

This issue reportedly hasn't happened in quite a while.