12-06-2005 03:07 PM
Hi, we have CSMs V3.2. I am curious what is the TCP TimeOut setup and if there is a way to adjust it?
Thx, Q.Xie
12-07-2005 01:42 AM
there is an idle timeout per vserver.
The command to change it is 'idle ....'
To see the current settings, do a 'sho mod csm X vserver name ... detail'
There is also a pending timeout.
If the 3-way handshake does not complete within this time, the connection is dropped.
This time is adjustable with the command 'pending ...' [again, this is per vserver].
Regards,
Gilles.
Thanks for rating this answer.
12-12-2005 09:09 AM
We have an application that runs from an UNIX box to a web server which sits behind our CSM (configured in router mode). There is a default vserver which handles all traffic that does not otherwise match any rules. The inbound timeout is set to 600. This application is expecting an idle connection to stay live until it gets a reply from the web server that the job is completed. This may require the connection to stay open up to 4 hours. I know for a fact that we do not want to have all unhandled (rule base) connections open for 4 hours. Can you give me an absolute longest timeout that should ever be used? At the default, the CSM will fill up connection tables and memory in less than 1 day. Thanks for your reply.
12-12-2005 09:30 AM
it all depends on your traffic rate.
The CSM can hold 1 million connections in memory at the max.
So, if you set the idle timeout to 10 hours, your max connection rate is 1 M / 10 * 3600 = ~250 conn/sec.
Assuming they would all be open and then idle.
There is no magic number here.
Try to find a limit based on the limit of the CSM and the connection rate that you see in your network.
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide