Bad performance of my cacti server. What is possible cause ?
Moderators: Developers, Moderators
Bad performance of my cacti server. What is possible cause ?
Config :
cacti-0.8.6g
php 5.1.1
mysql 4.1.16
rrdtool-1.2.11
NET-snmp 5.2.2
P3 1GHZ
256 MB SDRAM
HDD 36 GB
I poll 20 devices with 66 data sources.
My crontab runs poller (cmd.php) every minute. All steps are defined as 60s in cacti.The CPU load of my server climbs to nearly 100%, and free memory is 0MB.
If i define polling every 5 min in the crontab, things looks OK (CPU 40%).
I've defined "Maximum Concurrent Poller Processes" = 3 but it appears there is no effect of the performance of the server.
Has someone an idea to help me ????
cacti-0.8.6g
php 5.1.1
mysql 4.1.16
rrdtool-1.2.11
NET-snmp 5.2.2
P3 1GHZ
256 MB SDRAM
HDD 36 GB
I poll 20 devices with 66 data sources.
My crontab runs poller (cmd.php) every minute. All steps are defined as 60s in cacti.The CPU load of my server climbs to nearly 100%, and free memory is 0MB.
If i define polling every 5 min in the crontab, things looks OK (CPU 40%).
I've defined "Maximum Concurrent Poller Processes" = 3 but it appears there is no effect of the performance of the server.
Has someone an idea to help me ????
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Is polling finishing in 60 seconds?
Are you using cactid? If not, you should.
Are you using cactid? If not, you should.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You have to download and compile cactid.
If your polling interval is 60 seconds and you aren't completing your polling in 60 seconds or less, you will have problems. Which is more than apparent right now.
Move to cactid, it should help the situation. Problem is, as soon as you move forward with adding more hosts, you maybe in the same situation.
If your polling interval is 60 seconds and you aren't completing your polling in 60 seconds or less, you will have problems. Which is more than apparent right now.
Move to cactid, it should help the situation. Problem is, as soon as you move forward with adding more hosts, you maybe in the same situation.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You still run poller.php....
I assumed you where already doing 1 minute intervals.
If that is the case, you need to alter your settings to use cactid. Paths and Poller are the tabs of intrest.
I assumed you where already doing 1 minute intervals.
If that is the case, you need to alter your settings to use cactid. Paths and Poller are the tabs of intrest.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Nope... wrong....
You keep poller.php....
Poller.php calls what ever collector you select in your cacti settings.
Put poller.php back and got look at your cacti settings in the web interface.
You keep poller.php....
Poller.php calls what ever collector you select in your cacti settings.
Put poller.php back and got look at your cacti settings in the web interface.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
How many processors do you have?
2 threads per processor is what I suggest.
And yes, I just woke up.
2 threads per processor is what I suggest.
And yes, I just woke up.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 1 guest