diff options
author | Peter Andersson <[email protected]> | 2018-05-03 17:23:16 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2018-05-03 17:23:16 +0200 |
commit | 5a93c690267d0a3ca12304c34b0e4538549fabb1 (patch) | |
tree | 31656ad48c3ed008b88b871fbd621e3921eb4dbf /lib/kernel/doc | |
parent | 7588c6f850c59ef2fa338b38ac1cf141af4f69f2 (diff) | |
download | otp-5a93c690267d0a3ca12304c34b0e4538549fabb1.tar.gz otp-5a93c690267d0a3ca12304c34b0e4538549fabb1.tar.bz2 otp-5a93c690267d0a3ca12304c34b0e4538549fabb1.zip |
Make it possible to disable sync and drop mode
Also add tests and update failing test cases
Diffstat (limited to 'lib/kernel/doc')
-rw-r--r-- | lib/kernel/doc/src/logger_chapter.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/kernel/doc/src/logger_chapter.xml b/lib/kernel/doc/src/logger_chapter.xml index 0bc3b37476..5fb81034dc 100644 --- a/lib/kernel/doc/src/logger_chapter.xml +++ b/lib/kernel/doc/src/logger_chapter.xml @@ -700,7 +700,17 @@ my_report_cb(R) -> <p>For the overload protection algorithm to work properly, it is a requirement that:</p> - <p><c>toggle_sync_qlen < drop_new_reqs_qlen < flush_reqs_qlen</c></p> + <p><c>toggle_sync_qlen =< drop_new_reqs_qlen =< flush_reqs_qlen</c></p> + + <p>and that:</p> + + <p><c>drop_new_reqs_qlen > 1</c></p> + + <p>If <c>toggle_sync_qlen</c> is set to <c>0</c>, the handler will handle all + requests synchronously. Setting the value of <c>toggle_sync_qlen</c> to the same + as <c>drop_new_reqs_qlen</c>, disables the synchronous mode. Likewise, setting + the value of <c>drop_new_reqs_qlen</c> to the same as <c>flush_reqs_qlen</c>, + disables the drop mode.</p> <p>During high load scenarios, the length of the handler message queue rarely grows in a linear and predictable way. Instead, whenever the |