ysrinivas2
asked on
How many TCP connections are wating to establish a connection to AIX Server
Hi
I am a WebSphere Administrator. My question is how to know how many requests have been waiting to establish a TCP connection to AIX Server.
I Really appreciate for any help..
I am a WebSphere Administrator. My question is how to know how many requests have been waiting to establish a TCP connection to AIX Server.
I Really appreciate for any help..
ASKER
hi ghest,
thanks for your prompt responce.
my question is , when we can get tcp/ip established connections with netstat -an | grep ESTABLISHED is there a way we can get tcp/ip waiting connections. sorry if i am asking same question again.
Thanks in advance....:-)
thanks for your prompt responce.
my question is , when we can get tcp/ip established connections with netstat -an | grep ESTABLISHED is there a way we can get tcp/ip waiting connections. sorry if i am asking same question again.
Thanks in advance....:-)
There is no way.
You can consider WebSphere slow if netstat -an shows huge buffers waiting for it. That would lead to guess that it is slow at serving connections too thus needing greater help from operating system for SOMAXCONN.
Basically AIX accepts TCP connection and puts it into queue sized as determined by parameter somaxconn, then service calls accept() and serves connection.
You can consider WebSphere slow if netstat -an shows huge buffers waiting for it. That would lead to guess that it is slow at serving connections too thus needing greater help from operating system for SOMAXCONN.
Basically AIX accepts TCP connection and puts it into queue sized as determined by parameter somaxconn, then service calls accept() and serves connection.
ASKER
hi ghest,
yep , AIX accepts TCP connection and puts it into queue but is there anyway we can get that queue info like ..how many TCP connetions have been waiting in the queue..Thank in advance...
thanks for your time and patience...........
yep , AIX accepts TCP connection and puts it into queue but is there anyway we can get that queue info like ..how many TCP connetions have been waiting in the queue..Thank in advance...
thanks for your time and patience...........
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In normal system when you see overloading service /like websphere with full receive buffers/ you add connection queue, so that nothing is missed.
is very likely to adjust for slow service
There is no way (lsof, netstat, fuser) to determine connect queue length used on AIX)
Basically if you encounter missed connections on client side rule of a thumb is to increase connect queue.
next is looking at netstat -an for huge send or receive queues for some service.
Apache ( or IBM HTTP Server ) "reverse proxy" offloads websphere HTTP service very well
Ask if you need more help with that.