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/04 09:11:59 UTC

[GitHub] [incubator-apisix] qiukeren opened a new issue #1649: bug: benchmark scripts and apisix command OSX compatibility for development

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


   ### Issue description
   
   Here are two uncompatible on OSX:
   
   1. run.sh,sed `sed  -i "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.conf`should be replaced with `sed  -i "" "s/worker_processes .*/worker_processes $worker_cnt;/g" conf/nginx.conf`
   2. apisix when reload, os.execute return 3 values while linux return only 1.
   
   what's more, I suggest change `worker_processes \d+` to `worker_processes .*` in run.sh, because nginx.conf is usually set to `worker_process = auto`.
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.3
   * OS: OSX
   
   


----------------------------------------------------------------
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 closed issue #1649: bug: benchmark scripts and apisix command OSX compatibility for development

Posted by GitBox <gi...@apache.org>.
membphis closed issue #1649:
URL: https://github.com/apache/incubator-apisix/issues/1649


   


----------------------------------------------------------------
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