Cacti Graphs Brake Issue and Spine Error

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

Moderators: Developers, Moderators

Post Reply
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Cacti Graphs Brake Issue and Spine Error

Post by Babai123 »

Hi,

Currently i am using Cacti Version - 1.2.18 so i getting some Spine Error like "Spine times out while processing Thread lock".
So i have increased Max Connections to = 5000 In Sql DB, but still having cuts in graphs most of Devices.

We are monitoring 5k Devices and 15k graphs along with it.

How i resolve cacti graph brake issue and Spine Error.

Any Suggestion is Appreciable.
Attachments
Capture 7.PNG
Capture 7.PNG (4.41 KiB) Viewed 527 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Osiris »

Post some data from your cacti.log.
Before history, there was a paradise, now dust.
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Babai123 »

Hi ,

Please Check i have posted Cacti logs as below.
Attachments
Capture 8.PNG
Capture 8.PNG (108 KiB) Viewed 520 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Osiris »

For 6k hosts I would do 2 processes and 20 threads. How amy CPUs and memory does the server have?
Before history, there was a paradise, now dust.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Osiris »

You are essentially overloading MySQL and causing the collector to stall.
Before history, there was a paradise, now dust.
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Babai123 »

Hi,

As I checked Configuration In Our CPESERVER we are having Memory 32 GB, Disk is HDD. We are having Multiprocessor. CPU is Intel(R) Xeon(R) Gold 6230R CPU @ 2.10GHz .
Having 8 Core per Socket.

Is it okay? or need to upgrade Cacti Configuration.


Threads Running 50 and process - 8..

Need to change this Threads and process value, having cuts most of devices graphs.

Please help.
Attachments
Capture 9.PNG
Capture 9.PNG (5.55 KiB) Viewed 507 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Osiris »

Well, I've only been doing this for 20 years. If two by 20 is not finishing, then I would venture to say you are doing something wrong like running scripts instead of SNMP. Any time you start running scripts that take seconds to run, you are headed to failure.

If there are scripts then that collection is better done async.
Before history, there was a paradise, now dust.
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Babai123 »

Hi,

Will async work in cacti 1.2.18?

how to do async?

will server Reboot work?

Any suggestion is helpful.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Osiris »

You can do it via cron, or go full tilt like with the mikrotik plugin. Store the values in a table and then use the script server to get the values from the table. Zero latency.
Before history, there was a paradise, now dust.
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Babai123 »

Hi,

How to do it via Cron?
As other plugin will not Approve by our organization.

Please Suggest.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti Graphs Brake Issue and Spine Error

Post by Osiris »

Sounds like you don't know much about Linux systems administration or development. In that case, I would recommend you hire a consultant to fix this issue for you. There are a few members of the Cacti Group that do the things for hire.
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests