Q1) I would like ask what the benefits and disadvantages might be of
increasing the client_timeout value from the default of 30 seconds to something
like 90 or 120 seconds.
Would it simply be that a true disconnection would take longer to figure out?
Here is why I ask:
on two occasions now, we have seen a "mass disconnect", where a whole bunch
of clients get disconnected at about the same time, over the span of
one or two minutes.
My guess is that it's some brief hiccup on the server's network connection,
since the server just kept running fine before during and after this brief period.
If that's correct, then it seems that a little more patience on judging a client disconnected
would take care of any such problem, as long as it was of short enough duration.
Q2) Along the same lines, it would seem that increasing the time between heartbeat
messages would greatly reduce the amount of message traffic. Would there be any
disadvantage to that?
Obviously it needs to stay quite a bit shorter than the timeout time,
but what would be a good set of values?
I'm thinking 15-20 seconds for heartbeat interval and 60-90 seconds
for client timeout.
Has anyone experimented with these values to find a good combination,
other than the default of 10/30 ?
Thanks for any insight you can give on this and any other suggestions
for things that might help.