centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
575 stars 240 forks source link

Centreon Broker configuration #6015

Open florian-asche opened 6 years ago

florian-asche commented 6 years ago

Hi,

i dont want to have big queue in (centreon broker) memory, so i changed the configuration "event_queue_max_size" in webfrontend. But i cannot set numbers lower than 10,000.

Is there a reason?

lpinsivy commented 6 years ago

Hi,

Centreon Broker developers indicate that defined that 10000 lower limit is correct.

A pull request is in progress: #6013

Why do you need to define a lower value than 10000? What is your hardware resources?

Regards,

florian-asche commented 6 years ago

If you shutdown the system for 1hour and then start it again, it need to work with very much data. That data is in memory.

If you then see you did some error, for example wrong ip-adress in config,you want to change some config then, you need to wait (timeout in webfrontend) until engine can restart. It want to work that data first, and then restart.

This issue also exist if the environment is bigger. If you have for example 500 servers with each 20 services.

lpinsivy commented 6 years ago

I understand but if you change the value to lower than 10000, the process to insert data from temporary files will take more time. Indeed, this value impact the size of SQL bulk block.