++ Some graphs not showing/Segmentation Fault ++
Moderators: Developers, Moderators
++ Some graphs not showing/Segmentation Fault ++
I have problem about graph, sometime some no data on graph, I found log as below.
SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine thread)
POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
SYSTEM STATS: Time:299.2490 Method:spine Processes:8 Threads:16 Hosts:422 HostsPerP rocess:53 DataSourc es:3175 RRDsProce ssed:1440
SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine thread)
POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
SYSTEM STATS: Time:299.2490 Method:spine Processes:8 Threads:16 Hosts:422 HostsPerP rocess:53 DataSourc es:3175 RRDsProce ssed:1440
Last edited by maiden on Wed Mar 10, 2010 11:07 am, edited 6 times in total.
Thank for your suggestion.mcutting wrote:Processes:8 Threads:16 = too high. Processes should be 2 x the amount of cores you have
Try with Processes:2 and around 10 threads, and see where that leads.
My server:
Processes 4 Cores Intel(R) Xeon(R) CPU X3370 @ 3.00GHz
Memory 4G
And I try with processes 2 and 10 thread but log still has Spine Encountered a Segmentation Fault
help me plz.
Last edited by maiden on Mon Mar 08, 2010 12:05 am, edited 1 time in total.
I just install first times, plz suggest to me.gandalf wrote:Were did you get spine from? Compiled it on your own?
R.
What should I do? some links invalid data.
Last edited by maiden on Mon Mar 08, 2010 12:06 am, edited 2 times in total.
I already compile and found this log, I don't know that was cause of error or not.gandalf wrote:Please compile spine on your platform and retry
R.
configure: error: Cannot find MySQL headers. Use --with-mysql= to specify non-default path.
After that I found your suggestion in other forum for this error should be install mysql-devel, I already install it and the log in attach file. Thanks.
When I restart mysqld, why I saw log as below, (Iused spine not cmd.php)
- Attachments
-
- spine2.txt
- (15.91 KiB) Downloaded 264 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
How many connections for your database. You are a bit abusive. Too many processes + theads.
Equation is:
Max MySQL Connections = some value larger than:
Processes * (Threads + Script Servers) + 1
Therefore,
10 Script Servers
10 Processes
20 Threads
Results in:
10 * (30) + 1 == 301 Just to poll. Only a Cacti system with > 10k devices should require something like that, and only on some pretty fast hardware where the DB is separate from the poller.
TheWitness
Equation is:
Max MySQL Connections = some value larger than:
Processes * (Threads + Script Servers) + 1
Therefore,
10 Script Servers
10 Processes
20 Threads
Results in:
10 * (30) + 1 == 301 Just to poll. Only a Cacti system with > 10k devices should require something like that, and only on some pretty fast hardware where the DB is separate from the poller.
TheWitness
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?
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?
Dear TheWitnessTheWitness wrote:How many connections for your database. You are a bit abusive. Too many processes + theads.
Equation is:
Max MySQL Connections = some value larger than:
Processes * (Threads + Script Servers) + 1
Therefore,
10 Script Servers
10 Processes
20 Threads
Results in:
10 * (30) + 1 == 301 Just to poll. Only a Cacti system with > 10k devices should require something like that, and only on some pretty fast hardware where the DB is separate from the poller.
TheWitness
I changed poller information to 5 script servers, 6 processes and 10 threads, but I still found log as below, how to fix this problem.
thank you.
Last edited by maiden on Mon Mar 08, 2010 12:07 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Run a test from the command line:
TheWitness
Code: Select all
./spine -R -V 5
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?
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?
Hi TheWitnessTheWitness wrote:Run a test from the command line:
TheWitnessCode: Select all
./spine -R -V 5
The result after run cmd in attach file.
Thank you.
- Attachments
-
- spine-v5.txt
- (569.28 KiB) Downloaded 111 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
ok, now the following:
TheWitness
Code: Select all
./spine -R -V 5 -f 362 -l 362
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?
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?
Now I already run that cmd.TheWitness wrote:ok, now the following:
TheWitnessCode: Select all
./spine -R -V 5 -f 362 -l 362
Thank you.
I would like to know about calculation appropriately of the parameter for tunning cacti such as
1.Maximum Concurrent Poller Processes (as I know=Core CPU*2)
2.Maximum Threads per Process
3.Number of PHP Script Servers
4.Script and Script Server Timeout Value
5.The Maximum SNMP OID's Per SNMP Get Request
6.Mysql max_connection (you told me=Processes * (Threads + Script Servers) + 1 )
Note :
1. CPU 4Core 3G
2. RAM 4G
3. HDD 300G
4. In the future 500-700 devices + (datasource about 3500+)
5. CentOS 5.4, spine 0.8.7e, cacti 0.8.7e,weathermap v0.97
!!! I confuse about poller because I used spine not cmd.php but, when I setting log in "DEVEL-Developer Debug level" the log as below: show poller cmd.php not spine. What is something wrong in my server ?The poller is wrong or not?
- Attachments
-
- spine-362.txt
- (4.78 KiB) Downloaded 103 times
Who is online
Users browsing this forum: No registered users and 1 guest