Closed debugger84 closed 5 years ago
Hello @debugger84, the one thing that comes to my mind, and could be responsible for that, is working hmr
. It is enabled by default when inotify
php extension is installed and you're in debug mode.
Could you please try setting hmr: off
in your bundle config file?
https://github.com/k911/swoole-bundle/blob/develop/docs/configuration-reference.md
Hello @k911, you are right, thank you. Switching value of the swoole.http_server.hmr field to "false" has repaired the problem.
@debugger84 I'll close this issue, since I believe problem is solved. If that's not the point please feel free to reopen.
When I started the app server using
bin/console swoole:server:run
, I've got load average of a core of a processor in 100%. At the same time, I do not make requests to the site.My swoole version is
My php version is
Also I tried https://github.com/zendframework/zend-expressive-swoole and it works fine with zend expressive. The load average of CPU was low in idle mode.