> Once the connection is established , create a new pthread and go back to 
> accept() system calls waiting for a new connection. 

Apologies, I had missed the while loop previously, so the only thing that comes 
to mind is some issue in handling sharing of sessions between threads. Anything 
in VCL debug logs? 

> vppcom_app_exit:1389: [173279] Event Log:'/dev/shm/3-173279-vcl-elog'
> vppcom_app_exit:1389: [173287] Event Log:'/dev/shm/3-173287-vcl-elog'
> 
>  Can you please share the tool through which I can decode these files.

You’ll have to build perftools. See here [1] and then use c2cpel tool.

> 
> I am also seeing one issue where if I mention the max-workers variable in 
> VCL.CONF, I get the following error.
> 
> "vls_app_fork_child_handler:2043: vcl<502944328:-1>: ERROR couldn't register 
> new worker!"

Not sure how the code ends up in vls_app_fork_child_handler as your app didn’t 
look like it called fork, unless it’s called in handle_client. You might have 
to check that with gdb. 

> 
> vcl {
>   heapsize 64M
>   segment-size 4000000000
>   add-segment-size 4000000000
>   rx-fifo-size 4000000
>   tx-fifo-size 4000000
>   max-workers 3
>   app-scope-local
>   app-scope-global
>   app-socket-api /var/run/vpp/app_ns_sockets/default
>   use-mq-eventfd
> }
> 
> I am reading the code to decode the o/p of show session verbose.

Sounds good. 

Regards, 
Florin

[1] 
https://s3-docs.fd.io/vpp/26.02/developer/corearchitecture/buildsystem/cmakeandninja.html#tinkering-with-build-options-ccmake

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26595): https://lists.fd.io/g/vpp-dev/message/26595
Mute This Topic: https://lists.fd.io/mt/116524534/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to