Cacti on DEBIAN - DEBIAN freeze after 5 or 6 days.
Moderators: Developers, Moderators
Cacti on DEBIAN - DEBIAN freeze after 5 or 6 days.
Hi,
Apologies for my english...
I'm new cacti user and i start to thanks a lot the developpers projet for this full fonctionnal and large tool.
I've install cacti last version on DEBIAN 4.
I've 120 computers, 20 servers, 10 switch, 5 routers too manage.
All works good during 3-6 days ans then the system start to freeze. Sometime i can log in ssh to reboot, other time not. The apache server seems two work, mysql too, but there is not record in mysql ...
I've change some poller settings to see if it's better :
cron : 5 min
Maximum Concurrent Poller Processe : 50
Maximum Threads per Process : 20
Number of PHP Script Servers : 5
Script and Script Server Timeout Value : 25
The Maximum SNMP OID's Per SNMP Get Request : 10
I've Egroupware working on this machine (for testing).
The CPU seem to bee good and the memory too.
Can you propose me somes experiences infos ?.
Thank's for all.
Apologies for my english...
I'm new cacti user and i start to thanks a lot the developpers projet for this full fonctionnal and large tool.
I've install cacti last version on DEBIAN 4.
I've 120 computers, 20 servers, 10 switch, 5 routers too manage.
All works good during 3-6 days ans then the system start to freeze. Sometime i can log in ssh to reboot, other time not. The apache server seems two work, mysql too, but there is not record in mysql ...
I've change some poller settings to see if it's better :
cron : 5 min
Maximum Concurrent Poller Processe : 50
Maximum Threads per Process : 20
Number of PHP Script Servers : 5
Script and Script Server Timeout Value : 25
The Maximum SNMP OID's Per SNMP Get Request : 10
I've Egroupware working on this machine (for testing).
The CPU seem to bee good and the memory too.
Can you propose me somes experiences infos ?.
Thank's for all.
- sneakymonkey
- Posts: 10
- Joined: Tue Jan 22, 2008 1:59 pm
- Location: Birmingham, UK
Check your CACTI.log file size. if its over 2Gbytes then you will have problems. \www\htdocs\cacti\log
should truncate it to nothing. hope this helps!
Code: Select all
> cacti.log
- sneakymonkey
- Posts: 10
- Joined: Tue Jan 22, 2008 1:59 pm
- Location: Birmingham, UK
my var/log/cacti.log
On all poller query i've this log.
My file is 2Mo. I've clean it.
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[862] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[859] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[858] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[861] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[860] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[18] DS[1072] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[18] DS[1044] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[18] DS[1044] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:06 PM - SYSTEM STATS: Time:5.2560 Method:cmd.php Processes:20 Threads:N/A Hosts:22 HostsPerProcess:2 DataSources:372 RRDsProcessed:199
Many thanks for your answers.
My file is 2Mo. I've clean it.
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[862] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[859] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[858] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[861] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[16] DS[860] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[18] DS[1072] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[18] DS[1044] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:05 PM - CMDPHP: Poller[0] Host[18] DS[1044] WARNING: Result from SNMP not valid. Partial Result:
09/29/2008 03:25:06 PM - SYSTEM STATS: Time:5.2560 Method:cmd.php Processes:20 Threads:N/A Hosts:22 HostsPerProcess:2 DataSources:372 RRDsProcessed:199
Many thanks for your answers.
- sneakymonkey
- Posts: 10
- Joined: Tue Jan 22, 2008 1:59 pm
- Location: Birmingham, UK
Try the following;
http://forums.cacti.net/viewtopic.php?t ... c&start=15
then
if theres a large amount then truncate the table.
see if that helps. it did for me!
http://forums.cacti.net/viewtopic.php?t ... c&start=15
Code: Select all
mysql -u root -p cactidb
Code: Select all
select count(*) from poller_output;
Code: Select all
truncate table poller_output;
Re: Cacti on DEBIAN - DEBIAN freeze after 5 or 6 days.
that's quite high valuezoummuoz wrote:
Maximum Concurrent Poller Processe : 50
Maximum Threads per Process : 20
try Poller Processess = 2 * number of cpu
threads per Process = doesn't matter if you don't use cactid (spine), but 2-4 are quite common.
I've reinstall my computer with debian 5
It stay online during 10 days and it die. I reboot it etc ...
Joint : screen capture of my graph.
Joint : screen capture of my poller config
joint : my.cnf
thanks for all
Merci pour votre intérêt et votre temps.
Joint : screen capture of my graph.
Joint : screen capture of my poller config
joint : my.cnf
thanks for all
Merci pour votre intérêt et votre temps.
- Attachments
-
- interface.jpg (72.46 KiB) Viewed 2817 times
-
- interface1.jpg (81.49 KiB) Viewed 2817 times
-
- my.txt
- (3.55 KiB) Downloaded 286 times
Who is online
Users browsing this forum: No registered users and 3 guests