zoneminder-containers / zoneminder-base

An always up-to-date automatically building ZoneMinder container
101 stars 32 forks source link

Hung processes #20

Closed gcormier closed 2 years ago

gcormier commented 2 years ago

Discussion at https://github.com/ZoneMinder/zoneminder/issues/3375

It is suggested it might be an issue of the container specifically.

alexyao2015 commented 2 years ago

I guess the question is what particular setting needs to be adjusted to not have this issue? I'm not entirely familiar with how php-fpm and fastcgi works, but what I can tell you is that php-fpm, fastcgi, and nginx are used. You can see the settings used in the source code. If you can exec into the container to change the settings, you may be able to determine what setting would need to be adjusted.

alexyao2015 commented 2 years ago

Looked further into this and it seems that nginx will automatically close the connection to the fastcgi server once it receives a response. It could be a bug with zoneminder causing it to not terminate. Perhaps try some older versions of zoneminder with this container and see if those issues still exist.

http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_keep_conn

alexyao2015 commented 2 years ago

Looking at the development of the story in the zoneminder issues, it appears that multiple other people are observing this same issue outside of this container. I'll put this issue on hold for now until some more conclusive evidence is obtained.

alexyao2015 commented 2 years ago

I think this was fixed by zm.