-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low: nfsserver: more appropriate default timeouts #607
base: main
Are you sure you want to change the base?
Conversation
It would be good to know the motivation behind extending timeouts.
|
@dmuhamedagic In some environments that use clvmd + clustered volume groups for shared storage, we noticed that it was possible for nfs to take longer than the default 40 second timeout to start for the first time. This is a common deployment, so we'd like the default timeout to "just work" for most people. |
What about the stop and monitor timeouts?
It is not a big issue to increase the defaults, but we need to understand what's behind the change.
|
Default timeouts should error on the side of being too conservative. Using a 20s timeout for any nfs action is too aggressive. monitor of nfs is low impact, so I used 30s (which i'd consider to be the lowest default timeout i'd feel comfortable imposing on people). Stop is a bit more involved, so I chose 60s. My philosophy is that It is easier to tell a user "tighten up your timeout values if you want to achieve quicker failover". It is more difficult and time consuming to field support questions that consist of "why is my resource timing out" only to realize in their specific setup they need a more conservative timeout period. I've had to deal with this more than I'd like over the last few years so I'm beginning to think more conservative timeouts make better defaults. |
On Wed, May 06, 2015 at 08:55:21AM -0700, David Vossel wrote:
That makes two of us. I'm all for setting longer timeouts.
The default timeout in pacemaker is 20s. If there's nothing
Again, this doesn't give us the reason.
Normally, tighter timeouts don't result in faster failover.
Timeouts often need to be defined by the user. Note that these
More conservative timeouts are IMO always better and I can |
----- Original Message -----
excellent, I still can't tell if you're arguing for or against
I disagree with pacemaker's default timeout of 20s.
because 60s is more conservative that 40s. this is philosophical, not technical.
yes, normally interval results in faster failover, but that's not always the case.
right.
I'm really not interested in defending anything other than the start
|
On Mon, May 11, 2015 at 09:29:16AM -0700, David Vossel wrote:
Well, both. We just need to argument the change.
Most of the time it's fine. So, I guess that it is fine as a
I'd say that it is really technical. It's about knowing the RA
Users should never set timeouts lower than the RA defaults.
The defaults should be conservative, but not more conservative
Further, once we increase defaults for the existing RA, the |
----- Original Message -----
That's interesting. I didn't realize that's how we documented this in If we're advertising something as being an "okay" value to use why The minimum value for some agent's actions vary so drastically between Take the galera or redis agents for example. A galera promotion involves For galera I advertised promote timeout as 300s because I just want people
|
On this note, I'd argue for requiring explicit configuration of all timeouts. As a compromise, the defaults should be pessimistic rather than optimistic. (To sum up, I agree with both of you). |
On Fri, May 15, 2015 at 09:45:49AM -0700, David Vossel wrote:
To allow users to make better estimates for their installations.
Yes. For some "typical" setup. What is "typical" setup is up to
Yes, it is very difficult to make estimates for some agents. |
On Mon, May 18, 2015 at 12:26:47PM -0700, Kristoffer Grönlund wrote:
I can see your point and that's certainly true for stuff such as Perhaps we need a special value for some defaults:
:) |
No description provided.