You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/06/09 15:55:49 UTC

[GitHub] [incubator-apisix] nerowangtc opened a new issue #1671: bug: make stop can't kill multi apisix server

nerowangtc opened a new issue #1671:
URL: https://github.com/apache/incubator-apisix/issues/1671


   ### Issue description
   If I use make run to start multiple apisix server, the process shows below:
   [nero@VM_42_81_centos ~/incubator-apisix]$ ps -ef | grep apisix
   nero     28293     1  0 10:35 ?        00:00:00 nginx: master process /usr/local/openresty/bin/openresty -p /home/nero/incubator-apisix/ -c /home/nero/incubator-apisix/conf/nginx.conf
   nero     29053     1  0 10:40 ?        00:00:00 nginx: master process /usr/local/openresty/bin/openresty -p /home/nero/incubator-apisix/ -c /home/nero/incubator-apisix/conf/nginx.conf
   
   Now if i use make stop to stop a apisxi server , it goes ok
   [nero@VM_42_81_centos ~/incubator-apisix]$ make stop
   /usr/local/openresty/bin/openresty -p $PWD/ -c $PWD/conf/nginx.conf -s stop
   [nero@VM_42_81_centos ~/incubator-apisix]$ ps -ef | grep apisix
   nero     28293     1  0 10:35 ?        00:00:00 nginx: master process /usr/local/openresty/bin/openresty -p /home/nero/incubator-apisix/ -c /home/nero/incubator-apisix/conf/nginx.conf
   nero     29362 28108  0 10:42 pts/0    00:00:00 grep --color=auto apisix
   
   But if is make stop again, it produce a error message
   [nero@VM_42_81_centos ~/incubator-apisix]$ make stop
   /usr/local/openresty/bin/openresty -p $PWD/ -c $PWD/conf/nginx.conf -s stop
   nginx: [error] open() "/home/nero/incubator-apisix/logs/nginx.pid" failed (2: No such file or directory)
   make: *** [stop] Error 1
   [nero@VM_42_81_centos ~/incubator-apisix]$ ps -ef | grep apisix
   nero     28293     1  0 10:35 ?        00:00:00 nginx: master process /usr/local/openresty/bin/openresty -p /home/nero/incubator-apisix/ -c /home/nero/incubator-apisix/conf/nginx.conf
   nero     29421 28108  0 10:42 pts/0    00:00:00 grep --color=auto apisix
   
   and the another apisix process remains
   I think this is a bug if some one missuse this command
   ### Environment
   
   * apisix version (cmd: `apisix version`):
   * OS:
   
   ### Minimal test code / Steps to reproduce the issue
   1. make run
   2. make run
   3. make stop
   
   ### What's the actual result? (including assertion message & call stack if applicable)
   
   
   
   ### What's the expected result?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] membphis commented on issue #1671: bug: make stop can't kill multi apisix server

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1671:
URL: https://github.com/apache/incubator-apisix/issues/1671#issuecomment-647063952


   only one APISIX instance can be started now.
   
   ![image](https://user-images.githubusercontent.com/6814606/85214501-45793f00-b39e-11ea-9c49-6d78b516a624.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] nerowangtc commented on issue #1671: bug: make stop can't kill multi apisix server

Posted by GitBox <gi...@apache.org>.
nerowangtc commented on issue #1671:
URL: https://github.com/apache/incubator-apisix/issues/1671#issuecomment-641002608






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] moonming commented on issue #1671: bug: make stop can't kill multi apisix server

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1671:
URL: https://github.com/apache/incubator-apisix/issues/1671#issuecomment-641047168






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] Miss-you edited a comment on issue #1671: bug: make stop can't kill multi apisix server

Posted by GitBox <gi...@apache.org>.
Miss-you edited a comment on issue #1671:
URL: https://github.com/apache/incubator-apisix/issues/1671#issuecomment-641001269


   On the other hand, I think the root cause of the problem is that multiple 'make run' or 'apisix start' will start multiple groups of apisix processes


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] Miss-you commented on issue #1671: bug: make stop can't kill multi apisix server

Posted by GitBox <gi...@apache.org>.
Miss-you commented on issue #1671:
URL: https://github.com/apache/incubator-apisix/issues/1671#issuecomment-641001238






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org