-
Notifications
You must be signed in to change notification settings - Fork 103
Issue 6096 - Improve connection timeout error logging #6097
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
Conversation
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: 389ds#6096 Reviewed by:
ldap/admin/src/logconv.pl
Outdated
| @@ -355,6 +355,7 @@ | |||
| $connmsg{"B4"} = "Server failed to flush data (response) back to Client"; | |||
| $connmsg{"T1"} = "Idle Timeout Exceeded"; | |||
| $connmsg{"T2"} = "IO Block Timeout Exceeded or NTSSL Timeout"; | |||
| $connmsg{"T3"} = "Paged Search Limit Exceeded"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought it was best to another another T version, for T2 there are already 2 timeout reasons.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right good idea. I would replace 'Search Limit' with 'Search Time Limit'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ldap/admin/src/logconv.pl
Outdated
| @@ -355,6 +355,7 @@ | |||
| $connmsg{"B4"} = "Server failed to flush data (response) back to Client"; | |||
| $connmsg{"T1"} = "Idle Timeout Exceeded"; | |||
| $connmsg{"T2"} = "IO Block Timeout Exceeded or NTSSL Timeout"; | |||
| $connmsg{"T3"} = "Paged Search Limit Exceeded"; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right good idea. I would replace 'Search Limit' with 'Search Time Limit'
| @@ -27,6 +27,7 @@ ER2(SLAPD_DISCONNECT_BER_FLUSH, "Server failed to flush response back to Client | |||
| ER2(SLAPD_DISCONNECT_IDLE_TIMEOUT, "Idle Timeout (nsslapd-idletimeout) - T1") | |||
| ER2(SLAPD_DISCONNECT_REVENTS, "Poll revents - R1") | |||
| ER2(SLAPD_DISCONNECT_IO_TIMEOUT, "IO Block Timeout (nsslapd-ioblocktimeout) - T2") | |||
| ER2(SLAPD_DISCONNECT_PAGED_SEARCH_LIMIT, "Paged Search Limit Exceeded - T3") | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'Search Time Limit' would be more precise as there is also size limit that could be confusing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats a good point, I will update
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded. Fix description: Correct error message Relates: #6096 Reviewed by: @tbordaz (Thank you)
Bug description: When a paged result search is run with a time limit, if the time limit is exceed the server closes the connection with closed IO timeout (nsslapd-ioblocktimeout) - T2. This error message is incorrect as the reason the connection has been closed was because the specified time limit on a paged result search has been exceeded.
Fix description: Correct error message
Relates: #6096
Reviewed by: