Date: Tue, 27 May 2008 17:36:31 +0100 From: "Catalin Miclaus" <catalin@starcomms.com> To: "Jun Kuriyama" <kuriyama@FreeBSD.org> Cc: freebsd-ports-bugs@FreeBSD.org Subject: RE: ports/119974: net-mgmt/net-snmp problem on SPARC-64 Message-ID: <3A0AA7018522134597ED63B3B794C92A01FE96C4@STA-HQ-S001.starcomms.local> In-Reply-To: <7mhcckr78g.wl%kuriyama@s2factory.co.jp> References: <7mhcckr78g.wl%kuriyama@s2factory.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Jun, net-snmp-5.4.1_4 is compiling and installing fine with default options on SPARC64. However, the CPU is going to 95-100% after starting net-snmp daemon. Usual CPU load of this machine is around 1-2%. last pid: 23391; load averages: 1.02, 1.06, 1.03 up 175+00:22:17 17:20:43 36 processes: 2 running, 34 sleeping CPU states: 3.3% user, 0.0% nice, 96.5% system, 0.2% interrupt, 0.0% idle Mem: 319M Active, 496M Inact, 64M Wired, 54M Cache, 111M Buf, 2576K Free Swap: 2024M Total, 2024M Free PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 17963 root 1 132 0 273M 32800K RUN 211:16 95.90% snmpd 20038 root 1 99 0 23208K 7720K select 0:56 0.15% snmpd 331 _pflogd 1 -58 0 5192K 1432K bpf 28:05 0.00% pflogd 709 root 1 8 0 6120K 2216K nanslp 15:35 0.00% icpld 687 root 1 96 0 9848K 3416K select 14:18 0.00% sendmail 19944 root 1 98 0 51400K 8184K select 1:59 0.00% mtr 65914 root 1 8 0 3920K 1264K nanslp 1:38 0.00% cron 512 root 1 96 0 3872K 1136K select 1:26 0.00% syslogd 666 root 1 96 0 2744K 984K select 0:45 0.00% usbd 756 root 1 8 0 3832K 1048K nanslp 0:43 0.00% getty 757 root 1 8 0 3832K 1048K nanslp 0:41 0.00% getty 751 root 1 8 0 3832K 1048K nanslp 0:40 0.00% getty 753 root 1 8 0 3832K 1048K nanslp 0:37 0.00% getty 758 root 1 8 0 3832K 1048K nanslp 0:37 0.00% getty 754 root 1 8 0 3832K 1048K nanslp 0:37 0.00% getty 752 root 1 8 0 3832K 1048K nanslp 0:34 0.00% getty 755 root 1 8 0 3832K 1048K nanslp 0:33 0.00% getty 34997 bind 1 96 0 21248K 17584K select 0:33 0.00% named 761 root 1 8 0 3832K 1048K nanslp 0:33 0.00% getty 692 smmsp 1 20 0 9712K 3344K pause 0:27 0.00% sendmail 18285 catalin 1 96 0 31112K 3936K select 0:16 0.00% sshd 23055 root 1 8 0 6120K 2224K nanslp 0:03 0.00% icpld 18289 root 1 8 0 8160K 2624K wait 0:00 0.00% bash 18282 root 1 4 0 31136K 3832K sbwait 0:00 0.00% sshd 23352 root 1 96 0 7184K 2104K RUN 0:00 0.00% top 18288 root 1 8 0 18688K 1760K wait 0:00 0.00% su 18286 catalin 1 8 0 8112K 2584K wait 0:00 0.00% bash 327 root 1 4 0 5128K 1416K sbwait 0:00 0.00% pflogd 10507 root 1 96 0 20120K 3416K select 0:00 0.00% sshd 19941 root 1 8 0 5416K 1656K wait 0:00 0.00% sh 759 root 1 5 0 3832K 1016K ttyin 0:00 0.00% getty 19945 root 1 -8 0 2816K 984K piperd 0:00 0.00% mail 760 root 1 5 0 3832K 992K ttydcd 0:00 0.00% getty 456 root 1 99 0 696K 472K select 0:00 0.00% devd 19937 root 1 -8 0 3920K 1360K piperd 0:00 0.00% cron 116 root 1 20 0 2672K 832K pause 0:00 0.00% adjkerntz I'm using below /etc/rc.conf configuration for snmp: snmpd_enable=3D"YES" snmpd_flags=3D"" snmpd_pidfile=3D"/var/run/snmpd.pid" snmpd_conffile=3D"/usr/local/etc/snmpd.conf" And this is my /usr/local/etc/snmpd.conf: rocommunity public Let me know if I should disable SNMP queries to the server before running net-snmp with "-D all" flag. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. Email : catalin@starcomms.com Web : www.starcomms.com -----Original Message----- From: Jun Kuriyama [mailto:kuriyama@FreeBSD.org]=20 Sent: Tuesday, May 27, 2008 12:11 AM To: Catalin Miclaus; freebsd-ports-bugs@FreeBSD.org; kuriyama@FreeBSD.org Subject: Re: ports/119974: net-mgmt/net-snmp problem on SPARC-64 Hi, If you have still problem with recent version of net-snmp (5.4.1), please send output of snmpd with '-D ALL' flag to me. --=20 Jun Kuriyama <kuriyama@FreeBSD.org> // FreeBSD Project
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A0AA7018522134597ED63B3B794C92A01FE96C4>