FreeBSD 7.0-Stable Crashed with Cacti
Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.2% user, 0.0% nice, 1.5% system, 0.0% interrupt, 98.3% idle Mem: 736M Active, 125M Inact, 127M Wired, 300K Cache, 111M Buf, 3776K Free Swap: 2014M Total, 2014M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1054 root1 760 118M 94916K pfault 1 0:07 0.00% php 1382 root1 760 110M 87224K pfault 1 0:07 0.00% php 1740 root1 760 103M 75576K pfault 0 0:06 0.00% php 2120 root1 760 97160K 74056K pfault 1 0:06 0.00% php 2451 root1 760 91016K 79316K pfault 1 0:05 0.00% php 2818 root1 760 83848K 72324K pfault 1 0:05 0.00% php 3147 root1 760 76680K 64856K pfault 1 0:04 0.00% php 3511 root1 760 69512K 57836K pfault 1 0:04 0.00% php 3823 root1 760 62344K 50880K pfault 1 0:03 0.00% php 4170 root1 760 55176K 43568K pfault 0 0:03 0.00% php 4513 root1 760 48008K 36480K pfault 1 0:02 0.00% php 4847 root1 760 40840K 29452K pfault 1 0:02 0.00% php 5180 root1 760 33672K 22664K pfault 0 0:01 0.00% php 5810 root1 -8 19 11696K 9344K piperd 1 0:01 0.00% perl 5534 root1 760 26504K 15612K pfault 0 0:01 0.00% php 5811 root1 -8 19 11876K 9488K piperd 1 0:01 0.00% perl 5812 root1 -8 19 11676K 9304K piperd 1 0:01 0.00% perl 1651 root1 440 8400K 2440K select 1 0:01 0.00% sshd 839 root1 440 21536K 9152K select 0 0:00 0.00% httpd 747 root1 440 7372K 4996K select 0 0:00 0.00% perl 658 root1 440 8808K 4096K select 1 0:00 0.00% snmpd 5814 root1 760 10588K 4016K pfault 1 0:00 0.00% php 1655 root1 80 4404K 1600K wait 1 0:00 0.00% bash 746 mysql 24 40 70884K 21936K sbwait 1 0:00 0.00% mysqld 858 root1 440 5864K 2152K select 1 0:00 0.00% sendmail 5835 root1 440 3504K 1520K CPU0 0 0:00 0.00% top 652 root1 440 7824K 3048K select 1 0:00 0.00% snmptrapd 5809 root1 80 3472K 1008K wait 0 0:00 0.00% sh 5808 root1 80 3472K 1008K wait 1 0:00 0.00% sh 870 root1 -160 3200K 1072K vmwait 0 0:00 0.00% cron 5827 root1 76 19 3204K 1480K pfault 0 0:00 0.00% rateup 5828 root1 76 19 3204K 1472K pfault 0 0:00 0.00% rateup 5819 root1 -80 3200K 1108K piperd 0 0:00 0.00% cron 5820 root1 80 3472K 1004K wait 0 0:00 0.00% sh 577 root1 440 3172K 1008K select 1 0:00 0.00% syslogd 5823 root1 760 10588K 4112K pfault 1 0:00 0.00% php 5829 root1 76 19 3204K 1332K pfault 1 0:00 0.00% rateup We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.0-Stable Crashed by Cacti
Dear all, we faced problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.2% user, 0.0% nice, 1.5% system, 0.0% interrupt, 98.3% idle Mem: 736M Active, 125M Inact, 127M Wired, 300K Cache, 111M Buf, 3776K Free Swap: 2014M Total, 2014M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1054 root1 760 118M 94916K pfault 1 0:07 0.00% php 1382 root1 760 110M 87224K pfault 1 0:07 0.00% php 1740 root1 760 103M 75576K pfault 0 0:06 0.00% php 2120 root1 760 97160K 74056K pfault 1 0:06 0.00% php 2451 root1 760 91016K 79316K pfault 1 0:05 0.00% php 2818 root1 760 83848K 72324K pfault 1 0:05 0.00% php 3147 root1 760 76680K 64856K pfault 1 0:04 0.00% php 3511 root1 760 69512K 57836K pfault 1 0:04 0.00% php 3823 root1 760 62344K 50880K pfault 1 0:03 0.00% php 4170 root1 760 55176K 43568K pfault 0 0:03 0.00% php 4513 root1 760 48008K 36480K pfault 1 0:02 0.00% php 4847 root1 760 40840K 29452K pfault 1 0:02 0.00% php 5180 root1 760 33672K 22664K pfault 0 0:01 0.00% php 5810 root1 -8 19 11696K 9344K piperd 1 0:01 0.00% perl 5534 root1 760 26504K 15612K pfault 0 0:01 0.00% php 5811 root1 -8 19 11876K 9488K piperd 1 0:01 0.00% perl 5812 root1 -8 19 11676K 9304K piperd 1 0:01 0.00% perl 1651 root1 440 8400K 2440K select 1 0:01 0.00% sshd 839 root1 440 21536K 9152K select 0 0:00 0.00% httpd 747 root1 440 7372K 4996K select 0 0:00 0.00% perl 658 root1 440 8808K 4096K select 1 0:00 0.00% snmpd 5814 root1 760 10588K 4016K pfault 1 0:00 0.00% php 1655 root1 80 4404K 1600K wait 1 0:00 0.00% bash 746 mysql 24 40 70884K 21936K sbwait 1 0:00 0.00% mysqld 858 root1 440 5864K 2152K select 1 0:00 0.00% sendmail 5835 root1 440 3504K 1520K CPU0 0 0:00 0.00% top 652 root1 440 7824K 3048K select 1 0:00 0.00% snmptrapd 5809 root1 80 3472K 1008K wait 0 0:00 0.00% sh 5808 root1 80 3472K 1008K wait 1 0:00 0.00% sh 870 root1 -160 3200K 1072K vmwait 0 0:00 0.00% cron 5827 root1 76 19 3204K 1480K pfault 0 0:00 0.00% rateup 5828 root1 76 19 3204K 1472K pfault 0 0:00 0.00% rateup 5819 root1 -80 3200K 1108K piperd 0 0:00 0.00% cron 5820 root1 80 3472K 1004K wait 0 0:00 0.00% sh 577 root1 440 3172K 1008K select 1 0:00 0.00% syslogd 5823 root1 760 10588K 4112K pfault 1 0:00 0.00% php 5829 root1 76 19 3204K 1332K pfault 1 0:00 0.00% rateup all cacti process just eat my memory and cpu, after that my server crashed and should be reboot. How to fix this problem? Thank you Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0-Stable Crashed with Cacti
On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen kal...@muliahost.com wrote: Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: - snip - We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen Cacti runs the poller script using php. It looks like the poller script is taking too long to finish, and it ends up having several instances running at the same time. I'd recommend that you look into the 'Spine' poller (formally known as Cactid). It's a threading C program, which is _MUCH_ faster than php will ever be. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0-Stable Crashed with Cacti
On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen kal...@muliahost.com wrote: Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: - snip - We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen Cacti runs the poller script using php. It looks like the poller script is taking too long to finish, and it ends up having several instances running at the same time. I'd recommend that you look into the 'Spine' poller (formally known as Cactid). It's a threading C program, which is _MUCH_ faster than php will ever be. ___ Thank you for reply. I've change to spine poller. I'll try to update if we face same problem. thank's Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org