Re: [vpp-dev] Maximum TCP session number

2017-11-22 Thread Florin Coras
When apps attach to the session layer they request a given size for the shared 
memory segment out of which fifos are allocated and also the sizes of the rx/tx 
fifos for each connection. If the segment is filled, more shared memory 
segments are allocated. However, if you’re running the builtin test 
client/servers, segments are allocated out of vpp’s private heap. You can 
circumvent this through config parameters:
- private-segment-size 
- preallocate-fifos   

You can check to see that things have worked by doing: “sh segment-manager 
segments”. 

Hope this helps, 
Florin

> On Nov 22, 2017, at 9:00 PM, choonho@gmail.com wrote:
> 
> Hi,
> 
> I got tcp servers warning like,
> 
> 0: segment_manager_alloc_session_fifos:464: No space to allocate fifos!
> 0: tcp46_listen_inline:2788: session accept fail
> 
> 
> DBGvpp# show session
> Thread 0: 2031 active sessions
> 
> What is tunning parameter or codes to increase number of tcp session?
> 
> Thanks,
> Choonho
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] Maximum TCP session number

2017-11-22 Thread choonho . son
Hi,

I got tcp servers warning like,

0: segment_manager_alloc_session_fifos:464: No space to allocate fifos!
0: tcp46_listen_inline:2788: session accept fail


DBGvpp# show session
Thread 0: 2031 active sessions

What is tunning parameter or codes to increase number of tcp session?

Thanks,
Choonho
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev