caijwei commented on issue #12398:
URL: https://github.com/apache/apisix/issues/12398#issuecomment-3034893082

   @hanqingwu  I’d like to provide some additional test details:
   
   The host machine is a MacBook Pro with an M3 chip (Apple Silicon), running 
APISIX inside Docker. Without explicitly setting worker_processes, the default 
value is auto, and it starts 8 worker processes as expected.
   
   Here’s the confirmation:
   ```
   root@4cb79f205ed5:/usr/local/apisix# cat /usr/local/apisix/conf/nginx.conf | 
grep worker_processes
   worker_processes auto;
   root@4cb79f205ed5:/usr/local/apisix# ps aux | grep 'nginx: worker process' | 
grep -v grep | wc -l
   8
   root@4cb79f205ed5:/usr/local/apisix# lscpu
   Architecture:                         aarch64
   CPU op-mode(s):                       64-bit
   Byte Order:                           Little Endian
   CPU(s):                               8
   On-line CPU(s) list:                  0-7
   Thread(s) per core:                   1
   Core(s) per socket:                   8
   Socket(s):                            1
   Vendor ID:                            0x61
   Model:                                0
   Stepping:                             0x0
   BogoMIPS:                             48.00
   Vulnerability Gather data sampling:   Not affected
   Vulnerability Itlb multihit:          Not affected
   Vulnerability L1tf:                   Not affected
   Vulnerability Mds:                    Not affected
   Vulnerability Meltdown:               Not affected
   Vulnerability Mmio stale data:        Not affected
   Vulnerability Reg file data sampling: Not affected
   Vulnerability Retbleed:               Not affected
   Vulnerability Spec rstack overflow:   Not affected
   Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass 
disabled via prctl
   Vulnerability Spectre v1:             Mitigation; __user pointer sanitization
   Vulnerability Spectre v2:             Not affected
   Vulnerability Srbds:                  Not affected
   Vulnerability Tsx async abort:        Not affected
   Flags:                                fp asimd evtstrm aes pmull sha1 sha2 
crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp 
sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
   ```
   As per your suggestion, I added the lua-resty-events module configuration to 
config.yaml and explicitly set worker_processes: 8.
   
   Unfortunately, neither change had any effect. After running restart.sh 
several times, intermittent 503 errors still occur quite easily.
   
   
   


-- 
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: notifications-unsubscr...@apisix.apache.org

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

Reply via email to