-
Notifications
You must be signed in to change notification settings - Fork 148
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
Possible issue with default number of workers on "thruk bp" #1298
Labels
Comments
sounds like a bug, i will have a look. Thanks for sharing. |
does running |
Hi Sven, I've attached a file of the output if you can see anything ...
------- Original Message -------
On Tuesday, July 25th, 2023 at 21:04, Sven Nierlein ***@***.***> wrote:
does running `thruk bp all -vvv` reveal anything useful? Pinning it on one worker disables a lot of extra code required to parallelize calculation, so i assume something is going wrong there.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.[https://mail.proton.me/api/core/v4/images?Url=https%3A%2F%2Fgithub.com%2Fnotifications%2Fbeacon%2FABYKQDTEZSBHASWJZXUMMVDXSARGXA5CNFSM6AAAAAA2WXEI32WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTCMBBVC.gif&DryRun=0&UID=yaya2qzefzv4zevqvhrrds23cpplxkuw]
[21:19:21,531][DEBUG][lib/Thruk/Config.pm:1019 ] screen logging initialized with loglevel 3
[21:19:21,531][DEBUG][lib/Thruk/Config.pm:1019 ] reading config file: /etc/thruk/thruk.conf
[21:19:21,534][DEBUG][lib/Thruk/Config.pm:1019 ] reading config file: /etc/thruk/thruk_local.d/naemon.conf
[21:19:21,535][DEBUG][lib/Thruk/Config.pm:1019 ] reading config file: /etc/thruk/thruk_local.conf
[21:19:21,536][DEBUG][lib/Thruk/Config.pm:543 ] using plugins: /etc/thruk/plugins//plugins-enabled/*/
[21:19:21,536][DEBUG][lib/Thruk/Config.pm:584 ] using themes: /etc/thruk/themes//themes-enabled/*/
[21:19:21,548][DEBUG][lib/Thruk/Utils/CLI.pm:442 ] _dummy_c()
[21:19:21,548][DEBUG][lib/Thruk/Utils/CLI.pm:454 ] _internal_request('/thruk/cgi-bin/remote.cgi', 'GET')
mem: 34.46 MB before pool with 5 members
mem: 86.10 MB after pool
[21:19:21,766][DEBUG][lib/Thruk/Config.pm:1202 ] reading /etc/thruk/cgi.cfg
[21:19:21,766][DEBUG][lib/Thruk/Config.pm:1019 ] reading config file: /etc/thruk/cgi.cfg
[21:19:21,795][DEBUG][lib/Thruk/Utils/Timezone.pm:85] server timezone: Europe/London (from timedatectl)
[21:19:21,811][DEBUG][lib/Thruk.pm:291 ] _dispatcher: http://localhost/thruk/cgi-bin/remote.cgi
[21:19:21,812][DEBUG][...k/Action/AddDefaults.pm:162] cgi-bin/remote.cgi.cgi does not require authentication
[21:19:21,813][INFO][lib/Thruk/Context.pm:994 ] [21:19:21.813] pid: 988153 req: 001 mem: 89.32 MB 0.14 MB dur: 0.003s (-/-) size: 0.002 kb stat: 200 url: remote.cgi
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] +----------------------------------------------------------------------------------+-------------+
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | total time | 0.00202s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] +----------------------------------------------------------------------------------+-------------+
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | _dispatcher: http://localhost/thruk/cgi-bin/remote.cgi | 0.00199s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | time: Tue Jul 25 21:19:21 2023 - host: vuh-lb-mgp009.herts.ac.uk - pid: 9881 | |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | Root begin | 0.00070s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | Thruk::Controller::remote::index | 0.00012s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | finalize_request | 0.00003s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] +----------------------------------------------------------------------------------+-------------+
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | total time waited on backends | 0.00000s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | total time waited on rendering | 0.00000s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] | total time | 0.00202s |
[21:19:21,814][DEBUG][lib/Thruk/Context.pm:1000 ] +----------------------------------------------------------------------------------+-------------+
[21:19:21,815][DEBUG][lib/Thruk/Utils/CLI.pm:478 ] _internal_request() done
[21:19:21,815][DEBUG][lib/Thruk/Utils/CLI.pm:340 ] _run(): building response
[21:19:21,815][DEBUG][lib/Thruk/Utils/CLI.pm:493 ] from_local()
[21:19:21,815][DEBUG][lib/Thruk/Utils.pm:2176 ] set_user: (cli), superuser: yes, internal: yes
[21:19:21,815][DEBUG][lib/Thruk/Context.pm:306 ] checking authenticaton
[21:19:21,815][DEBUG][lib/Thruk/Context.pm:351 ] authenticated as '(cli)' - auth src 'cli'
[21:19:21,815][DEBUG][lib/Thruk/Utils/CLI.pm:701 ] trying to load module: Thruk::Utils::CLI::Bp
[21:19:21,817][DEBUG][.../Action/AddDefaults.pm:1147] set_enabled_backends() using defaults
[21:19:21,817][DEBUG][.../Action/AddDefaults.pm:1179] disabled_backends: $VAR1 = {};
[21:19:21,818][DEBUG][...ruk/Backend/Manager.pm:1571] livestatus (no lmd): get_processinfo: 328c5, dab2c, b20ac, 3126b, 90117
[21:19:21,888][DEBUG][...ruk/Backend/Manager.pm:1571] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:21,925][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:191] calculating business process with 3 workers
[21:19:22,034][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,034][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,037][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
Use of uninitialized value in hash element at /usr/share/thruk/lib/Thruk/Base.pm line 267.
Use of uninitialized value in hash element at /usr/share/thruk/lib/Thruk/Base.pm line 267.
Use of uninitialized value in hash element at /usr/share/thruk/lib/Thruk/Base.pm line 267.
Use of uninitialized value in hash element at /usr/share/thruk/lib/Thruk/Base.pm line 267.
[21:19:22,070][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,071][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 01/21 bp update OK in 0.039s | 10.tbp | '1 - Ruby Web App Services'
[21:19:22,072][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,085][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): send_command:
[21:19:22,088][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 02/21 bp update OK in 0.055s | 1.tbp | 'wayfinding'
[21:19:22,090][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,092][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
[21:19:22,098][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,142][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): send_command:
[21:19:22,142][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,144][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 03/21 bp update OK in 0.112s | 11.tbp | '2 - Digial Learning Resources'
[21:19:22,144][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 04/21 bp update OK in 0.073s | 12.tbp | '2 - Printing'
[21:19:22,145][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,146][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,146][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,180][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,183][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 05/21 bp update OK in 0.038s | 15.tbp | '2- ID CARD'
[21:19:22,184][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,197][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): send_command:
[21:19:22,198][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 06/21 bp update OK in 0.111s | 13.tbp | '2 - Misc'
[21:19:22,200][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,205][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): send_command:
[21:19:22,207][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 07/21 bp update OK in 0.063s | 14.tbp | '2 - Research Information Systems'
[21:19:22,210][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,211][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): send_command:
[21:19:22,211][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 08/21 bp update OK in 0.013s | 17.tbp | '2 - Checkin'
[21:19:22,212][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,242][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,244][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 09/21 bp update OK in 0.061s | 16.tbp | '1 - Staff Applications Exodus and Containers'
[21:19:22,245][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_service_less_stats: dab2c, b20ac, 3126b, 90117
Use of uninitialized value in hash element at /usr/share/thruk/lib/Thruk/Base.pm line 267.
Use of uninitialized value in hash element at /usr/share/thruk/lib/Thruk/Base.pm line 267.
[21:19:22,250][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): send_command:
[21:19:22,252][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): send_command:
[21:19:22,254][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 10/21 bp update OK in 0.046s | 18.tbp | '1 - Filestore'
[21:19:22,255][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,259][ERROR][...b/Thruk/Utils/CLI/Bp.pm:213][thr8] bp '1 - ASK' failed: Not a HASH reference at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2376.
[21:19:22,260][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 11/21 bp update failed in 0.048s | 19.tbp | '1 - ASK'
[21:19:22,261][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,294][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_host_less_stats: dab2c, b20ac, 3126b, 90117
[21:19:22,300][ERROR][...b/Thruk/Utils/CLI/Bp.pm:213][thr7] bp 'Infrastructure SIEM' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2171.
[21:19:22,301][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 12/21 bp update failed in 0.047s | 20.tbp | 'Infrastructure SIEM'
[21:19:22,304][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,305][ERROR][...b/Thruk/Utils/CLI/Bp.pm:213][thr8] bp 'Infrastructure SQL' failed: Not a HASH reference at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2383.
[21:19:22,306][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 13/21 bp update failed in 0.045s | 21.tbp | 'Infrastructure SQL'
[21:19:22,308][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_hosts: dab2c, b20ac, 3126b, 90117
[21:19:22,321][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,323][ERROR][...b/Thruk/Utils/CLI/Bp.pm:213][thr6] bp 'Infrastructure Load Balancers' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2171.
[21:19:22,323][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 14/21 bp update failed in 0.079s | 2.tbp | 'Infrastructure Load Balancers'
[21:19:22,324][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
[21:19:22,338][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,341][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,368][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): send_command:
[21:19:22,370][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 15/21 bp update OK in 0.064s | 4.tbp | '1 - Student Centre'
[21:19:22,371][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,380][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): send_command:
[21:19:22,383][ERROR][...b/Thruk/Utils/CLI/Bp.pm:213][thr6] bp '1 - Studynet' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/lib/Thruk/Backend/Manager.pm line 2171.
[21:19:22,383][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 16/21 bp update failed in 0.059s | 5.tbp | '1 - Studynet'
[21:19:22,384][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,383][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 17/21 bp update OK in 0.082s | 3.tbp | '1 - Login / IDM'
[21:19:22,385][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,401][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,402][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 18/21 bp update OK in 0.019s | 7.tbp | '2 - Accommodation'
[21:19:22,403][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): get_services: dab2c, b20ac, 3126b, 90117
[21:19:22,403][DEBUG][...ruk/Backend/Manager.pm:1571][thr8] livestatus (no lmd): send_command:
[21:19:22,404][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 19/21 bp update OK in 0.034s | 6.tbp | '1 - Student Record System'
[21:19:22,418][DEBUG][...ruk/Backend/Manager.pm:1571][thr6] livestatus (no lmd): send_command:
[21:19:22,420][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 20/21 bp update OK in 0.017s | 9.tbp | '1 - Timetabling and Studyrooms'
[21:19:22,450][DEBUG][...ruk/Backend/Manager.pm:1571][thr7] livestatus (no lmd): send_command:
[21:19:22,452][DEBUG][...b/Thruk/Utils/CLI/Bp.pm:222] 21/21 bp update OK in 0.068s | 8.tbp | '1 - VPN Services'
[21:19:22,455][DEBUG][lib/Thruk/Utils/CLI.pm:353 ] _run(): building local response done (exitcode: 0, duration: 0.640s)
[21:19:22,456][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] +----------------------------------------------------------------------------------+-------------+
[21:19:22,456][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | total time | 0.64153s |
[21:19:22,456][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] +----------------------------------------------------------------------------------+-------------+
[21:19:22,456][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _dispatcher: http://localhost/thruk/cgi-bin/remote.cgi | 0.00199s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | time: Tue Jul 25 21:19:21 2023 - host: vuh-lb-mgp009.herts.ac.uk - pid: 9881 | |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | Root begin | 0.00070s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | Thruk::Controller::remote::index | 0.00012s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | finalize_request | 0.00003s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | User::set_dynamic_attributes | 0.00001s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _run_command_action() | 0.63950s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | AddDefaults::add_defaults(CACHED_DEFAULT) | 0.04652s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | AddDefaults::get_proc_info | 0.04268s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | AddDefaults::set_processinfo(CACHED_DEFAULT) | 0.04240s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | AddDefaults::set_processinfo fetch | 0.04213s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _do_on_peers(get_processinfo) | 0.04127s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _get_result_parallel(328c5,dab2c,b20ac,3126b,90117) | 0.04096s |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | slowest site: 3126b -> 0.0377 | |
[21:19:22,457][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _merge_answer() | 0.00009s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | User::set_dynamic_attributes | 0.00001s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | Utils::Menu::read_navigation() | 0.00282s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _cmd_bp(bp) | 0.59132s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _do_on_peers(get_hosts) | 0.03658s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _get_result_parallel(dab2c,b20ac,3126b,90117) | 0.03622s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | slowest site: 3126b -> 0.0345 | |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | _merge_answer() | 0.00005s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] +----------------------------------------------------------------------------------+-------------+
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | total time waited on backends | 0.00000s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | total time waited on rendering | 0.00000s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] | total time | 0.64153s |
[21:19:22,458][DEBUG][lib/Thruk/Utils/CLI.pm:356 ] +----------------------------------------------------------------------------------+-------------+
[21:19:22,458][INFO][lib/Thruk/Utils/CLI.pm:372 ] OK - 21 business processes updated in 0.56s (37.2/s)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have a centralised thruk depending on 4 backends.
I have just about 20 Business Processes. I'm using this for the first time recently so could well have fouled up here.
The cron job:
Will fail unless I use "thruk bp all -w 1" so one worker.
So I have upped the number of CPU's thinking this would fix it. I now have 4 vcpu's from 2 vcpu's and its still the same.
Here is part of the output.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
Use of uninitialized value in list assignment at /usr/share/thruk/lib/Thruk/Base.pm line 270.
[ERROR] bp 'Infrastructure SIEM' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/share/thruk/l
ib/Thruk/Backend/Manager.pm line 2171.
[ERROR] bp 'Infrastructure Load Balancers' failed: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/sha
re/thruk/lib/Thruk/Backend/Manager.pm line 2171.
It only appeared after about 19 Business Processes so it is to do with the number of objects. But I put 20+ dummy ones on another host and it didn't happen so its something to do with how many objects there are.
I can leave it as 1 worker, I can live with that for sure, but thought I'd pass this on for consideration.
Thruk Version
thruk-3.08.3-35.1.x86_64
To Reproduce
I have tarred up the /etc/thruk/bp/*.tbp file to the backend host which actually has nearly all these checks.
The host with the issue is the central service - so relies on feeds from backends.
When I tar up and check ... it works.
/bin/bash -l -c '/usr/bin/thruk bp all'
OK - 21 business processes updated in 1.32s (15.9/s)
How big are my business processes? I can see 188 labels in the .tbp config files.
grep label *.tbp | wc -l
188
Expected behavior
Well with "-w 1" that looks normal. It's quiet.
/bin/bash -l -c '/usr/bin/thruk bp all -w 1'
OK - 21 business processes updated in 1.32s (15.9/s)
Screenshots
Not necessary really.
Desktop (please complete the following information):
It's not a GUI issue, its a backend issue.
Additional context
Well I offer it for consideration. Thank-you
The text was updated successfully, but these errors were encountered: