Hi Yang.L, 

Could you try latest master? We’ve finally merged the patch that moves messages 
that request the mapping of new segments from binary api to app worker message 
queues. 

Regards,
Florin 

> On Dec 26, 2019, at 12:10 AM, [email protected] wrote:
> 
> Hi Florin,
> vcl.conf 's content are :
> vcl { rx-fifo-size 4000000 tx-fifo-size 4000000 app-scope-local 
> app-scope-global api-socket-name /run/vpp-api.sock }
> 
> the comline "show app" output:
> DBGvpp# sh app Index Name Namespace 0 tls default 1 ldp-60913-app[shm] 
> default DBGvpp# sh app Index Name Namespace 0 tls default 1 
> ldp-60913-app[shm] default DBGvpp# sh app 1 app-name ldp-60913-app[shm] 
> app-index 1 ns-index 0 seg-size 128m rx-fifo-size 3.81m tx-fifo-size 3.81m 
> workers: wrk-index 1 app-index 1 map-index 0 api-client-index 0 wrk-index 2 
> app-index 1 map-index 1 api-client-index 256  
> Everything looks fine.But when another machine start wrk ,the following error 
> occurs in the nginx/log/error.log.
> Here's the error.log.
> epoll_ctl:2203: ldp<58628>: epfd 33 ep_vlsh 1, fd 62 vlsh 30, op 1
> ldp_accept4:2043: ldp<58628>: listen fd 32: calling vppcom_session_accept: 
> listen sid 0, ep 0x0, flags 0xffffdc50
> vppcom_session_accept:1521: vcl<58628:1>: listener 16777216 [0x0] accepted 31 
> [0x1f] peer: 192.168.3.66:55640 local: 192.168.3.65:8080
> epoll_ctl:2203: ldp<58628>: epfd 33 ep_vlsh 1, fd 63 vlsh 31, op 1
> ldp_accept4:2043: ldp<58628>: listen fd 32: calling vppcom_session_accept: 
> listen sid 0, ep 0x0, flags 0xffffdc50
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-5') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-5') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-6') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-6') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-7') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-7') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-8') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-8') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-9') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-9') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-10') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-10') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-11') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-11') failed
> ssvm_slave_init_memfd:296: page size unknown: Bad file descriptor (errno 9)
> vcl_segment_attach:80: svm_fifo_segment_attach ('58606-12') failed
> vl_api_map_another_segment_t_handler:286: VCL<58628>: svm_fifo_segment_attach 
> ('58606-12') failed
> 
>  Can you help me analyze it?
> Thanks,
> Yang.L
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#14970): https://lists.fd.io/g/vpp-dev/message/14970
> Mute This Topic: https://lists.fd.io/mt/64501057/675152
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480544
> Mute #ngnix: https://lists.fd.io/mk?hashtag=ngnix&subid=1480544
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14974): https://lists.fd.io/g/vpp-dev/message/14974
Mute This Topic: https://lists.fd.io/mt/64501057/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #ngnix: https://lists.fd.io/mk?hashtag=ngnix&subid=1480452
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to