diff options
| author | Patrick Ruddy <pat@voltanet.io> | 2021-04-14 18:33:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 18:33:18 +0100 |
| commit | 5bb91468c55c17405d112ffe91ba01594583c2e6 (patch) | |
| tree | 10edf4414da92a455cdbc49d43d4f58a07bab3d6 /lib/lib_errors.c | |
| parent | 8a0a716f83c1eecafb8d3a3c7cbf0b153b8c4280 (diff) | |
| parent | 9b8e01cae44cf6cb3a1a08c483ab0deceda21375 (diff) | |
Merge pull request #8003 from donaldsharp/timings
lib: Differentiate between real and cpu bound processes
Diffstat (limited to 'lib/lib_errors.c')
| -rw-r--r-- | lib/lib_errors.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c index 6e5088142a..17695e6607 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -45,9 +45,15 @@ static struct log_ref ferr_lib_warn[] = { .suggestion = "Gather log data and open an Issue. restart FRR", }, { - .code = EC_LIB_SLOW_THREAD, - .title = "The Event subsystem has detected a slow process", - .description = "The Event subsystem has detected a slow process, this typically indicates that FRR is having trouble completing work in a timely manner. This can be either a misconfiguration, bug, or some combination therof.", + .code = EC_LIB_SLOW_THREAD_CPU, + .title = "The Event subsystem has detected a slow cpu time process", + .description = "The Event subsystem has detected a slow process, this typically indicates that FRR is having trouble completing work in a timely manner. This can be either a misconfiguration, bug, or some combination therof. In this case total CPU time was over 5 seconds. Which indicates that FRR is very busy doing some work and should be addressed", + .suggestion = "Gather log data and open an Issue", + }, + { + .code = EC_LIB_SLOW_THREAD_WALL, + .title = "The Event subsystem has detected a slow wall time process", + .description = "The Event subsystem has detected a slow process, this typically indicates that FRR is having trouble completing work in a timely manner. This can be either a misconfiguration, bug or some combination therof. In this case total WALL time was over 5 seconds. Which indicates that FRR might be having trouble being scheduled or some system call is delaying", .suggestion = "Gather log data and open an Issue", }, { |
