diff options
author | Siri Hansen <[email protected]> | 2018-05-21 15:00:58 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-05-21 15:20:01 +0200 |
commit | 9cc697fe2cda12ed2d32fb134ed5584f248f9377 (patch) | |
tree | 4cad41ee672347596ee61a97e97735170dcc322a /lib/kernel/doc/src/logger_chapter.xml | |
parent | e1957dd0920276ea942002477a3317cd8d1e7b5e (diff) | |
parent | 681bc6ad427fce5f087ccc48fb0172b46c02b52a (diff) | |
download | otp-9cc697fe2cda12ed2d32fb134ed5584f248f9377.tar.gz otp-9cc697fe2cda12ed2d32fb134ed5584f248f9377.tar.bz2 otp-9cc697fe2cda12ed2d32fb134ed5584f248f9377.zip |
Merge remote-tracking branch 'peppe/peppe/kernel/logger_handler_fixes'
* peppe/peppe/kernel/logger_handler_fixes:
Various logger handler improvements and updated test cases
Make it possible to disable sync and drop mode
Conflicts:
lib/kernel/test/logger_disk_log_h_SUITE.erl
lib/kernel/test/logger_std_h_SUITE.erl
Diffstat (limited to 'lib/kernel/doc/src/logger_chapter.xml')
-rw-r--r-- | lib/kernel/doc/src/logger_chapter.xml | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lib/kernel/doc/src/logger_chapter.xml b/lib/kernel/doc/src/logger_chapter.xml index 519df2ba48..3150c5adb4 100644 --- a/lib/kernel/doc/src/logger_chapter.xml +++ b/lib/kernel/doc/src/logger_chapter.xml @@ -661,10 +661,20 @@ do_log(Fd,Log,#{formatter:={FModule,FConfig}}) -> </item> </taglist> - <p>For the overload protection algorithm to work properly, it is a - requirement that:</p> + <p>For the overload protection algorithm to work properly, it is + required 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 |