1754816 Members
3147 Online
108825 Solutions
New Discussion юеВ

TCIP Sockets

 
SOLVED
Go to solution
matthew robey
Frequent Advisor

TCIP Sockets

We have an application which doesn't seem happy unless it creates thousands of device sockets.

How can I tell what the maximum number of sockets are allowed to be created and can I cahnge the keep alive time on these sockets if they are no longer connected.

TCPIP V5.4 Eco 2

PS does SOMAXCONN=1024 mean a max of 1024 sockets ?

Thanks,

Matt
2 REPLIES 2
Karl Rohwedder
Honored Contributor
Solution

Re: TCIP Sockets

SOMAXCONN is the maximum number of pending TCP connections, see:
http://h71000.www7.hp.com/doc/732final/6631/6631pro_005.html#max_tcp

The maximum number of sockets depends on system resources (e.g. CHANNELCNT) and may be limited to 32768, but I'm not sure about that.

mfg Kalle
Ian Miller.
Honored Contributor

Re: TCIP Sockets

for a large number of sockets you should look at the scalable kernal option that can be enabled but do install ECO 4 kit first!

See release notes for how to enable scable kernel
http://h71000.www7.hp.com/doc/732FINAL/DOCUMENTATION/PDF/TCPIP054_RELNOTES.PDF


See this for increasing the number of sockets
http://h71000.www7.hp.com/doc/732final/6631/6631pro_006.html#bg_devices
____________________
Purely Personal Opinion