Closed MassiAtHG closed 5 years ago
I have workaround this issue with this.
until php ./vendor/bin/zend-expressive-swoole start; do sleep 1 ; done
It's quiet hacky, but it basically retries the start
command every second until it succeeds. It usually works after two retries if not in the first one.
A containerised expressive app running with Swoole HTTP server (latest version 2) does not restart. The error generated after the restart is the following:
Container ENTRYPOINT ["php", "/app/vendor/bin/zend-expressive-swoole", "start"]
I believe the problem is related to the PidManager not clearing the file on SIGTERM or the subsequent SIGKILL.