Cacti slow after 0.8.7e update
Moderators: Developers, Moderators
Cacti slow after 0.8.7e update
Just ran about 3 months worth of system updates... haha. Apparently it also updated Cacti to 0.8.7e. I have each device set to display 50 graphs per page and it used to scream. Now the system slows to a crawl & my processor utilization is always at 100% when clicking from device to device.
I know it's possible something else caused this... there were so many updates I didn't review each one. Can someone recommend anything to help narrow it down?
Thanks!
I know it's possible something else caused this... there were so many updates I didn't review each one. Can someone recommend anything to help narrow it down?
Thanks!
What's up with this?
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7764 apache 20 0 15388 9368 8740 R 26.9 0.9 0:00.94 rrdtool
7766 apache 20 0 10396 4492 3856 R 26.6 0.4 0:00.80 rrdtool
7763 apache 20 0 10168 4020 3396 R 26.2 0.4 0:00.96 rrdtool
7767 apache 20 0 10396 4472 3848 R 26.2 0.4 0:00.79 rrdtool
7762 apache 20 0 10168 3968 3340 R 25.6 0.4 0:00.97 rrdtool
7765 apache 20 0 15388 6008 5380 R 25.2 0.6 0:00.82 rrdtool
3676 droeun 20 0 43928 21m 14m R 19.6 2.2 13:37.68 gnome-system-mo
2403 root 20 0 313m 34m 10m S 18.3 3.4 11:59.25 Xorg
2948 droeun 20 0 195m 69m 23m S 4.7 6.9 3:02.85 firefox
7746 root 20 0 2556 1104 840 R 0.7 0.1 0:00.15 top
620 root 15 -5 0 0 0 S 0.3 0.0 0:01.31 kjournald
1651 root 15 -5 0 0 0 R 0.3 0.0 0:02.83 kondemand/0
7481 droeun 20 0 74088 20m 12m S 0.3 2.1 0:04.22 gnome-terminal
7506 droeun 20 0 2568 1112 840 S 0.3 0.1 0:01.97 top
1 root 20 0 2012 780 572 S 0.0 0.1 0:00.87 init
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7764 apache 20 0 15388 9368 8740 R 26.9 0.9 0:00.94 rrdtool
7766 apache 20 0 10396 4492 3856 R 26.6 0.4 0:00.80 rrdtool
7763 apache 20 0 10168 4020 3396 R 26.2 0.4 0:00.96 rrdtool
7767 apache 20 0 10396 4472 3848 R 26.2 0.4 0:00.79 rrdtool
7762 apache 20 0 10168 3968 3340 R 25.6 0.4 0:00.97 rrdtool
7765 apache 20 0 15388 6008 5380 R 25.2 0.6 0:00.82 rrdtool
3676 droeun 20 0 43928 21m 14m R 19.6 2.2 13:37.68 gnome-system-mo
2403 root 20 0 313m 34m 10m S 18.3 3.4 11:59.25 Xorg
2948 droeun 20 0 195m 69m 23m S 4.7 6.9 3:02.85 firefox
7746 root 20 0 2556 1104 840 R 0.7 0.1 0:00.15 top
620 root 15 -5 0 0 0 S 0.3 0.0 0:01.31 kjournald
1651 root 15 -5 0 0 0 R 0.3 0.0 0:02.83 kondemand/0
7481 droeun 20 0 74088 20m 12m S 0.3 2.1 0:04.22 gnome-terminal
7506 droeun 20 0 2568 1112 840 S 0.3 0.1 0:01.97 top
1 root 20 0 2012 780 572 S 0.0 0.1 0:00.87 init
I have exact same problem. All 4 CPU cores are going up to 100% for a minute when I try to view graphs. I'm using rrdtool 1.3.8. When I try to run rrdtool graph command from console it takes no time to give me the result.
PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEIN
3589 rrdtool 100.3 00:07.94 1/1 0 21 419 10M 44M 29M+ 27M 2487M 510 2107 running 70 129252+ 1120 466 215 5115 281 1799+ 0
Now i noticed about the FAULTS column - its going up to 129252+ here.
PID COMMAND %CPU TIME #TH #WQ #POR #MREG RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE UID FAULTS COW MSGSENT MSGRECV SYSBSD SYSMACH CSW PAGEIN
3589 rrdtool 100.3 00:07.94 1/1 0 21 419 10M 44M 29M+ 27M 2487M 510 2107 running 70 129252+ 1120 466 215 5115 281 1799+ 0
Now i noticed about the FAULTS column - its going up to 129252+ here.
Thanks for answer! Unfortunately I dont have a chance to downgrade rrdtool. But I figured that this issue is really not a cacti and even not rrdtool related bug.
Running 'rrdtool graph....' from root console: less than a second
Running 'rrdtool graph...' from apache console: less than a second
Running 'rrdtool graph...' inside a php script using exec: 1 minute
Running 'rrdtool graph....' from root console: less than a second
Running 'rrdtool graph...' from apache console: less than a second
Running 'rrdtool graph...' inside a php script using exec: 1 minute
I think you are right.delson wrote:But if i run this php script from command line instead of from apache server - it takes less than a second. Seems like its apache + php related bug.
Same problem here (graph generation takes too long)
cacti v0.8.7e
php v5.3.1
apache v2.2.14
snmp v5.4.2.1
rrdtool v1.3.8
After i downgraded to php v5.2 everything runs normal and fast againskysurfer wrote:I think you are right.delson wrote:But if i run this php script from command line instead of from apache server - it takes less than a second. Seems like its apache + php related bug.
Same problem here (graph generation takes too long)
cacti v0.8.7e
php v5.3.1
apache v2.2.14
snmp v5.4.2.1
rrdtool v1.3.8
Who is online
Users browsing this forum: No registered users and 1 guest