[SOLVED] Poller minimum connections

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
darkness4773
Posts: 18
Joined: Tue Sep 21, 2021 5:24 am

[SOLVED] Poller minimum connections

Post by darkness4773 »

Hi all!

I would like to know how to increase the Poller minimum connections, please.

In Cacti \ utilites \ System Utilities \ Poller Information \ Minimum Connections

Currently, this is what i have:
Current: 151, Min Required: 241
Assumes 100 spare connections for Web page users and other various connections.
The minimum required can vary greatly if there is heavy user Graph viewing activity.
Each browser tab can use upto 10 connections depending on the browser.

I'm not able to find were to set up this :(

I would like to increase the minimum connection to 1000

Thx for your help
Last edited by darkness4773 on Mon Nov 14, 2022 5:27 am, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Poller minimum connections

Post by TheWitness »

Edit /etc/my.cnf.d/server.cnf and set max_connections = 1000 and then restart MariaDB/MySQL.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
darkness4773
Posts: 18
Joined: Tue Sep 21, 2021 5:24 am

Re: Poller minimum connections

Post by darkness4773 »

Hi!

@TheWitness Thx for your help

I have added max_connections = 1000 in /etc/my.cnf.d/server.cnf
i have restarted mariadb
but CACTI doesn't take it
*********************************************************************************
server.cnf
**************************
[mysqld]
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
max_heap_table_size=255M
tmp_table_size=255M
innodb_file_format = Barracuda
max_allowed_packet = 16777777
max_connections = 1000
join_buffer_size = 510M
innodb_file_per_table = ON
innodb_large_prefix = 1
innodb_buffer_pool_size = 4000M
innodb_additional_mem_pool_size = 90M
innodb_flush_log_at_trx_commit = 2
log-error = /var/log/mysql/mysql-error.log
log-queries-not-using-indexes = 1
slow-query-log = 1
slow-query-log-file = /var/log/mysql/mysql-slow.log
***************************************************************************************
CACTI
***************
Current: 214, Min Required: 241
Assumes 100 spare connections for Web page users and other various connections.
The minimum required can vary greatly if there is heavy user Graph viewing activity.
Each browser tab can use upto 10 connections depending on the browser.



i have restarted my centos but no change
darkness4773
Posts: 18
Joined: Tue Sep 21, 2021 5:24 am

[solved] Re: Poller minimum connections

Post by darkness4773 »

i tried to set max_connections to 500 and it works.

so i guess max_connections depends on others parameters of CACTI.

i'm going to work on it

@TheWitness thx you for your help.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests