Sn0rt commented on issue #9327:
URL: https://github.com/apache/apisix/issues/9327#issuecomment-1551096061
it can't reproduced with only one worker process.
```diff
diff --git a/conf/config-default.yaml b/conf/config-default.yaml
index 4f97adc4..dc04037b 100755
--- a/conf/config-default.yaml
+++ b/conf/config-default.yaml
@@ -136,8 +136,8 @@ nginx_config: # config for render
the template to generate n
# the "user" directive makes sense only
if the master process runs with super-user privileges.
# if you're not root user,the default is
current user.
error_log: logs/error.log
- error_log_level: warn # warn,error
- worker_processes: auto # if you want use multiple cores in
container, you can inject the number of cpu as environment variable
"APISIX_WORKER_PROCESSES"
+ error_log_level: debug # warn,error
+ worker_processes: 1 # if you want use multiple cores in container, you
can inject the number of cpu as environment variable "APISIX_WORKER_PROCESSES"
enable_cpu_affinity: false # disable CPU affinity by default, if
APISIX is deployed on a physical machine, it can be enabled and work well.
worker_rlimit_nofile: 20480 # the number of files a worker process
can open, should be larger than worker_connections
worker_shutdown_timeout: 240s # timeout for a graceful shutdown of
worker processes
```
and the root cause here is
`https://github.com/api7/lua-resty-healthcheck/blob/master/lib/resty/healthcheck.lua#L999`
it's still in process how to raise a PR for fix.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]