We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In 1.7.2 version, use the method like "$serv->shutdown();". It will close master process only, but the manager and worker process still alive.
Here is the terminal output, fyi. before: root@john:~# ps aux|grep swoole root 9005 0.1 0.9 201308 13884 pts/0 Sl+ 16:44 0:00 php-swoole-master-9005 root 9007 0.0 0.2 193112 4304 pts/0 S+ 16:44 0:00 php-swoole-manager root 9010 0.0 0.3 193428 6096 pts/0 S+ 16:44 0:00 php-swoole-worker-9010 root 9011 0.0 0.3 193428 6096 pts/0 S+ 16:44 0:00 php-swoole-worker-9011 root 9012 0.0 0.4 193372 6180 pts/0 S+ 16:44 0:00 php-swoole-worker-9012 root 9013 0.0 0.4 193372 6180 pts/0 S+ 16:44 0:00 php-swoole-worker-9013
after: root@john:~# ps aux|grep swoole root 9007 0.0 0.2 193112 4304 pts/0 S 16:44 0:00 php-swoole-manager root 9010 0.0 0.4 193428 6444 pts/0 S 16:44 0:00 php-swoole-worker-9010 root 9011 0.0 0.3 193428 6096 pts/0 S 16:44 0:00 php-swoole-worker-9011 root 9012 0.0 0.4 193372 6180 pts/0 S 16:44 0:00 php-swoole-worker-9012 root 9013 0.0 0.4 193372 6180 pts/0 S 16:44 0:00 php-swoole-worker-9013
The text was updated successfully, but these errors were encountered:
Fixed in 1.7.3
Sorry, something went wrong.
No branches or pull requests
In 1.7.2 version, use the method like "$serv->shutdown();".
It will close master process only, but the manager and worker process still alive.
Here is the terminal output, fyi.
before:
root@john:~# ps aux|grep swoole
root 9005 0.1 0.9 201308 13884 pts/0 Sl+ 16:44 0:00 php-swoole-master-9005
root 9007 0.0 0.2 193112 4304 pts/0 S+ 16:44 0:00 php-swoole-manager
root 9010 0.0 0.3 193428 6096 pts/0 S+ 16:44 0:00 php-swoole-worker-9010
root 9011 0.0 0.3 193428 6096 pts/0 S+ 16:44 0:00 php-swoole-worker-9011
root 9012 0.0 0.4 193372 6180 pts/0 S+ 16:44 0:00 php-swoole-worker-9012
root 9013 0.0 0.4 193372 6180 pts/0 S+ 16:44 0:00 php-swoole-worker-9013
after:
root@john:~# ps aux|grep swoole
root 9007 0.0 0.2 193112 4304 pts/0 S 16:44 0:00 php-swoole-manager
root 9010 0.0 0.4 193428 6444 pts/0 S 16:44 0:00 php-swoole-worker-9010
root 9011 0.0 0.3 193428 6096 pts/0 S 16:44 0:00 php-swoole-worker-9011
root 9012 0.0 0.4 193372 6180 pts/0 S 16:44 0:00 php-swoole-worker-9012
root 9013 0.0 0.4 193372 6180 pts/0 S 16:44 0:00 php-swoole-worker-9013
The text was updated successfully, but these errors were encountered: