Re[4]: Problem with vlans on igb (was: fsck problem FreeBSD 8.3)
Здравствуйте, Damien. Вы писали 13 апреля 2012 г., 4:42:31: DF Yes, I suggest you try with -vlanhwtag as well. DF If that stops your unwanted reboots, you may want to remove it and see DF if the situation changes. igb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO ether a0:36:9f:00:66:a4 media: Ethernet autoselect (1000baseT full-duplex) status: active igb1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO ether a0:36:9f:00:66:a5 media: Ethernet autoselect (1000baseT full-duplex) status: active igb2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO ether a0:36:9f:00:66:a6 media: Ethernet autoselect (1000baseT full-duplex) status: active igb3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO ether a0:36:9f:00:66:a7 media: Ethernet autoselect (1000baseT full-duplex) status: active vlan407: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a4 inet netmask 0xfff8 broadcast media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 407 parent interface: igb0 vlan408: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a5 inet x netmask 0xfff8 broadcast xxx media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 408 parent interface: igb1 vlan492: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a5 inet netmask 0xfff8 broadcast x media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 492 parent interface: igb1 vlan70: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a7 inet netmask 0xfe00 broadcast xx media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 70 parent interface: igb3 vlan71: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a7 inet xxx netmask 0xfe00 broadcast xxx media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 71 parent interface: igb3 vlan72: flags=8002BROADCAST,MULTICAST metric 0 mtu 1500 ether 00:00:00:00:00:00 vlan: 0 parent interface: none vlan73: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a7 inet x netmask 0xfe00 broadcast x media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 73 parent interface: igb3 vlan74: flags=8002BROADCAST,MULTICAST metric 0 mtu 1500 ether 00:00:00:00:00:00 vlan: 0 parent interface: none vlan75: flags=8002BROADCAST,MULTICAST metric 0 mtu 1500 ether 00:00:00:00:00:00 vlan: 0 parent interface: none vlan76: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a7 inet xxx netmask 0xfe00 broadcast xxx media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 76 parent interface: igb3 vlan100: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan101: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 inet xx netmask 0xff00 broadcast xxx media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 101 parent interface: igb2 vlan102: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan103: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan104: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan105: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan106: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan107: flags=8803UP,BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 ether a0:36:9f:00:66:a6 vlan: 0 parent interface: none vlan108:
Re[2]: Problem with vlans on igb (was: fsck problem FreeBSD 8.3)
Now i350 is configured as: /etc/rc.conf ## TCP/IP ifconfig_igb0=-rxcsum -txcsum -lro -tso up ifconfig_igb1=-rxcsum -txcsum -lro -tso up ifconfig_igb2=-rxcsum -txcsum -lro -tso up ifconfig_igb3=-rxcsum -txcsum -lro -tso up # ifconfig -m igb1 igb1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=400b8VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWTSO capabilities=505bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,LRO,VLAN_HWFILTER,VLAN_HWTSO ether a0:36:9f:00:66:a5 media: Ethernet autoselect (1000baseT full-duplex) status: active supported media: media autoselect media 1000baseT media 1000baseT mediaopt full-duplex media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT/UTP mediaopt full-duplex media 10baseT/UTP #pciconf -lv igb0@pci0:1:0:0:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet Do I need to disable VLAN_HWCSUM, VLAN_HWFILTER,VLAN_HWTSO also? PS. I will try to disable those after the holidays DF Try disabling hardware VLAN tagging like so, I know we had problems a DF few years back with it. DF in /etc/rc.conf : DF ifconfig_igb2= -vlanhwtag -tso -lro up DF 2012/4/11 KES kes-...@yandex.ua: Пересылаемое сообщение 11.04.2012, 13:14, KES kes-...@yandex.ua: 10.04.2012, 08:50, Da Rock freebsd-questi...@herveybayaustralia.com.au: On 04/10/12 05:02, Коньков Евгений wrote: Yes, I have tested. and on this hardware on this OS it works from Fri Feb 24 17:07:48 UTC 2012 but last two days: reboot ~ Mon Apr 9 19:50 reboot ~ Mon Apr 9 18:30 reboot ~ Sun Apr 8 20:55 reboot ~ Sun Apr 8 20:00 reboot ~ Sun Apr 8 19:49 reboot ~ Sun Apr 8 17:43 reboot ~ Sun Apr 8 10:58 reboot ~ Sat Apr 7 21:13 reboot ~ Sat Apr 7 16:37 reboot ~ Sat Apr 7 16:07 I remembered. One thing changed. I add vlans to igb2, but no traffic flow on that devices yet. Perhaps you should test removing the vlans and see if things improve? I have removed vlans, two day server works without reboots Before this I have use: igb0, igb1, igb3 igb0@pci0:1:0:0: class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet igb1@pci0:1:0:1: class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet igb2@pci0:1:0:2: class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet igb3@pci0:1:0:3: class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet ifconfig_vlan100=inet 192.168.0.1 netmask 255.255.255.0 vlan 100 vlandev igb2 #nALL ifconfig_vlan101=inet 192.168.1.1 netmask 255.255.255.0 vlan 101 vlandev igb2 #n2 p24 ifconfig_vlan102=inet 192.168.2.1 netmask 255.255.255.0 vlan 102 vlandev igb2 #n1 p23 ifconfig_vlan103=inet 192.168.3.1 netmask 255.255.255.0 vlan 103 vlandev igb2 #n3 p22 ifconfig_vlan104=inet 192.168.4.1 netmask 255.255.255.0 vlan 104 vlandev igb2 #n7,9 p21 ifconfig_vlan105=inet 192.168.5.1 netmask 255.255.255.0 vlan 105 vlandev igb2 #n11 p20 ifconfig_vlan106=inet 192.168.6.1 netmask 255.255.255.0 vlan 106 vlandev igb2 #n13 p19 ifconfig_vlan107=inet 192.168.7.1 netmask 255.255.255.0 vlan 107 vlandev igb2 #n223 p18 ifconfig_vlan108=inet 192.168.8.1 netmask 255.255.255.0 vlan 108 vlandev igb2 #n225 p17 ifconfig_vlan109=inet 192.168.9.1 netmask 255.255.255.0 vlan 109 vlandev igb2 #n221 p16 ifconfig_vlan110=inet 192.168.10.1 netmask 255.255.255.0 vlan 110 vlandev igb2 #n229 p15 ifconfig_vlan111=inet 192.168.11.1 netmask 255.255.255.0 vlan 111 vlandev igb2 #n233 p14 ifconfig_vlan112=inet 192.168.12.1 netmask 255.255.255.0 vlan 112 vlandev igb2 #n231 p13 ifconfig_vlan113=inet 192.168.13.1 netmask 255.255.255.0 vlan 113 vlandev igb2 #n237 p12 ifconfig_vlan114=inet 192.168.14.1 netmask 255.255.255.0 vlan 114 vlandev igb2 #n424 p11 ifconfig_vlan115=inet 192.168.15.1 netmask 255.255.255.0 vlan 115 vlandev igb2 # PAP Nothing logged in /var
Re[2]: fsck problem FreeBSD 8.3
Здравствуйте, Eugene. Вы писали 10 апреля 2012 г., 0:39:52: EG 10.04.2012 01:36, Коньков Евгений пишет: Hi. Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Apr 9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK FLAG Apr 9 20:09:22 kernel: running manually: # fsck -y /dev/ad8s1e ** /dev/ad8s1e (NO WRITE) EG You cannot run fsck on mounted filesystem, unmount it first. Why not? fsck can do its job at background, on mounted FS. So I also can run it on mounted FS. in this case (as I have showed) it do not find any errors. In any case I have run fsck on this FS when it was dismounted. There is no any errors. I think here is only one problem. problem to 'RUN FAST FSCK' -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
Missing kernel configuration file(s)
I have upgrade src to Revision: 234068 # cd /usr/src # make -j 8 buildkernel KERNCONF=KES_KERN_v10 ERROR: Missing kernel configuration file(s) (KES_KERN_v10). *** Error code 1 1 error *** Error code 2 1 error # cd /usr/src/sys/amd64/conf # ls .cvsignore GENERIC.hints Makefile DEFAULTSKESOPTS LINTNOTES GENERIC KES_KERN_v10LINT-VIMAGE XENHVM I always do this steps, but now I get errors. I can not find what was changed. How I must compile my kernel now? ___ 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: Missing kernel configuration file(s)
КЕ I have upgrade src to Revision: 234068 КЕ # cd /usr/src КЕ # make -j 8 buildkernel KERNCONF=KES_KERN_v10 КЕ ERROR: Missing kernel configuration file(s) (KES_KERN_v10). КЕ *** Error code 1 КЕ 1 error КЕ *** Error code 2 КЕ 1 error КЕ # cd /usr/src/sys/amd64/conf КЕ # ls КЕ .cvsignore GENERIC.hints Makefile КЕ DEFAULTSKESOPTS LINTNOTES КЕ GENERIC KES_KERN_v10LINT-VIMAGE XENHVM КЕ I always do this steps, but now I get errors. КЕ I can not find what was changed. КЕ How I must compile my kernel now? Foget, that I install freebsd from CD with i386 so I need make -j 8 buildkernel KERNCONF=KES_KERN_v10 TARGET=amd64 Thank you ___ 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
fsck problem FreeBSD 8.3
Hi. Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Apr 9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK FLAG Apr 9 20:09:22 kernel: running manually: # fsck -y /dev/ad8s1e ** /dev/ad8s1e (NO WRITE) ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 99 files, 10 used, 506477 free (45 frags, 63304 blocks, 0.0% fragmentation) Server reboot two or three time per day # uname -a FreeBSD flux 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #3 r231881: Fri Feb 24 17:07:48 UTC 2012 adm@flux:/usr/obj/usr/src/sys/KES_KERN_v8 amd64 before this it works about month without problems /var/crash - empty, in /var/log/messages there is no any messages before crash. Can any help to fix problem? ___ 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[2]: fsck problem FreeBSD 8.3
Yes, I have tested. and on this hardware on this OS it works from Fri Feb 24 17:07:48 UTC 2012 but last two days: reboot ~ Mon Apr 9 19:50 reboot ~ Mon Apr 9 18:30 reboot ~ Sun Apr 8 20:55 reboot ~ Sun Apr 8 20:00 reboot ~ Sun Apr 8 19:49 reboot ~ Sun Apr 8 17:43 reboot ~ Sun Apr 8 10:58 reboot ~ Sat Apr 7 21:13 reboot ~ Sat Apr 7 16:37 reboot ~ Sat Apr 7 16:07 I remembered. One thing changed. I add vlans to igb2, but no traffic flow on that devices yet. Before this I have use: igb0, igb1, igb3 igb0@pci0:1:0:0:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet igb1@pci0:1:0:1:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet igb2@pci0:1:0:2:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet igb3@pci0:1:0:3:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet ifconfig_vlan100=inet 192.168.0.1 netmask 255.255.255.0 vlan 100 vlandev igb2 #nALL ifconfig_vlan101=inet 192.168.1.1 netmask 255.255.255.0 vlan 101 vlandev igb2 #n2 p24 ifconfig_vlan102=inet 192.168.2.1 netmask 255.255.255.0 vlan 102 vlandev igb2 #n1 p23 ifconfig_vlan103=inet 192.168.3.1 netmask 255.255.255.0 vlan 103 vlandev igb2 #n3 p22 ifconfig_vlan104=inet 192.168.4.1 netmask 255.255.255.0 vlan 104 vlandev igb2 #n7,9 p21 ifconfig_vlan105=inet 192.168.5.1 netmask 255.255.255.0 vlan 105 vlandev igb2 #n11 p20 ifconfig_vlan106=inet 192.168.6.1 netmask 255.255.255.0 vlan 106 vlandev igb2 #n13 p19 ifconfig_vlan107=inet 192.168.7.1 netmask 255.255.255.0 vlan 107 vlandev igb2 #n223 p18 ifconfig_vlan108=inet 192.168.8.1 netmask 255.255.255.0 vlan 108 vlandev igb2 #n225 p17 ifconfig_vlan109=inet 192.168.9.1 netmask 255.255.255.0 vlan 109 vlandev igb2 #n221 p16 ifconfig_vlan110=inet 192.168.10.1 netmask 255.255.255.0 vlan 110 vlandev igb2 #n229 p15 ifconfig_vlan111=inet 192.168.11.1 netmask 255.255.255.0 vlan 111 vlandev igb2 #n233 p14 ifconfig_vlan112=inet 192.168.12.1 netmask 255.255.255.0 vlan 112 vlandev igb2 #n231 p13 ifconfig_vlan113=inet 192.168.13.1 netmask 255.255.255.0 vlan 113 vlandev igb2 #n237 p12 ifconfig_vlan114=inet 192.168.14.1 netmask 255.255.255.0 vlan 114 vlandev igb2 #n424 p11 ifconfig_vlan115=inet 192.168.15.1 netmask 255.255.255.0 vlan 115 vlandev igb2 # PAP Nothing logged in /var/log/* or crashes that exist in /var/crash PAP would indicate to me some sort of hardware related problem. PAP Have you tested your hardware lately and know that it is in operational order? PAP ~Paul PAP On Mon, Apr 09, 2012 at 09:36:54PM +0300, ??? ??? wrote: Hi. Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: Apr 9 19:51:58 fsck: /dev/ad8s1e: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. Apr 9 19:51:58 fsck: /dev/ad8s1e: CANNOT SET FS_NEEDSFSCK FLAG Apr 9 20:09:22 kernel: running manually: # fsck -y /dev/ad8s1e ** /dev/ad8s1e (NO WRITE) ** Last Mounted on /tmp ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 99 files, 10 used, 506477 free (45 frags, 63304 blocks, 0.0% fragmentation) Server reboot two or three time per day # uname -a FreeBSD flux 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #3 r231881: Fri Feb 24 17:07:48 UTC 2012 adm@flux:/usr/obj/usr/src/sys/KES_KERN_v8 amd64 before this it works about month without problems /var/crash - empty, in /var/log/messages there is no any messages before crash. Can any help to fix problem? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: netisr traffic bad distribution between CPUs
Some more statistics http://piccy.info/view3/2703143/058d1f0dfaaa9e69f5d10255257c66b9/orig/ http://piccy.info/view3/2703161/e131f67a5288557cbbc8ac67c36a9be3/orig/ # netstat -Q Configuration: SettingCurrentLimit Thread count 44 Default queue limit25610240 Direct dispatch disabled n/a Forced direct dispatchdisabled n/a Threads bound to CPUs disabled n/a Protocols: Name Proto QLimit Policy Flags ip 1 1024 flow --- igmp 2256 source --- rtsock 3256 source --- arp7256 source --- ip6 10256 flow --- Workstreams: WSID CPU Name Len WMark Disp'd HDisp'd QDrops Queued Handled 0 0 ip 606 102400 2930711 2377098505 2377097226 0 0 igmp 0 000000 0 0 rtsock 0 251000 108579 108579 0 0 arp017000 205271 205271 0 0 ip60 1000 1 1 ip16 536000 758322101 758322085 1 1 igmp 0 000000 1 1 rtsock 0 000000 1 1 arp0 3000 106860 106860 1 1 ip60 2000 1254 1254 2 2 ip 155 102400 414966 2378645792 2378645336 2 2 igmp 0 000000 2 2 rtsock 0 000000 2 2 arp011000 320116 320116 2 2 ip60 1000 3557 3557 3 3 ip 0 102400 5774 2108548645 2108548645 3 3 igmp 0 000000 3 3 rtsock 0 000000 3 3 arp012000 672284 672284 3 3 ip60 30001387013870 ___ 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
IGB driver
HI, Freebsd-questions. Can I use 7-STABLE and checkout latest IGB drivers from HEAD? Will them work? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
netisr traffic bad distribution between CPUs
http://piccy.info/view3/2678766/170dd8875b0a18e00b00445d373e64a6/orig/ http://piccy.info/view3/2678742/4f522bdf95d34e6ddbb3502bb5f5caaf/orig/ abruptly problems 20-00: traffic fall, CPU load raise with no changes at traffice type. but no problems at 17-00 even with more traffice flow problem also abruptly disappears after some time: two or three hours # netstat -Q Configuration: SettingCurrentLimit Thread count 44 Default queue limit25610240 Direct dispatch disabled n/a Forced direct dispatchdisabled n/a Threads bound to CPUs disabled n/a Protocols: Name Proto QLimit Policy Flags ip 1 1024 flow --- igmp 2256 source --- rtsock 3256 source --- arp7256 source --- ip6 10256 flow --- Workstreams: WSID CPU Name Len WMark Disp'd HDisp'd QDrops Queued Handled 0 0 ip 401 102400 2620979 2131108484 2131107410 0 0 igmp 0 000000 0 0 rtsock 0 1620007861078610 0 0 arp0 9000 189978 189978 0 0 ip60 2000 832 832 1 1 ip 0 744000 805541655 805541655 1 1 igmp 0 000000 1 1 rtsock 0 000000 1 1 arp0 40009659996599 1 1 ip60 1000 2602 2602 2 2 ip25 102400 8173 1817809104 1817809050 2 2 igmp 0 000000 2 2 rtsock 0 000000 2 2 arp020000 278757 278757 2 2 ip60 1000 1095 1095 3 3 ip82 102400 187757 1551553992 1551553909 3 3 igmp 0 000000 3 3 rtsock 0 000000 3 3 arp0 8000 562346 562346 3 3 ip60 30001084310843 FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 @:/usr/obj/usr/src/sys/PAE_KES i386 ___ 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[2]: VERY slow performance on igb+FreeBSD8.2+mpd5.6
Здравствуйте, Volodymyr. Вы писали 24 февраля 2012 г., 10:10:12: VK Коньков Евгений wrote: #uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012 и Version 5.6 (root@ 10:03 20-Feb-2012) http://www.speedtest.net/result/1790445113.png try to reconnect to mpd 10-20times and you get next: http://www.speedtest.net/result/1790454801.png VK Used server differs in your images. Would you please track down assigned VK IP's? I have load video on youtube. When low performance occur top -SHP shows next: PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 171 ki31 0K64K CPU22 222:21 100.00% idle{idle: cpu 11 root 171 ki31 0K64K CPU11 222:11 100.00% idle{idle: cpu 11 root 171 ki31 0K64K CPU33 222:07 100.00% idle{idle: cpu 11 root 171 ki31 0K64K RUN 0 221:39 98.73% idle{idle: cpu0 12 root -32- 0K 624K WAIT1 1:30 0.00% intr{swi4: cloc 0 root -680 0K 384K - 3 1:03 0.00% kernel{dummynet 0 root -160 0K 384K sched 0 0:44 0.00% kernel{swapper} 12 root -44- 0K 624K WAIT3 0:31 0.00% intr{swi1: neti 12 root -44- 0K 624K WAIT3 0:11 0.00% intr{swi1: neti 12 root -68- 0K 624K WAIT2 0:07 0.00% intr{irq263: ig 12 root -44- 0K 624K WAIT1 0:06 0.00% intr{swi1: neti 13 root -16- 0K64K sleep 2 0:06 0.00% ng_queue{ng_que 13 root -16- 0K64K sleep 0 0:06 0.00% ng_queue{ng_que 13 root -16- 0K64K sleep 2 0:06 0.00% ng_queue{ng_que 13 root -16- 0K64K sleep 1 0:06 0.00% ng_queue{ng_que 12 root -68- 0K 624K WAIT3 0:05 0.00% intr{irq276: re it seems like no ticks are given to new subsystem what is comming on you can see on video (there are also shown netstat, vmstat etc) see video #3 this is best video then #2 then #1 http://youtu.be/f90nMtNdKB8 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[8]: high load system do not take all CPU time
Здравствуйте, Robert. Вы писали 26 декабря 2011 г., 23:54:59: RB [drivelectomy -- 200+ lines] RB You've been told the following, *repeatedly*: RB Your hardware is not capable of keeping up with the level of network traffic RB it is being subjected to. RB Reaaltek cards and the 're' device driver are a *BAD*CHOICE* for systems with RB heavy network traffic. They're merely 'medium lousy' on a lightly-loaded RB system, but you don't notice the problems under light loads. RB You have two choices: RB 1) live with the crappy performance RB 2) get a better quality network card. better card do not change situation http://youtu.be/f90nMtNdKB8 full video you can download http://www.filehosting.org/file/details/316076/1.rar igb3@pci0:1:0:3:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet 12 root -32- 0K 624K WAIT1 1:38 0.00% intr{swi4: cloc 0 root -680 0K 384K - 3 1:08 0.00% kernel{dummynet 0 root -160 0K 384K sched 2 0:44 0.00% kernel{swapper} 12 root -44- 0K 624K WAIT3 0:31 0.00% intr{swi1: neti 12 root -44- 0K 624K WAIT3 0:11 0.00% intr{swi1: neti 12 root -68- 0K 624K WAIT2 0:07 0.00% intr{irq263: ig 12 root -44- 0K 624K WAIT2 0:06 0.00% intr{swi1: neti 13 root -16- 0K64K sleep 1 0:06 0.00% ng_queue{ng_que 13 root -16- 0K64K sleep 1 0:06 0.00% ng_queue{ng_que 13 root -16- 0K64K sleep 1 0:06 0.00% ng_queue{ng_que 13 root -16- 0K64K sleep 1 0:06 0.00% ng_queue{ng_que 12 root -68- 0K 624K WAIT3 0:05 0.00% intr{irq276: re 12 root -44- 0K 624K WAIT3 0:04 0.00% intr{swi1: neti 14 root -16- 0K16K - 0 0:04 0.00% yarrow 12 root -68- 0K 624K WAIT1 0:01 0.00% intr{irq262: ig 12 root -68- 0K 624K WAIT1 0:01 0.00% intr{irq257: ig 12 root -68- 0K 624K WAIT0 0:01 0.00% intr{irq261: ig 12 root -68- 0K 624K WAIT2 0:01 0.00% intr{irq258: ig 12 root -68- 0K 624K WAIT3 0:01 0.00% intr{irq274: ig 12 root -68- 0K 624K WAIT3 0:01 0.00% intr{irq264: ig -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[3]: VERY slow performance on igb+FreeBSD8.2+mpd5.6
Здравствуйте, Коньков. Вы писали 25 февраля 2012 г., 22:00:36: КЕ Здравствуйте, Volodymyr. КЕ Вы писали 24 февраля 2012 г., 10:10:12: VK Коньков Евгений wrote: #uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012 и Version 5.6 (root@ 10:03 20-Feb-2012) http://www.speedtest.net/result/1790445113.png try to reconnect to mpd 10-20times and you get next: http://www.speedtest.net/result/1790454801.png VK Used server differs in your images. Would you please track down assigned VK IP's? КЕ I have load video on youtube. КЕ When low performance occur top -SHP shows next: КЕ PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND КЕ11 root 171 ki31 0K64K CPU22 222:21 100.00% idle{idle: cpu КЕ11 root 171 ki31 0K64K CPU11 222:11 100.00% idle{idle: cpu КЕ11 root 171 ki31 0K64K CPU33 222:07 100.00% idle{idle: cpu КЕ11 root 171 ki31 0K64K RUN 0 221:39 98.73% idle{idle: cpu0 КЕ12 root -32- 0K 624K WAIT1 1:30 0.00% intr{swi4: cloc КЕ 0 root -680 0K 384K - 3 1:03 0.00% kernel{dummynet КЕ 0 root -160 0K 384K sched 0 0:44 0.00% kernel{swapper} КЕ12 root -44- 0K 624K WAIT3 0:31 0.00% intr{swi1: neti КЕ12 root -44- 0K 624K WAIT3 0:11 0.00% intr{swi1: neti КЕ12 root -68- 0K 624K WAIT2 0:07 0.00% intr{irq263: ig КЕ12 root -44- 0K 624K WAIT1 0:06 0.00% intr{swi1: neti КЕ13 root -16- 0K64K sleep 2 0:06 0.00% ng_queue{ng_que КЕ13 root -16- 0K64K sleep 0 0:06 0.00% ng_queue{ng_que КЕ13 root -16- 0K64K sleep 2 0:06 0.00% ng_queue{ng_que КЕ13 root -16- 0K64K sleep 1 0:06 0.00% ng_queue{ng_que КЕ12 root -68- 0K 624K WAIT3 0:05 0.00% intr{irq276: re КЕ it seems like no ticks are given to new subsystem КЕ what is comming on you can see on video (there are also shown netstat, vmstat etc) КЕ see video #3 this is best video then #2 then #1 КЕ http://youtu.be/f90nMtNdKB8 when setting up values: net.isr.bindthreads: 1 net.isr.direct: 1 net.isr.direct_force: 1 seems have another problem: dummynet take 1/4 of system CPU even when no traffic at all (10Kbit/s) bwm-ng v0.6 (probing every 0.500s), press 'h' for help input: getifaddrs type: rate | iface Rx TxTotal == igb0: 2.96 Kb/s1.93 Kb/s4.89 Kb/s igb1: 2.09 Kb/s1.93 Kb/s4.02 Kb/s igb2: 0.00 b/s0.00 b/s0.00 b/s igb3: 2.80 Kb/s0.00 b/s2.80 Kb/s re0: 956.18 b/s9.28 Kb/s 10.21 Kb/s -- total: 8.78 Kb/s 13.13 Kb/s 21.91 Kb/s last pid: 37916; load averages: 0.01, 0.04, 0.06 up 0+00:11:43 23:20:40 148 processes: 5 running, 104 sleeping, 39 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 97.3% system, 0.0% interrupt, 2.7% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 92M Active, 14M Inact, 260M Wired, 308K Cache, 23M Buf, 3474M Free Swap: 4096M Total, 4096M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 171 ki31 0K64K CPU33 11:37 100.00% idle{idle: cpu3} 11 root 171 ki31 0K64K CPU22 11:31 100.00% idle{idle: cpu2} 11 root 171 ki31 0K64K RUN 0 11:29 100.00% idle{idle: cpu0} 0 root -680 0K 384K - 1 0:05 82.23% kernel{dummynet} 11 root 171 ki31 0K64K CPU11 11:34 20.12% idle{idle: cpu1} 12 root -32- 0K 624K WAIT0 0:05 0.10% intr{swi4: clock} 0 root -160 0K 384K sched 0 0:44 0.00% kernel{swapper} 12 root -68- 0K 624K WAIT2 0:02 0.00% intr{irq263: igb1:que} 12 root -68- 0K 624K WAIT1 0:01 0.00% intr{irq262: igb1:que} 13 root -16- 0K64K sleep 1 0:01 0.00% ng_queue{ng_queue3} 13 root -16- 0K64K sleep 1 0:01 0.00% ng_queue{ng_queue1} 13 root -16- 0K64K sleep 0 0:01 0.00% ng_queue{ng_queue2} 13 root -16- 0K64K sleep 1 0:01 0.00% ng_queue{ng_queue0} 12 root -68- 0K 624K WAIT
A problem internal to GDB has been detected
# gdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd. (gdb) attach 0 Attaching to process 0 ptrace: Invalid argument. (gdb) attach 12 Attaching to process 12 ptrace: Invalid argument. (gdb) attach 9058 Attaching to process 9058 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) y Abort (core dumped) (gdb) core gdb.core Core was generated by `gdb'. Program terminated with signal 6, Aborted. #0 0x000800e23aac in ?? () bt shows long list and fineshed as: #999 0x0001 in ?? () #1000 0x7fffebc8 in ?? () #1001 0x0017 in ?? () Cannot access memory at address 0x8000 ___ 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: VERY slow performance on igb+FreeBSD8.2+mpd5.6
Здравствуйте, Коньков. Вы писали 23 февраля 2012 г., 9:19:45: КЕ #uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012 КЕ и Version 5.6 (root@ 10:03 20-Feb-2012) КЕ http://www.speedtest.net/result/1790445113.png КЕ try to reconnect to mpd 10-20times and you get next: КЕ http://www.speedtest.net/result/1790454801.png КЕ mpd has no any sessions except this one. КЕ net.graph.recvspace=524288 КЕ net.graph.maxdgram=524288 КЕ net.inet.ip.dummynet.io_fast=1 КЕ net.inet.ip.dummynet.pipe_slot_limit=1000 КЕ dev.igb.0.rx_processing_limit=4096 КЕ dev.igb.1.rx_processing_limit=4096 КЕ dev.igb.2.rx_processing_limit=4096 КЕ dev.igb.3.rx_processing_limit=4096 КЕ net.route.netisr_maxqlen=4096 КЕ hw.igb.rxd=4096 КЕ hw.igb.txd=4096 КЕ hw.igb.max_interrupt_rate=32000 КЕ net.isr.defaultqlimit=4096 КЕ net.link.ifqmaxlen=10240 КЕ net.graph.maxdata=32768 КЕ net.graph.maxalloc=32768 КЕ net.inet.tcp.tcbhashsize=4096 # tcb hash size КЕ net.inet.tcp.syncache.hashsize=1024 # syncache hash size КЕ net.inet.tcp.syncache.bucketlimit=100 # syncache bucket limit КЕ net.isr.bindthreads=0 # do not bind threads to CPUs КЕ net.isr.direct=0 # interrupt handling via multiple CPU КЕ net.isr.direct_force=0# КЕ net.isr.maxthreads=4 # Max number of threads for КЕ NIC IRQ balancing (4 cores in box) КЕ vmstat -z | grep Gra КЕ ITEM SIZE LIMIT USED FREE REQUESTS FAILURES КЕ NetGraph items:72,32770,0, 377, 143887, 0 КЕ NetGraph data items: 72,32770,0, 435, 241884, 0 Can any one help to debug that problem? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
VERY slow performance on igb+FreeBSD8.2+mpd5.6
#uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012 и Version 5.6 (root@ 10:03 20-Feb-2012) http://www.speedtest.net/result/1790445113.png try to reconnect to mpd 10-20times and you get next: http://www.speedtest.net/result/1790454801.png mpd has no any sessions except this one. net.graph.recvspace=524288 net.graph.maxdgram=524288 net.inet.ip.dummynet.io_fast=1 net.inet.ip.dummynet.pipe_slot_limit=1000 dev.igb.0.rx_processing_limit=4096 dev.igb.1.rx_processing_limit=4096 dev.igb.2.rx_processing_limit=4096 dev.igb.3.rx_processing_limit=4096 net.route.netisr_maxqlen=4096 hw.igb.rxd=4096 hw.igb.txd=4096 hw.igb.max_interrupt_rate=32000 net.isr.defaultqlimit=4096 net.link.ifqmaxlen=10240 net.graph.maxdata=32768 net.graph.maxalloc=32768 net.inet.tcp.tcbhashsize=4096 # tcb hash size net.inet.tcp.syncache.hashsize=1024 # syncache hash size net.inet.tcp.syncache.bucketlimit=100 # syncache bucket limit net.isr.bindthreads=0 # do not bind threads to CPUs net.isr.direct=0 # interrupt handling via multiple CPU net.isr.direct_force=0# net.isr.maxthreads=4 # Max number of threads for NIC IRQ balancing (4 cores in box) vmstat -z | grep Gra ITEM SIZE LIMIT USED FREE REQUESTS FAILURES NetGraph items:72,32770,0, 377, 143887,0 NetGraph data items: 72,32770,0, 435, 241884,0 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: deleting an alias from interface cause the static route to be deleted
Здравствуйте, Matthew. Вы писали 21 февраля 2012 г., 14:10:37: MS On 20/02/2012 20:06, Коньков Евгений wrote: vlan74: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether f4:6d:04:7c:7b:d3 inet6 fe80::f66d:4ff:fe7c:7bd3%vlan74 prefixlen 64 scopeid 0xd inet 10.1.26.1 netmask 0xfe00 broadcast 10.1.27.255 inet 10.1.26.3 netmask 0xfe00 broadcast 10.1.27.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 74 parent interface: re0 ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.7.26.2 UGHS8 367 vlan74 10.1.6.0/2310.7.26.2 UGS 275 166969 vlan74 10.3.0.1 10.1.26.2 UGHS8 367 vlan74 10.1.6.0/2310.1.26.2 UGS 275 166969 vlan74 I had mistake. Does this a bug? MS Hmmm... how have you managed to have a next hop address of 10.7.26.2 on MS your vlan74 interface, when the local network appears to be 10.1.26.0/23 MS ? What's the route to 10.7.26.2 -- presumably this is also accessible MS on vlan74 ? MS It certainly seems odd that your routes have disappeared, but I'm MS wondering if they were culled from the routing table because the system MS thought they weren't logically connected to the local system? Given MS that they have seen traffic, perhaps this was connected to a different MS change that the deletion of 10.1.26.1 that you highlighted? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: deleting an alias from interface cause the static route to be deleted
Здравствуйте, Ivan. Вы писали 21 февраля 2012 г., 0:45:33: II 2012/2/20 Коньков Евгений kes-...@yandex.ru: vlan74: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether f4:6d:04:7c:7b:d3 inet6 fe80::f66d:4ff:fe7c:7bd3%vlan74 prefixlen 64 scopeid 0xd inet 10.1.26.1 netmask 0xfe00 broadcast 10.1.27.255 inet 10.1.26.3 netmask 0xfe00 broadcast 10.1.27.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 74 parent interface: re0 ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.1.26.2 UGHS 8 367 vlan74 10.1.6.0/23 10.1.26.2 UGS 275 166969 vlan74 Does this a bug? II See here: II http://lists.freebsd.org/pipermail/freebsd-net/2012-February/031404.html II It should be fixed, I asked Andrew and he said it was fixed as well. II If latest code still has this problem, than yes it's a bug. http://www.freebsd.org/cgi/query-pr.cgi?pr=128954cat=bin it is repeatable on # uname -a FreeBSD 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #1 r231881: Fri Feb 17 17:20:09 UTC 2012@:/usr/obj/usr/src/sys/KES_KERN_v8 amd64 # ifconfig vlan7 vlan7: flags=8002BROADCAST,MULTICAST metric 0 mtu 1500 ether 00:00:00:00:00:00 vlan: 0 parent interface: none # ifconfig vlan7 vlan 7 vlandev re0 # ifconfig vlan7 vlan7: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 14:da:e9:b8:5a:76 media: Ethernet autoselect (100baseTX full-duplex) status: active vlan: 7 parent interface: re0 # ifconfig vlan7 add 10.3.0.1/24 # ifconfig vlan7 add 10.3.0.2/24 # route add 10.4.0.0/24 10.3.0.3 add net 10.4.0.0: gateway 10.3.0.3 # netstat -nr Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.11.6.1 UGS 00re0 10.0.0.0/8 10.11.6.1 UGS 1 241re0 10.3.0.0/24link#7 U 00 vlan7 10.3.0.1 link#7 UHS 00lo0 10.3.0.2 link#7 UHS 00lo0 10.4.0.0/2410.3.0.3 UGS 00 vlan7 10.5.0.18 link#5 UH 00lo0 10.11.6.0/28 link#2 U 0 6161re0 10.11.6.7 link#2 UHS 00lo0 127.0.0.1 link#5 UH 0 53lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRSlo0 ::1 ::1 UH lo0 :::0.0.0.0/96 ::1 UGRSlo0 fe80::%lo0/64 link#5U lo0 fe80::1%lo0 link#5UHS lo0 ff01::%lo0/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 # ifconfig vlan7 delete 10.3.0.1 # netstat -nr Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default10.11.6.1 UGS 00re0 10.0.0.0/8 10.11.6.1 UGS 0 334re0 10.3.0.0/24link#7 U 00 vlan7 10.3.0.2 link#7 UHS 00lo0 10.5.0.18 link#5 UH 00lo0 10.11.6.0/28 link#2 U 0 6161re0 10.11.6.7 link#2 UHS 00lo0 127.0.0.1 link#5 UH 0 53lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRSlo0 ::1 ::1 UH lo0 :::0.0.0.0/96 ::1 UGRSlo0 fe80::%lo0/64 link#5U lo0 fe80::1%lo0 link#5UHS lo0 ff01::%lo0/32 fe80::1%lo0 U lo0 ff02::%lo0/32 fe80::1%lo0 U lo0 # ifconfig vlan7 vlan7: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether 14:da:e9:b8:5a:76 inet 10.3.0.2 netmask 0xff00 broadcast 10.3.0.255 media: Ethernet
why 'freebsd-net' does not exists?
this is a mail I got while sending to 'freebsd-...@freebsd.org' Dear Sir or Madam, you have sent an email to a non-existent address. To: freebsd-...@freebsd.org Subject: freebsd sends arp queries for IP's in not it subnet Please check the spelling. Best regards SCA Postmaster (This Mail is generated automatically. Do not reply) original mail header: From owner-freebsd-...@freebsd.org Sun Feb 19 14:37:55 2012 Return-Path: owner-freebsd-...@freebsd.org X-Original-To: johan.edst...@hygiene.sca.se Delivered-To: sca-respon...@dol001.sgn.sca.se Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by dol001.sgn.sca.se (Postfix) with ESMTP id E91E96A4B5 for johan.edst...@hygiene.sca.se; Sun, 19 Feb 2012 14:37:54 +0100 (CET) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 407F8179BDA; Sun, 19 Feb 2012 13:37:41 + (UTC) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 97B6E1065730; Sun, 19 Feb 2012 13:37:36 + (UTC) (envelope-from owner-freebsd-...@freebsd.org) Delivered-To: freebsd-...@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83FB2106566B for freebsd-...@freebsd.org; Sun, 19 Feb 2012 13:37:27 + (UTC) (envelope-from kes-...@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [IPv6:2a02:6b8:0:602::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9C8D48FC14 for freebsd-...@freebsd.org; Sun, 19 Feb 2012 13:37:26 + (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward1.mail.yandex.net (Yandex) with ESMTP id 06C7D1241408 for freebsd-...@freebsd.org; Sun, 19 Feb 2012 17:37:24 +0400 (MSK) DKIM-Signature: v; arsa-sha256; crelaxed/relaxed; dyandex.ru; smail; t29658645; bhkEQL2LYziDyAbgX9jFPeRH65mC0p0YNCl3JNA5V3a4; hЪte:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; boqzw9IPWxqZMXcw0STvUVHuV5y1xnj+TVB3wpu+DxKuvFBtvtq9Sixk6zg2O8+wwA 5jexTNsIE/q13wO+6ZHBss8HPXcszAf3149Hn5NgVj7sUbdTidBc5+QOVvXlRERACn qjLra005D79O/Aw0cjI5Q4WC2nHXabn7mkDzzxhkReceived: from smtp3.mail.yandex.net (localhost [127.0.0.1]) by smtp3.mail.yandex.net (Yandex) with ESMTP id E09761BA0341 for freebsd-...@freebsd.org; Sun, 19 Feb 2012 17:37:24 +0400 (MSK) DKIM-Signature: v; arsa-sha256; crelaxed/relaxed; dyandex.ru; smail; t29658644; bhkEQL2LYziDyAbgX9jFPeRH65mC0p0YNCl3JNA5V3a4; hЪte:From:Reply-To:Message-ID:To:Subject:MIME-Version: Content-Type:Content-Transfer-Encoding; boR35zVLxa6ZoLJE2j4KaXSYrPtUEaoV9oIdgFsuLcDM46+JBBJltYaaOVhKozsZld EZTYUciElj8Nd7QMnRnm4avJaS6NxqsGiPH1WQQ48DAtX6+mm7mEjLY9cGKxiFzMEq 6IU8yGJqjye/j0luUe4d22Vev6+92h92ddFwsdRwReceived: from unknown (unknown [77.93.52.20]) by smtp3.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bOQmaVVR-bOQ0FZM4; Sun, 19 Feb 2012 17:37:24 +0400 X-Yandex-Spam: 1 Date: Sun, 19 Feb 2012 15:37:13 +0200 From: ?windows-1251?B?yu7t/Oru4iDF4uPl7ejp? kes-...@yandex.ru X-Mailer: The Bat! (v4.0.24) Professional Organization: ?windows-1251?B?188gyu7t/Oru4iwgRnJlZUxpbmU?X-Priority: 3 (Normal) Message-ID: 47346273.20120219153...@yandex.ru To: freebsd-...@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charsetwindows-1251 Content-Transfer-Encoding: 8bit Subject: freebsd sends arp queries for IP's in not it subnet X-BeenThere: freebsd-...@freebsd.org X-Mailman-Version: 2.1.5 ___ 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
some problems to enable journaling
Здравствуйте, Freebsd-questions. # uname -a FreeBSD 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #1 r231881: Fri Feb 17 17:20:09 UTC 2012 /usr/obj/usr/src/sys/KES_KERN_v8 amd64 #gjournal load # kldstat Id Refs AddressSize Name 14 0x8010 ebb5c8 kernel 21 0x81012000 ad84 geom_journal.ko #gjournal label -f -s 256M /dev/ad10s1e # gjournal clear /dev/ad10s1e Cannot clear metadata on /dev/ad10s1e: Operation not permitted. gjournal: Not fully done. # gjournal list Geom name: gjournal 729355407 ID: 729355407 Providers: 1. Name: ufsid/4e84463b2331f144.journal Mediasize: 805305856 (768M) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: ufsid/4e84463b2331f144 Mediasize: 1073741824 (1.0G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2952756736 Mode: r1w1e1 Jend: 1073741312 Jstart: 805305856 Role: Data,Journal # newfs -O 2 -J /dev/ad10s1e.journal newfs: /dev/ad10s1e.journal: could not find special device # newfs -O 2 /dev/ad10s1e newfs: /dev/ad10s1e: failed to open disk for writing Only #newfs -O 2 -J ufsid/4e84463b2331f144.journal helps, but: # mount ufsid/4e84463b2331f144.journal mount: ufsid/4e84463b2331f144.journal: unknown special file or file system # ls acpiad8s1g geom.ctlrandom ttyvb ad10ata io stderr ttyvc ad10s1 atkbd0 kbd0stdin ttyvd ad10s1a audit kbd1stdout ttyve ad10s1b bpf kbdmux0 sysmousettyvf ad10s1d bpf0klogttyv0 ufsid ad10s1e console kmemttyv1 ugen0.1 ad10s1f consolectl log ttyv2 ugen0.2 ad10s1g cttymdctl ttyv3 ugen1.1 ad8 da0 mem ttyv4 ugen1.2 ad8s1 dcons nfslock ttyv5 ugen1.3 ad8s1a devctl nullttyv6 urandom ad8s1b devstat pass0 ttyv7 usb ad8s1d dgdbpci ttyv8 usbctl ad8s1e fd ptmxttyv9 xpt0 ad8s1f fidopts ttyva zero only adding geom_journal_load=YES to /boot/loader and reboot helps x# ls acpiad8s1g io stdin ttyve ad10ata kbd0stdout ttyvf ad10s1 atkbd0 kbd1sysmouseufsid ad10s1a audit kbdmux0 ttyv0 ugen0.1 ad10s1b bpf klogttyv1 ugen0.2 ad10s1d bpf0kmemttyv2 ugen1.1 ad10s1e console log ttyv3 ugen1.2 ad10s1e.journal consolectl mdctl ttyv4 ugen1.3 ad10s1f cttymem ttyv5 urandom ad10s1g da0 nfslock ttyv6 usb ad8 dcons nullttyv7 usbctl ad8s1 devctl pass0 ttyv8 xpt0 ad8s1a devstat pci ttyv9 zero ad8s1b dgdbptmxttyva ad8s1d fd pts ttyvb ad8s1e fidorandom ttyvc ad8s1f geom.ctlstderr ttyvd Please FIX handbook at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-gjournal.html -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
deleting an alias from interface cause the static route to be deleted
vlan74: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=3RXCSUM,TXCSUM ether f4:6d:04:7c:7b:d3 inet6 fe80::f66d:4ff:fe7c:7bd3%vlan74 prefixlen 64 scopeid 0xd inet 10.1.26.1 netmask 0xfe00 broadcast 10.1.27.255 inet 10.1.26.3 netmask 0xfe00 broadcast 10.1.27.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active vlan: 74 parent interface: re0 ifconfig vlan74 delete 10.1.26.1 will delete these static routes from route table: 10.3.0.1 10.7.26.2 UGHS8 367 vlan74 10.1.6.0/2310.7.26.2 UGS 275 166969 vlan74 Does this a bug? ___ 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
which media type I must use when booting ISO from grub
HI I want to install freebse and boot it from grub as: title FreeBSD 8.0 (USB) map --mem (hd0,0)/iso/FreeBSD8.iso (hd32) map --hook chainloader (hd32) boot Which media type I must use when choosing 'media type' in menu? as one way to solve problem is extract 8.2-RELEASE and packages directories to root of FlashDrive. but how to skip coping files from .iso? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
kernel double fault
Здравствуйте, . Dump header from device /dev/ad4s1b Architecture: i386 Architecture Version: 2 Dump Length: 492789760B (469 MB) Blocksize: 512 Dumptime: Sat Feb 11 14:27:35 2012 Hostname: Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES Panic String: double fault Dump Parity: 3261793647 Bounds: 9 Dump Status: good # kgdb kernel.debug /var/crash/vmcore.9 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...No struct type named linker_file. No struct type named linker_file. No struct type named linker_file. Attempt to extract a component of a value that is not a structure. No struct type named linker_file. No struct type named linker_file. No struct type named linker_file. Attempt to extract a component of a value that is not a structure. Attempt to extract a component of a value that is not a structure pointer. Attempt to extract a component of a value that is not a structure pointer. kgdb: kvm_read: invalid address (0x754f0078) kgdb: kvm_read: invalid address (0x6172746b) #0 0x in ?? () (kgdb) backtrace #0 0x in ?? () it seems useless, but may I get more info from that for debugging? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: 'rm' Can not delete files
Здравствуйте, Da. Вы писали 10 февраля 2012 г., 17:51:59: DR On 02/11/12 01:34, Henry Olyer wrote: So what do I change if I want to increase the shell's file limit? DR I don't think you can. It's not a shell limit. It's a limit to the DR number of arguments the command itself will take. As said, the shell DR expands '*' to a list of files as the argument, and rm is limited to the DR number of arguments it will parse. Mya be it would be better in program do not process options 'all at once'. but instead process them one by one: get next option, remove file, get next option, remove file for $i in (@options) do delete_file( $i ) I use bash 4. And by the way, for me, part of the normal installation of a new FBSD box is to make certain changes. For example, for uniq -c I use %06 instead of %d because this way I can sort the output. Things like that. I never learned a shell language. I suppose no one is as dumb as someone who choose's not to learn, so, what's the right one. csh?, because I do a lot of scientific work?, or should I be looking at another? DR There's not really much difference in this factor for shell types; as DR for changes you'd have to hack the command's (say rm) code. DR As mentioned, I'd use the find -delete combination. On Wed, Feb 8, 2012 at 10:25 PM, andrew clarkem...@ozzmosis.com wrote: On Tue 2012-02-07 23:17:16 UTC+, RW (rwmailli...@googlemail.com) wrote: On Tue, 07 Feb 2012 22:14:56 + Matthew Seaman wrote: ls -1 | xargs rm but be aware that that wont work for filenames with spaces. In addition, I don't believe it solves the OP's initial problem of the argument list being too long! You'd probably need to use the xargs -n switch here. The above will also try to 'rm' directories, which won't work. Instead I would use 'find': find . -type f -depth 1 -delete This will also work with filenames with spaces. Or the scenic route, using xargs, with one rm per file (slower): find . -type f -depth 1 -print0 | xargs -n1 -0 rm -f (The scenic route is useful if you want to do something else with the files instead of deleting them with rm.) Regards Andrew -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
'rm' Can not delete files
# rm * /bin/rm: Argument list too long. in this directory about 25000 files, but actually there is only one argument to rm it is '*' sign. Why rm get list of all files in directore instead of deleting one by one? ___ 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[2]: 'rm' Can not delete files
Thank you all for answers =) -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: HowTo easy use IPFW
Здравствуйте, Julian. Вы писали 5 февраля 2012 г., 9:15:35: JE On 2/4/12 10:53 PM, Julian Elischer wrote: On 2/2/12 1:33 AM, Коньков Евгений wrote: this is the mine script which helps me keep my firewall very clean and safe. It is easy to understand even if you have a thousands ruBTWles, I think =) please comment. PS. If anybody may, please put into ports tree. thank you. it would probably be get more response if it was in a file format we had heard of.. like tar.. WTF is a .rar file? JE BTW the stuffit expander on a Mac seems to be able to handle it.. JE I can see that this would allow you to manage very complex rule sets JE while keeping errors under control. JE I find the syntax hard to follow however JE I guess that comes from it being a relatively simple perl script JE doing the work. JE it would be nice to get rid of the line numbers entirely in the JE specifications JE and allow the program to completely specify them using symbolic JE definitions instead. can you give an example how it whould be better? a documentation is weak a bit, if you have question be free to ask. I will clear that. In tar format as you ask. -- С уважением, Коньков mailto:kes-...@yandex.ru___ 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
HowTo easy use IPFW
this is the mine script which helps me keep my firewall very clean and safe. It is easy to understand even if you have a thousands rules, I think =) please comment. PS. If anybody may, please put into ports tree. thank you. usr-local-etc-firewall.rar Description: Binary data ___ 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[2]: problem to kill -KILL process
Здравствуйте, Frank. Вы писали 21 января 2012 г., 11:24:59: FS On Fri, Jan 20, 2012 at 11:24:21PM +0200, ??? ??? wrote: Hi # ps ax|grep rad 45471 ?? TLs 263:35.44 /usr/local/sbin/radiusd 26473 1 S+ 0:00.00 grep rad flux# date Fri Jan 20 23:20:28 UTC 2012 flux# kill -KILL 45471 flux# date Fri Jan 20 23:20:41 UTC 2012 flux# kill -KILL 45471 flux# date Fri Jan 20 23:20:54 UTC 2012 flux# kill -KILL 45471 top 9 root16- 0K 8K syncer 2 7:12 0.00% syncer 45471 freeradius 20 -20 311M 283M STOP0 3:38 0.00% {radiusd} 49114 root210 10460K 4240K select 0 2:43 0.00% zebra How to kill process without reboot? FS Doesn't radius have a script in /usr/local/etc/rc.d? FS If so use that to stop it rather than KILLing it. E.g: FS # /usr/local/etc/rc.d/radiusd stop despite on it uses standart rc.subr, which says: # stopif ${pidfile} # rc_pid=$(check_pidfile $pidfile $command) # else # rc_pid=$(check_process $command) # kill $sig_stop $rc_pid # wait_for_pids $rc_pid # ($sig_stop defaults to TERM.) in other words: kill -TERM 45471 in my case FS or something like that. man kill .. Some of the more commonly used signals: .. 9 KILL (non-catchable, non-ignorable kill) Standart tool do not do its job. It can not stop/kill processes. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
problem to kill -KILL process
Hi # ps ax|grep rad 45471 ?? TLs 263:35.44 /usr/local/sbin/radiusd 26473 1 S+ 0:00.00 grep rad flux# date Fri Jan 20 23:20:28 UTC 2012 flux# kill -KILL 45471 flux# date Fri Jan 20 23:20:41 UTC 2012 flux# kill -KILL 45471 flux# date Fri Jan 20 23:20:54 UTC 2012 flux# kill -KILL 45471 top 9 root16- 0K 8K syncer 2 7:12 0.00% syncer 45471 freeradius 20 -20 311M 283M STOP0 3:38 0.00% {radiusd} 49114 root210 10460K 4240K select 0 2:43 0.00% zebra How to kill process without reboot? ___ 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
how to look debug info
Hi in sys/net/netisr.c I have found: SYSCTL_PROC(_net_isr, OID_AUTO, work, CTLFLAG_RD|CTLTYPE_STRUCT|CTLFLAG_MPSAFE, 0, 0, sysctl_netisr_work, S,sysctl_netisr_work, Return list of per-workstream, per-protocol work in netisr); how to look that info? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
Where to send bugs?
Hi, Freebsd-questions. What is better: 1. Send PR to freebsd-current 2. Send PR via site or I must to send to both? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
distinguish soft and hard kernel interrupts
is there a way to distinguish hardware and software interrupts? it 'top' resuslts 70.0% interrupt I want to figure out how much there soft and hard interrupts ___ 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: Network throughput
Здравствуйте, Mike. Вы писали 11 января 2012 г., 13:24:00: MW Hi guys, Been a while since i've had need to post to the list :) MW I'm trying to gather network throughput information on a box of ours MW and I'm having a little problem, the throughput is to be measured on a MW per-minute basis and i've been trying to use netstat for this (count MW now - count before/timeperiod) however netstats byte counter resets MW far too quickly to be usefull (this is a busy gb link), i've had a MW look at vnstat but this only seems to operation on an hour or higher MW and I need to get down to the minute, does anyone have any suggestions MW of a tool better suited to this ? snmp will help #!/usr/bin/perl use warnings; use strict; my $snmpauth= $ARGV[0];#auth string like '-v 1 passhere', supplied asis to snmpget my $host= $ARGV[1];# my $ifIndex= $ARGV[2]; #interface name or index if( !$ifIndex ) { print `/usr/local/bin/snmpwalk $snmpauth $host .`; exit 0; } #print `/usr/local/bin/snmpwalk $snmpauth $host IF-MIB::ifName`; if( $ifIndex =~ /^[a-zA-Z]/ ) { #print /usr/local/bin/snmpwalk $snmpauth $host IF-MIB::ifName; `/usr/local/bin/snmpwalk $snmpauth $host IF-MIB::ifName` =~ /\.(\d+).+$ifIndex/; $ifIndex= $1; } my $octetsIn= `/usr/local/bin/snmpget $snmpauth -O qv $host .1.3.6.1.2.1.31.1.1.1.6.$ifIndex`; chop $octetsIn; #IF-MIB::ifHCInOctets my $octetsOut= `/usr/local/bin/snmpget $snmpauth -O qv $host .1.3.6.1.2.1.31.1.1.1.10.$ifIndex`; chop $octetsOut; #IF-MIB::ifHCOutOctets my $packetsIn= `/usr/local/bin/snmpget $snmpauth -O qv $host .1.3.6.1.2.1.2.2.1.11.$ifIndex`;chop $packetsIn; #IF-MIB::ifInUcastPkts my $packetsOut= `/usr/local/bin/snmpget $snmpauth -O qv $host .1.3.6.1.2.1.2.2.1.17.$ifIndex`;chop $packetsOut;#IF-MIB::ifOutUcastPkts print octetsIn:$octetsIn octetsOut:$octetsOut packetsIn:$packetsIn packetsOut:$packetsOut\n; -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
can not destroy ng interface
Hi, Freebsd-questions. # ifconfig ng0 ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 mtu 1400 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL meta-up# ifconfig ng0 destroy ifconfig: SIOCIFDESTROY: Invalid argument why I can not destroy interface? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[9]: high load system do not take all CPU time
Also I notice next: in case of overload 'ping localhost' or any IP this router has get timeouts about 50-100ms, pinging any external host on LAN or Internet get normal results: 5ms LAN, 40ms Internet. I do not think this issue related to re0 interface or its driver. This is related to kernel and its structures. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[10]: high load system do not take all CPU time
КЕ Also I notice next: КЕ in case of overload 'ping localhost' or any IP this router has get КЕ timeouts about 50-100ms, pinging any external host on LAN or Internet КЕ get normal results: 5ms LAN, 40ms Internet. КЕ I do not think this issue related to re0 interface or its driver. КЕ This is related to kernel and its structures. details: which system queues or buffers can cause such bad results for localhost pinging? # ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=122.377 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=53.025 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=36.214 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=85.151 ms 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=105.704 ms 64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=1.145 ms 64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=26.240 ms 64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=37.532 ms 64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=20.161 ms 64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=7.876 ms 64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=36.441 ms 64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.840 ms 64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=45.483 ms 64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=29.629 ms 64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.025 ms 64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=86.228 ms 64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=141.489 ms 64 bytes from 127.0.0.1: icmp_seq=17 ttl=64 time=118.011 ms 64 bytes from 127.0.0.1: icmp_seq=18 ttl=64 time=14.077 ms 64 bytes from 127.0.0.1: icmp_seq=19 ttl=64 time=0.599 ms 64 bytes from 127.0.0.1: icmp_seq=20 ttl=64 time=0.041 ms 64 bytes from 127.0.0.1: icmp_seq=21 ttl=64 time=59.191 ms 64 bytes from 127.0.0.1: icmp_seq=22 ttl=64 time=36.222 ms 64 bytes from 127.0.0.1: icmp_seq=23 ttl=64 time=3.278 ms 64 bytes from 127.0.0.1: icmp_seq=24 ttl=64 time=153.970 ms 64 bytes from 127.0.0.1: icmp_seq=25 ttl=64 time=71.832 ms 64 bytes from 127.0.0.1: icmp_seq=26 ttl=64 time=0.740 ms 64 bytes from 127.0.0.1: icmp_seq=27 ttl=64 time=22.389 ms 64 bytes from 127.0.0.1: icmp_seq=28 ttl=64 time=6.637 ms 64 bytes from 127.0.0.1: icmp_seq=29 ttl=64 time=2.888 ms 64 bytes from 127.0.0.1: icmp_seq=30 ttl=64 time=27.595 ms 64 bytes from 127.0.0.1: icmp_seq=31 ttl=64 time=59.914 ms 64 bytes from 127.0.0.1: icmp_seq=32 ttl=64 time=8.892 ms ^C --- 127.0.0.1 ping statistics --- 33 packets transmitted, 33 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.025/43.086/153.970/43.818 ms last pid: 34214; load averages: 4.02, 4.13, 4.38 up 8+20:50:08 17:18:01 276 processes: 6 running, 251 sleeping, 16 waiting, 3 lock CPU 0: 16.5% user, 0.0% nice, 12.2% system, 48.9% interrupt, 22.3% idle CPU 1: 12.2% user, 0.0% nice, 13.7% system, 60.4% interrupt, 13.7% idle CPU 2: 8.6% user, 0.0% nice, 8.6% system, 68.3% interrupt, 14.4% idle CPU 3: 10.8% user, 0.0% nice, 4.3% system, 72.7% interrupt, 12.2% idle Mem: 638M Active, 2804M Inact, 313M Wired, 135M Cache, 112M Buf, 8736K Free Swap: 4096M Total, 16M Used, 4080M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 12 root -72- 0K 160K *per-i 3 67.7H 95.26% {swi1: netisr 3} 12 root -72- 0K 160K CPU11 46.5H 84.62% {swi1: netisr 1} 12 root -72- 0K 160K *per-i 2 24.5H 36.57% {swi1: netisr 2} 11 root 155 ki31 0K32K RUN 0 139.3H 34.81% {idle: cpu0} 12 root -72- 0K 160K *per-i 3 19.6H 32.57% {swi1: netisr 0} 11 root 155 ki31 0K32K RUN 1 141.2H 19.48% {idle: cpu1} 11 root 155 ki31 0K32K CPU22 140.2H 17.43% {idle: cpu2} 11 root 155 ki31 0K32K CPU33 141.5H 15.92% {idle: cpu3} 12 root -92- 0K 160K WAIT0 26.4H 13.09% {irq256: re0} 93929 root240 15392K 5616K select 0 86:57 6.88% snmpd 13 root -16- 0K32K sleep 2 599:49 4.83% {ng_queue1} 13 root -16- 0K32K sleep 2 600:32 4.20% {ng_queue0} 13 root -16- 0K32K sleep 3 600:57 3.86% {ng_queue3} 13 root -16- 0K32K sleep 0 600:05 3.76% {ng_queue2} 34145 cacti 270 12000K 3096K select 0 0:00 1.22% snmpwalk 34185 cacti 520 32256K 16604K nanslp 2 0:00 0.93% php 86746 root200 139M 57632K select 2 17:09 0.29% {mpd5} 86746 root200 139M 57632K select 0 0:00 0.29% {mpd5} 86746 root200 139M 57632K select 2 0:00 0.29% {mpd5} 32865 freeradius 20 -20 151M 123M usem3 1:31 0.24% {radiusd} 32865 freeradius 20 -20 151M 123M usem2 1:31 0.24% {radiusd} 32865 freeradius 20 -20 151M 123M usem0 1:25 0.24% {radiusd} 1 usersLoad 4.88 4.34 4.45 Jan 8 17:18 Mem:KBREALVIRTUAL
No buffer space available on igb0
Hi # uname -a FreeBSD 9.0-STABLE FreeBSD 9.0-STABLE #7: Sat Jan 7 00:24:06 EET 2012 @:/usr/obj/usr/src/sys/KES_KERN_v9 i386 igb stops to work. saing 'No bufferspace available' no messages in /var/log/messages.log, /var/log/console.log, dmesg is empty tcpdump -n -i igb0 shows nothing. pull out LAN cable from igb0 card: # ifconfig igb0 igb0: flags=8d43UP,BROADCAST,RUNNING,PROMISC,OACTIVE,SIMPLEX,MULTICAST metric 0 mtu 1500 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO ether 00:1b:21:45:da:b8 inet6 fe80::21b:21ff:fe45:dab8%igb0 prefixlen 64 scopeid 0x1 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect (1000baseT full-duplex) status: active but expected: 'status: no carrier' other interface in system re0 continue to work fine. CAn you help me what is wrong? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: No buffer space available on igb0
additional info sysctl -a | grep igb IGB Core Lock,igb0:tx(0) igb0:tx(0),bpf interface lock igb0:tx(0),system map igb0:tx(0),UMA zone IGB Core Lock,igb0:tx(1) igb0:tx(1),system map igb0:tx(1),UMA zone IGB Core Lock,igb0:tx(2) igb0:tx(2),bpf interface lock igb0:tx(2),UMA zone IGB Core Lock,igb0:tx(3) igb0:tx(3),UMA zone IGB Core Lock,igb0:rx(3) igb0:rx(3),system map igb0:rx(3),UMA zone igb0:rx(3),UMA boot pages IGB Core Lock,igb1:tx(0) igb1:tx(0),bpf interface lock IGB Core Lock,igb1:tx(1) IGB Core Lock,igb1:tx(2) IGB Core Lock,igb1:tx(3) IGB Core Lock,igb1:rx(3) igb1:rx(3),system map igb1:rx(3),UMA zone hw.igb.rx_process_limit: 100 hw.igb.num_queues: 0 hw.igb.header_split: 0 hw.igb.max_interrupt_rate: 8000 hw.igb.enable_msix: 1 hw.igb.enable_aim: 1 hw.igb.txd: 1024 hw.igb.rxd: 1024 dev.igb.0.%desc: Intel(R) PRO/1000 Network Connection version - 2.2.5 dev.igb.0.%driver: igb dev.igb.0.%location: slot=0 function=0 dev.igb.0.%pnpinfo: vendor=0x8086 device=0x10c9 subvendor=0x8086 subdevice=0xa01c class=0x02 dev.igb.0.%parent: pci1 dev.igb.0.nvm: -1 dev.igb.0.enable_aim: 1 dev.igb.0.fc: 65536003 dev.igb.0.rx_processing_limit: 100 dev.igb.0.link_irq: 2 dev.igb.0.dropped: 0 dev.igb.0.tx_dma_fail: 0 dev.igb.0.rx_overruns: 0 dev.igb.0.watchdog_timeouts: 0 dev.igb.0.device_control: 1086325313 dev.igb.0.rx_control: 67141634 dev.igb.0.interrupt_mask: 4 dev.igb.0.extended_int_mask: 2147483648 dev.igb.0.tx_buf_alloc: 0 dev.igb.0.rx_buf_alloc: 0 dev.igb.0.fc_high_water: 58976 dev.igb.0.fc_low_water: 58960 dev.igb.0.queue0.no_desc_avail: 0 dev.igb.0.queue0.tx_packets: 25405982 dev.igb.0.queue0.rx_packets: 6059861 dev.igb.0.queue0.rx_bytes: 0 dev.igb.0.queue0.lro_queued: 0 dev.igb.0.queue0.lro_flushed: 0 dev.igb.0.queue1.no_desc_avail: 0 dev.igb.0.queue1.tx_packets: 115976 dev.igb.0.queue1.rx_packets: 6541438 dev.igb.0.queue1.rx_bytes: 0 dev.igb.0.queue1.lro_queued: 0 dev.igb.0.queue1.lro_flushed: 0 dev.igb.0.queue2.no_desc_avail: 0 dev.igb.0.queue2.tx_packets: 97730 dev.igb.0.queue2.rx_packets: 13955306 dev.igb.0.queue2.rx_bytes: 0 dev.igb.0.queue2.lro_queued: 0 dev.igb.0.queue2.lro_flushed: 0 dev.igb.0.queue3.no_desc_avail: 0 dev.igb.0.queue3.tx_packets: 402421 dev.igb.0.queue3.rx_packets: 11549500 dev.igb.0.queue3.rx_bytes: 0 dev.igb.0.queue3.lro_queued: 0 dev.igb.0.queue3.lro_flushed: 0 dev.igb.0.mac_stats.excess_coll: 0 dev.igb.0.mac_stats.single_coll: 0 dev.igb.0.mac_stats.multiple_coll: 0 dev.igb.0.mac_stats.late_coll: 0 dev.igb.0.mac_stats.collision_count: 0 dev.igb.0.mac_stats.symbol_errors: 0 dev.igb.0.mac_stats.sequence_errors: 0 dev.igb.0.mac_stats.defer_count: 0 dev.igb.0.mac_stats.missed_packets: 4434 dev.igb.0.mac_stats.recv_no_buff: 0 dev.igb.0.mac_stats.recv_undersize: 0 dev.igb.0.mac_stats.recv_fragmented: 0 dev.igb.0.mac_stats.recv_oversize: 0 dev.igb.0.mac_stats.recv_jabber: 0 dev.igb.0.mac_stats.recv_errs: 0 dev.igb.0.mac_stats.crc_errs: 0 dev.igb.0.mac_stats.alignment_errs: 0 dev.igb.0.mac_stats.coll_ext_errs: 0 dev.igb.0.mac_stats.xon_recvd: 0 dev.igb.0.mac_stats.xon_txd: 0 dev.igb.0.mac_stats.xoff_recvd: 0 dev.igb.0.mac_stats.xoff_txd: 0 dev.igb.0.mac_stats.total_pkts_recvd: 38126667 dev.igb.0.mac_stats.good_pkts_recvd: 38106904 dev.igb.0.mac_stats.bcast_pkts_recvd: 10354 dev.igb.0.mac_stats.mcast_pkts_recvd: 11 dev.igb.0.mac_stats.rx_frames_64: 510017 dev.igb.0.mac_stats.rx_frames_65_127: 3263713 dev.igb.0.mac_stats.rx_frames_128_255: 870429 dev.igb.0.mac_stats.rx_frames_256_511: 313001 dev.igb.0.mac_stats.rx_frames_512_1023: 459884 dev.igb.0.mac_stats.rx_frames_1024_1522: 32689860 dev.igb.0.mac_stats.good_octets_recvd: 48232959266 dev.igb.0.mac_stats.good_octets_txd: 8584384267 dev.igb.0.mac_stats.total_pkts_txd: 26021552 dev.igb.0.mac_stats.good_pkts_txd: 26021552 dev.igb.0.mac_stats.bcast_pkts_txd: 34 dev.igb.0.mac_stats.mcast_pkts_txd: 0 dev.igb.0.mac_stats.tx_frames_64: 9280722 dev.igb.0.mac_stats.tx_frames_65_127: 10937932 dev.igb.0.mac_stats.tx_frames_128_255: 701935 dev.igb.0.mac_stats.tx_frames_256_511: 122992 dev.igb.0.mac_stats.tx_frames_512_1023: 242761 dev.igb.0.mac_stats.tx_frames_1024_1522: 4735210 dev.igb.0.mac_stats.tso_txd: 449 dev.igb.0.mac_stats.tso_ctx_fail: 0 dev.igb.0.interrupts.asserts: 50371217 dev.igb.0.interrupts.rx_pkt_timer: 38106551 dev.igb.0.interrupts.rx_abs_timer: 0 dev.igb.0.interrupts.tx_pkt_timer: 0 dev.igb.0.interrupts.tx_abs_timer: 38106110 dev.igb.0.interrupts.tx_queue_empty: 26019865 dev.igb.0.interrupts.tx_queue_min_thresh: 0 dev.igb.0.interrupts.rx_desc_min_thresh: 0 dev.igb.0.interrupts.rx_overrun: 0 dev.igb.0.host.breaker_tx_pkt: 0 dev.igb.0.host.host_tx_pkt_discard: 0 dev.igb.0.host.rx_pkt: 353 dev.igb.0.host.breaker_rx_pkts: 0 dev.igb.0.host.breaker_rx_pkt_drop: 0 dev.igb.0.host.tx_good_pkt: 1687 dev.igb.0.host.breaker_tx_pkt_drop: 0 dev.igb.0.host.rx_good_bytes: 48232960754 dev.igb.0.host.tx_good_bytes: 8584384267 dev.igb.0.host.length_errors: 0 dev.igb.0.host.serdes_violation_pkt: 0 dev.igb.0.host.header_redir_missed: 0
how to force 'device' sources to not compile?
I have errors while compile kernel === et (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/KES_KERN_v9/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v9 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/et/../../dev/et/if_et.c /usr/src/sys/modules/et/../../dev/et/if_et.c: In function 'et_dma_alloc': /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: 'ET_RING_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: for each function it appears in.) /usr/src/sys/modules/et/../../dev/et/if_et.c:790: error: 'ET_STATUS_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:845: error: 'struct et_softc' has no member named 'sc_rx_mini_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:854: error: 'struct et_softc' has no member named 'sc_rx_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:864: error: 'struct et_softc' has no member named 'sc_tx_tag' how to disable 'et' from compiling? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: how to force 'device' sources to not compile?
Здравствуйте, Devin. Вы писали 6 января 2012 г., 23:42:54: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of ??? ??? Sent: Friday, January 06, 2012 1:40 PM To: freebsd-questions@freebsd.org Subject: how to force 'device' sources to not compile? I have errors while compile kernel === et (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc - DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/KES_KERN_v9/opt_global.h -I. -I@ -I@/contrib/altq DT -finline- limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 - fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v9 -mno-align-long-strings - mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding - fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls - Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions - Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/et/../../dev/et/if_et.c /usr/src/sys/modules/et/../../dev/et/if_et.c: In function 'et_dma_alloc': /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: 'ET_RING_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: for each function it appears in.) /usr/src/sys/modules/et/../../dev/et/if_et.c:790: error: 'ET_STATUS_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:845: error: 'struct et_softc' has DT no member named 'sc_rx_mini_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:854: error: 'struct et_softc' has DT no member named 'sc_rx_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:864: error: 'struct et_softc' has DT no member named 'sc_tx_tag' how to disable 'et' from compiling? DT Try adding: DT nodevice et DT To a custom kernel config. I have tryed to remove 'device et', 'nodevice et', 'device et' same results =( -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: SSH Access To Live CD? (Was Re: FBSD-9.0-RC3 Disk 1 ISO Bootable?)
Здравствуйте, Drew. Вы писали 6 января 2012 г., 23:44:28: DT On 1/6/2012 12:07 PM, Al Plant wrote: per...@pluto.rain.com wrote: Al Plant n...@hdk5.net wrote: I accessed the sshd from the new install screen as an option when I loaded it on the test box. I had to set up the lan manually to first get it up. Then you should be able to use ssh. I take it you either arranged for ssh to accept a direct root login, or added a non-root username. Does the new installer do one of these automatically, or is there more manual configuration involved? BSD Installer asks if you want to install sshd and click yes. Later you can go to another box on the lan and use the user account to ssh into the new box and su to root. This feature has been on the installs for a while. I used it on sysinstall on 7.*. DT OK, so you didn't actually install remotely via ssh. You installed DT locally and let the installer configure sshd for your new install and it DT was available after you rebooted into your new install. DT I'd like to actually be able to install via ssh. Basically I'd like ssh DT access to the Live CD so I could partition my drives for zfs prior to DT installing. And I'd like to do it from a computer that's connected to DT the web so I can read and copy/paste examples. DT Cheers, DT Drew mfsBSD - is interesting project, that allow you to install/ reinstall system remotely! -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[4]: how to force 'device' sources to not compile?
Здравствуйте, Devin. Вы писали 7 января 2012 г., 0:05:12: -Original Message- From: Коньков Евгений [mailto:kes-...@yandex.ru] Sent: Friday, January 06, 2012 1:46 PM To: Devin Teske Cc: freebsd-questions@freebsd.org Subject: Re[2]: how to force 'device' sources to not compile? Здравствуйте, Devin. Вы писали 6 января 2012 г., 23:42:54: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of ??? ??? Sent: Friday, January 06, 2012 1:40 PM To: freebsd-questions@freebsd.org Subject: how to force 'device' sources to not compile? I have errors while compile kernel === et (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc - DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/KES_KERN_v9/opt_global.h -I. -I@ -I@/contrib/altq DT -finline- limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 - fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v9 -mno-align-long-strings - mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding - fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls - Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith - Winline -Wcast-qual -Wundef -Wno- pointer-sign -fformat-extensions - Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/et/../../dev/et/if_et.c /usr/src/sys/modules/et/../../dev/et/if_et.c: In function 'et_dma_alloc': /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: 'ET_RING_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: for each function it appears in.) /usr/src/sys/modules/et/../../dev/et/if_et.c:790: error: 'ET_STATUS_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:845: error: 'struct et_softc' has DT no member named 'sc_rx_mini_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:854: error: 'struct et_softc' has DT no member named 'sc_rx_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:864: error: 'struct et_softc' has DT no member named 'sc_tx_tag' how to disable 'et' from compiling? DT Try adding: DT nodevice et DT To a custom kernel config. I have tryed to remove 'device et', 'nodevice et', 'device et' same results =( DT Apologies, let me clarify... DT I would create a custom kernel config by executing (assumptions: your kernel DT source is stored at /usr/src/sys): DT cd /usr/src/sys/i386/conf DT NOTE: Replace i386 with another architecture (such as amd64) depending on DT your needs. DT touch MYGENERIC DT NOTE: Followint steps will overwrite MYGENERIC in the current working DT directory if it already exists. If this file exists already, move it aside DT before proceeding. DT echo include GENERIC MYGENERIC DT echo ident MYGENERIC MYGENERIC DT echo machine i386 MYGENERIC DT NOTE: Again, replace i386 with your desired architecture if not i386. DT echo nodevice et MYGENERIC DT Now, configure and compile your kernel by executing: DT config -g MYGENERIC DT cd ../compile/MYGENERIC DT make cleandepend make depend make DT Your new kernel is named kernel in the current working directory. cd /usr/src/sys/i386/conf cp GENERIC MYKERN open MYKERN in editor, find 'device et' and change it with 'nodevice et' or, Ithink, this must work also: echo 'nodevice et' /usr/src/sys/i386/conf/MYKERN cd /usr/src echo bla-bla-bla /usr/src/sys/dev/et/if_et.c make buildkernel KERNCONF=MYKERN despite on there is 'nodevice et' system tryes to build 'et' and fail -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: how to force 'device' sources to not compile?
Здравствуйте, Michael. Вы писали 7 января 2012 г., 0:28:55: MP Коньков Евгений wrote: I have errors while compile kernel === et (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/KES_KERN_v9/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/KES_KERN_v9 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-sse -mno-mmx -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -c /usr/src/sys/modules/et/../../dev/et/if_et.c /usr/src/sys/modules/et/../../dev/et/if_et.c: In function 'et_dma_alloc': /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: 'ET_RING_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/et/../../dev/et/if_et.c:782: error: for each function it appears in.) /usr/src/sys/modules/et/../../dev/et/if_et.c:790: error: 'ET_STATUS_ALIGN' undeclared (first use in this function) /usr/src/sys/modules/et/../../dev/et/if_et.c:845: error: 'struct et_softc' has no member named 'sc_rx_mini_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:854: error: 'struct et_softc' has no member named 'sc_rx_tag' /usr/src/sys/modules/et/../../dev/et/if_et.c:864: error: 'struct et_softc' has no member named 'sc_tx_tag' how to disable 'et' from compiling? MP Why? Since others do not seem to have this problem wouldn't it instead be a MP better idea to discover what you are doing wrong? Simply trying to 'not MP build et' will not reveal what is wrong - fixing what is wrong would be MP better. MFC r228333,228335-228336,228362,228368-228369,228381: from yongari already FIX that, kernel is builded, but see: http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/163880 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[8]: high load system do not take all CPU time
I get it!! When one of netisr take 100% of CPU other netisr threads did not get free CPU time. http://piccy.info/view3/2444937/25e978a34d1da6b62e4e4602dee53d8b/ In this case network works without any problem last pid: 23632; load averages: 5.53, 5.76, 5.72up 6+00:09:50 20:37:43 292 processes: 12 running, 265 sleeping, 15 waiting CPU 0: 9.4% user, 0.0% nice, 18.4% system, 36.1% interrupt, 36.1% idle CPU 1: 2.4% user, 0.0% nice, 12.2% system, 62.4% interrupt, 23.1% idle CPU 2: 1.6% user, 0.0% nice, 4.3% system, 85.1% interrupt, 9.0% idle CPU 3: 1.6% user, 0.0% nice, 3.9% system, 86.3% interrupt, 8.2% idle Mem: 613M Active, 2788M Inact, 315M Wired, 122M Cache, 112M Buf, 59M Free Swap: 4096M Total, 30M Used, 4065M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 12 root -72- 0K 160K CPU33 43.4H 100.00% {swi1: netisr 3} 12 root -72- 0K 160K CPU22 28.6H 93.60% {swi1: netisr 1} 12 root -72- 0K 160K CPU11 954:56 50.68% {swi1: netisr 2} 11 root 155 ki31 0K32K RUN 0 96.7H 36.91% {idle: cpu0} 12 root -72- 0K 160K RUN 0 757:29 31.10% {swi1: netisr 0} 11 root 155 ki31 0K32K RUN 1 98.4H 21.44% {idle: cpu1} 12 root -92- 0K 160K WAIT0 17.8H 12.94% {irq256: re0} 11 root 155 ki31 0K32K RUN 2 97.7H 11.08% {idle: cpu2} 11 root 155 ki31 0K32K RUN 3 98.6H 10.16% {idle: cpu3} 13 root -16- 0K32K sleep 0 411:30 4.25% {ng_queue0} 13 root -16- 0K32K sleep 0 411:54 4.20% {ng_queue3} 13 root -16- 0K32K RUN 0 411:05 4.10% {ng_queue1} 13 root -16- 0K32K RUN 2 411:16 3.81% {ng_queue2} 5588 root210 222M 106M select 0 116:59 0.93% {mpd5} 5588 root210 222M 106M select 1 0:00 0.93% {mpd5} 5588 root210 222M 106M select 3 0:00 0.83% {mpd5} 5588 root210 222M 106M select 0 0:00 0.83% {mpd5} 5588 root210 222M 106M select 3 0:00 0.83% {mpd5} 5588 root210 222M 106M select 3 0:00 0.83% {mpd5} 5588 root210 222M 106M select 3 0:00 0.83% {mpd5} 32882 root210 15392K 5492K select 1 313:35 0.63% snmpd 5588 root210 222M 106M select 3 0:00 0.54% {mpd5} 5588 root200 222M 106M select 0 0:00 0.15% {mpd5} 5588 root200 222M 106M select 2 0:00 0.15% {mpd5} 5588 root200 222M 106M select 3 0:00 0.15% {mpd5} # netstat -W 1 re0 input(Total) output packets errs idrops bytespackets errs bytes colls 96245 0 0 65271414 115828 0 80031246 0 104903 0 0 70367758 121943 0 85634456 0 102693 0 0 69663018 118800 0 83847075 0 108654 0 0 73776089 125368 0 88487518 0 100216 0 0 68186983 118522 0 80985757 0 94819 0 0 63001720 107334 0 73020011 0 108428 0 0 73849974 127976 0 88674709 0 # vmstat -i interrupt total rate irq14: ata0 13841687 26 irq16: ehci0 782489 1 irq23: ehci1 1046847 2 cpu0:timer2140530447 4122 irq256: re0374422787721 cpu1:timer2132118859 4106 cpu3:timer2108526888 4061 cpu2:timer2131292574 4105 Total 8902562578 17147 1 usersLoad 5.87 5.62 5.65 Jan 5 20:41 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 737696 12284 315494038552 186192 count All 946508 19628 540325288672 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt760 cow 38031 total 227 128k 7771 14k 21k 13k 3996 1624 zfod 18 ata0 14 189 ozfod 1 ehci0 16 7.8%Sys 68.3%Intr 4.2%User 0.0%Nice 19.7%Idle 11%ozfod 2 ehci1 23 ||||||||||| daefr 4123 cpu0:timer ++ 1439 prcfr 21603 re0 256 184 dtbuf 3275 totfr 4102 cpu1:timer Namei Name-cache Dir-cache142271 desvn react 4083 cpu3:timer Callshits %hits % 46214 numvn pdwak 4099 cpu2:timer 26140 24882 95
Re[2]: reduce partition size. HELP
Здравствуйте, Polytropon. Вы писали 31 декабря 2011 г., 18:15:38: P On Sat, 31 Dec 2011 08:45:32 -0700 (MST), Warren Block wrote: On Sat, 31 Dec 2011, ??? ??? wrote: , Robert. ?? ?? 31 ??? 2011 ?., 5:16:33: RH =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: Is there any way to reduce partition size on live system? RH No. RH Basic steps: RH 0) go to single-user; unmount partition RH 1) backup affected partition; test backup RH 2) delete old partition RH 3) create new/smaller partition RH 4) restore from backup is there a way to goto singe-user through ssh? Single-user and unmounted partitions are desirable but not required. See dump(8) about the -L option. P Of course. And in addition, how about that? P NOT TESTED! READ *FULLY* BEFORE DOING ANYTHING! P For this example, /dev/ad0s1a is the / partition. P There are other partitions (such as /var or /home) P associated to other device files. Let's also P assume /dev/ad0s1e is the /var partition. P Onto the /var partition (or /home or any scratch P oartition), copy the content from / (primarily P because of /sbin, /bin and maybe /etc); maybe P use this approach: P # cd /var P # dump -0 -L -a -u -f - /dev/ad0s1a | restore -r -f - P Make sure /var does _not_ contain directory P names identical to those found on the / partition! P As I said, maybe use /scratch. :-) P (Oh, and you can of course shorten the dump P parameters to -0Lauf and restore's to -rf, P but I chose this representation for making P implicitely clear why to use _those_ options.) P Then umount / and mount /var (I'll keep this P for the example) as the new / (which now has P all the things / should have): P # umount /var P # umount -f / ; mount -t ufs /dev/ad0s1e / I have not tryed, but man says that 'root can not be unmounted'... (( -f The file system is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses are attempted. The root file system cannot be forcibly unmounted. P Then the device associated to / should be free P to be unmounted - a step desirable, but it should P be no a big problem to operate on the device P files associated with a _mounted_ partition. P The more I think about it... /var is a really P bad choice. Use /scratch, or at least /home. P AGAIN: NOT TESTED! MAY BLOWENFUSEN CORKENPOPPEN! :-) It will be very nice to have legacy installed mfsbsd in some reserved space in swap (like for kenel dumps) http://www.freebsd.org/doc/en/articles/remote-install/preparation.html and having, except single user mode, another option in boot promt: mfsbsd mode. and 'nextboot --mfsbsd' to set remotely that boot option. also be very very nice to have behaviour which loads mfsbsd in case of unproper unmount. Now it is promt to enter #/bin/sh path. Having mfsbsd installed allow remotely complete/correct all failed operations that cause normal loading. also AUTO booting mfsbsd in all cases that crash current system: panic, deadlock os something else, will allow to analise many things remotely and save, in some cases, many many time =) -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: reduce partition size. HELP
Здравствуйте, Robert. Вы писали 31 декабря 2011 г., 5:16:33: RH =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= writes: Is there any way to reduce partition size on live system? RH No. RH Basic steps: RH 0) go to single-user; unmount partition RH 1) backup affected partition; test backup RH 2) delete old partition RH 3) create new/smaller partition RH 4) restore from backup RH Robert Huff is there a way to goto singe-user through ssh? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
re0 + high load CPU, some tests
if this is interesting for anyone. looks strange: irq256 - WAIT and ng_queue - sleep are they wait each other? last pid: 70764; load averages: 69.14, 48.87, 26.25 up 9+03:32:40 21:01:21 197 processes: 101 running, 82 sleeping, 14 waiting CPU: 14.2% user, 0.0% nice, 44.7% system, 41.2% interrupt, 0.0% idle Mem: 192M Active, 343M Inact, 195M Wired, 112M Buf, 1259M Free Swap: 512M Total, 512M Free PID USERNAME PRI NICE SIZERES STATETIME WCPU COMMAND 12 root -76- 0K 112K WAIT19.2H 52.00% {irq256: re0} 13 root 0- 0K 8K sleep 609:11 37.06% ng_queue 69225 root 380 13420K 5748K select 2:49 2.10% snmpd 70764 root 41 -10 11184K 3984K RUN 0:00 2.05% perl5.10.1 7749 bind 370 62980K 49004K uwait 26:40 0.73% {named} 70762 root 360 9952K 2168K RUN 0:00 0.10% top 3772 root 36 -10 103M 87944K wait12:06 0.05% {mpd5} 3772 root 36 -10 103M 87944K RUN 0:00 0.05% {mpd5} # vmstat -i interrupt total rate irq14: ata0 1430344 1 irq20: hpet0 3255183935 4118 irq23: uhci0 ehci085 0 irq256: re0 2672832531 3381 Total 5929446895 7501 1 usersLoad 79.81 59.43 33.65 Dec 30 21:03 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 2838566264 721084 7948 1289560 count All 3847488944 287998818292 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt 54 cow 15828 total 102 33 50k 590 4377 15k 3991 242116 zfod 3 ata0 14 9 ozfod 4120 hpet0 20 39.8%Sys 50.1%Intr 10.1%User 0.0%Nice 0.0%Idle 7%ozfod uhci0 ehci ||||||||||| daefr 11705 re0 256 + 34 prcfr 33 dtbuf 206 totfr Namei Name-cache Dir-cache111725 desvn react Callshits %hits % 64006 numvn pdwak 21512151 100 27893 frevn pdpgs intrn Disks ad1 da0 pass0199448 wire KB/t 14.75 0.00 0.00208820 act tps 3 0 0338932 inact MB/s 0.04 0.00 0.00 cache %busy 1 0 0 1289560 free # uname -a FreeBSD bor 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Wed Feb 23 09:39:22 UTC 2011 @:/usr/obj/usr/src/sys/KES_KERN_v9 i386 # vmstat -z ITEM SIZE LIMIT USED FREE REQ FAIL SLEEP UMA Kegs: 128, 0, 92, 28, 92, 0, 0 UMA Zones: 224, 0, 92, 10, 92, 0, 0 UMA Slabs: 284, 0,1267, 21, 13143, 0, 0 UMA RCntSlabs: 544, 0, 727, 1, 727, 0, 0 UMA Hash: 128, 0, 2, 28, 3, 0, 0 16 Bucket: 76, 0, 38, 12, 38, 0, 0 32 Bucket: 140, 0, 53, 3, 54, 0, 0 64 Bucket: 268, 0, 89, 9, 93, 90, 0 128 Bucket: 524, 0, 861, 0,6885, 572, 0 VM OBJECT: 136, 0, 36908, 560, 8428863, 0, 0 MAP:140, 0, 7, 49, 7, 0, 0 KMAP ENTRY: 72, 57505, 31, 234, 105121, 0, 0 MAP ENTRY: 72, 0,1085, 982,19434967, 0, 0 DP fakepg: 72, 0, 0, 0, 0, 0, 0 SG fakepg: 72, 0, 0, 0, 0, 0, 0 mt_zone: 2060, 0, 268, 11, 268, 0, 0 16: 16, 0,4707, 571,57886292, 0, 0 32: 32, 0, 11879, 777,706645306, 0, 0 64: 64, 0,6726, 767,33742858, 0, 0 128:128, 0, 43378, 66482,61277757, 0, 0 256:256, 0,2808, 372,684799727, 0, 0 512:512, 0, 652, 236, 1592927, 0, 0 1024: 1024, 0, 532, 40, 605103, 0, 0 2048: 2048, 0, 269, 201,5976, 0, 0 4096: 4096, 0, 156, 27, 608758, 0, 0 Files: 56, 0, 193, 276,48647341, 0, 0 TURNSTILE:
reduce partition size. HELP
Hi, Freebsd-questions. Is there any way to reduce partition size on live system? server is reachable only by ssh. I need to reduce /usr to 300G /dev/ad0s1f1.8T188G1.4T11%/usr -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[8]: high load system do not take all CPU time
RB [drivelectomy -- 200+ lines] RB You've been told the following, *repeatedly*: RB Your hardware is not capable of keeping up with the level of network traffic RB it is being subjected to. RB Reaaltek cards and the 're' device driver are a *BAD*CHOICE* for systems with RB heavy network traffic. They're merely 'medium lousy' on a lightly-loaded RB system, but you don't notice the problems under light loads. RB You have two choices: RB 1) live with the crappy performance RB 2) get a better quality network card. without only one ipfw fw rule: queue 54 config pipe 54 queue 50 mask dst-ip 0x gred 0.002/10/30/0.1 275 queue 54 all from any not 80,110 to any in recv re0 works more! better: http://piccy.info/view3/2418620/59aa576c1006bbb046a13554d8468a6c/ with igb cards I get problems too! it put pptp traffice only to one queue0 instead to spread to all: queue0 queue1 queue2 queue3 =`( -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[5]: high load system do not take all CPU time
Здравствуйте, Коньков. Вы писали 25 декабря 2011 г., 18:10:17: КЕ Здравствуйте, wishmaster. КЕ Вы писали 19 декабря 2011 г., 6:54:08: w --- Original message --- w From: Коньков Евгений kes-...@yandex.ru w To: Daniel Staal dst...@usa.net w Date: 18 December 2011, 19:47:40 w Subject: Re[2]: high load system do not take all CPU time w w Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS is alleged to have said: How to debug why system do not use free CPU resouces? On this pictures you can see that CPU can not exceed 400tics http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ On these pictures you can see that problems begin with trafic on re0 when CPU load rise to maximum http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ But there is 25% CPU idle yet at that moment. DS snip # top -SIHP last pid: 93050; load averages: 1.45, 1.41, 1.29 up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 stopped, 20 waiting CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free Swap: 4096M Total, 15M Used, 4080M Free DS --As for the rest, it is mine. DS You are I/O bound; most of your time is spent in interrupts. The CPU is DS dealing with things as fast as it can get them, but it has to wait for the DS disk and/or network card to get them to it. The CPU is not your problem; DS if you need more performance, you need to tune the I/O. (And possibly get DS better I/O cards, if available.) DS Daniel T. Staal can I get interrupt limit or calculate it before that limit is reached? interrupt source is internal card: # vmstat -i interrupt total rate irq14: ata0 349756 78 irq16: ehci07427 1 irq23: ehci1 12150 2 cpu0:timer 18268704 4122 irq256: re0 85001260 19178 cpu1:timer 18262192 4120 cpu2:timer 18217064 4110 cpu3:timer 18210509 4108 Total 158329062 35724 Have you any good I/O tuning links to read? -- С уважением, Коньков mailto:kes-...@yandex.ru w w Your problem is in the poor performance LAN Card. Guy from w Calomel Org told you about it. He advised you to change to Intel Network Card. КЕ see at time 17:20 КЕ http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ КЕ at this point freeradius start to work slow because of no CPU time is КЕ allocated to it or is allocated to little and mpd5 start to drop users because of no response КЕ from radius. I do not know what idle were on 'top', sadly. КЕ does SNMP return right values for CPU usage? last pid: 14445; load averages: 6.88, 5.69, 5.33up 0+12:11:35 20:37:57 244 processes: 12 running, 211 sleeping, 3 stopped, 15 waiting, 3 lock CPU 0: 4.7% user, 0.0% nice, 13.3% system, 46.7% interrupt, 35.3% idle CPU 1: 2.0% user, 0.0% nice, 9.8% system, 69.4% interrupt, 18.8% idle CPU 2: 2.7% user, 0.0% nice, 8.2% system, 74.5% interrupt, 14.5% idle CPU 3: 1.2% user, 0.0% nice, 9.4% system, 78.0% interrupt, 11.4% idle Mem: 800M Active, 2708M Inact, 237M Wired, 60M Cache, 112M Buf, 93M Free Swap: 4096M Total, 25M Used, 4071M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 12 root -72- 0K 160K CPU11 159:49 100.00% {swi1: netisr 3} 12 root -72- 0K 160K *per-i 2 101:25 84.57% {swi1: netisr 1} 12 root -72- 0K 160K *per-i 3 60:10 40.72% {swi1: netisr 2} 12 root -72- 0K 160K *per-i 2 41:54 39.26% {swi1: netisr 0} 11 root 155 ki31 0K32K RUN 0 533:06 24.46% {idle: cpu0} 3639 root360 10460K 3824K CPU33 7:43 22.17% zebra 12 root -92- 0K 160K CPU00 93:56 14.94% {irq256: re0} 11 root 155 ki31 0K32K RUN 1 563:29 14.16% {idle: cpu1} 11 root 155 ki31 0K32K RUN 2 551:46 12.79% {idle: cpu2} 11 root 155 ki31 0K32K RUN 3 558:54 11.52% {idle: cpu3} 13 root -16- 0K32K sleep 3 16:56 4.93% {ng_queue2} 13 root -16- 0K32K RUN
Re[6]: high load system do not take all CPU time
Здравствуйте, Коньков. Вы писали 26 декабря 2011 г., 20:52:11: КЕ Здравствуйте, Коньков. КЕ Вы писали 25 декабря 2011 г., 18:10:17: КЕ Здравствуйте, wishmaster. КЕ Вы писали 19 декабря 2011 г., 6:54:08: w --- Original message --- w From: Коньков Евгений kes-...@yandex.ru w To: Daniel Staal dst...@usa.net w Date: 18 December 2011, 19:47:40 w Subject: Re[2]: high load system do not take all CPU time w w Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS is alleged to have said: How to debug why system do not use free CPU resouces? On this pictures you can see that CPU can not exceed 400tics http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ On these pictures you can see that problems begin with trafic on re0 when CPU load rise to maximum http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ But there is 25% CPU idle yet at that moment. DS snip # top -SIHP last pid: 93050; load averages: 1.45, 1.41, 1.29 up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 stopped, 20 waiting CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free Swap: 4096M Total, 15M Used, 4080M Free DS --As for the rest, it is mine. DS You are I/O bound; most of your time is spent in interrupts. The CPU is DS dealing with things as fast as it can get them, but it has to wait for the DS disk and/or network card to get them to it. The CPU is not your problem; DS if you need more performance, you need to tune the I/O. (And possibly get DS better I/O cards, if available.) DS Daniel T. Staal can I get interrupt limit or calculate it before that limit is reached? interrupt source is internal card: # vmstat -i interrupt total rate irq14: ata0 349756 78 irq16: ehci07427 1 irq23: ehci1 12150 2 cpu0:timer 18268704 4122 irq256: re0 85001260 19178 cpu1:timer 18262192 4120 cpu2:timer 18217064 4110 cpu3:timer 18210509 4108 Total 158329062 35724 Have you any good I/O tuning links to read? -- С уважением, Коньков mailto:kes-...@yandex.ru w w Your problem is in the poor performance LAN Card. Guy from w Calomel Org told you about it. He advised you to change to Intel Network Card. КЕ see at time 17:20 КЕ http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ КЕ at this point freeradius start to work slow because of no CPU time is КЕ allocated to it or is allocated to little and mpd5 start to drop users because of no response КЕ from radius. I do not know what idle were on 'top', sadly. КЕ does SNMP return right values for CPU usage? КЕ last pid: 14445; load averages: 6.88, 5.69, 5.33 up 0+12:11:35 20:37:57 КЕ 244 processes: 12 running, 211 sleeping, 3 stopped, 15 waiting, 3 lock КЕ CPU 0: 4.7% user, 0.0% nice, 13.3% system, 46.7% interrupt, 35.3% idle КЕ CPU 1: 2.0% user, 0.0% nice, 9.8% system, 69.4% interrupt, 18.8% idle КЕ CPU 2: 2.7% user, 0.0% nice, 8.2% system, 74.5% interrupt, 14.5% idle КЕ CPU 3: 1.2% user, 0.0% nice, 9.4% system, 78.0% interrupt, 11.4% idle КЕ Mem: 800M Active, 2708M Inact, 237M Wired, 60M Cache, 112M Buf, 93M Free КЕ Swap: 4096M Total, 25M Used, 4071M Free КЕ PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND КЕ12 root -72- 0K 160K CPU11 159:49 100.00% {swi1: netisr 3} КЕ12 root -72- 0K 160K *per-i 2 101:25 84.57% {swi1: netisr 1} КЕ12 root -72- 0K 160K *per-i 3 60:10 40.72% {swi1: netisr 2} КЕ12 root -72- 0K 160K *per-i 2 41:54 39.26% {swi1: netisr 0} КЕ11 root 155 ki31 0K32K RUN 0 533:06 24.46% {idle: cpu0} КЕ 3639 root360 10460K 3824K CPU33 7:43 22.17% zebra КЕ12 root -92- 0K 160K CPU00 93:56 14.94% {irq256: re0} КЕ11 root 155 ki31 0K32K RUN 1 563:29 14.16% {idle: cpu1} КЕ11 root 155 ki31 0K32K RUN 2 551:46 12.79% {idle: cpu2} КЕ11 root 155 ki31 0K32K RUN 3 558:54 11.52
Re[4]: high load system do not take all CPU time
Здравствуйте, wishmaster. Вы писали 19 декабря 2011 г., 6:54:08: w --- Original message --- w From: Коньков Евгений kes-...@yandex.ru w To: Daniel Staal dst...@usa.net w Date: 18 December 2011, 19:47:40 w Subject: Re[2]: high load system do not take all CPU time w w Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS is alleged to have said: How to debug why system do not use free CPU resouces? On this pictures you can see that CPU can not exceed 400tics http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ On these pictures you can see that problems begin with trafic on re0 when CPU load rise to maximum http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ But there is 25% CPU idle yet at that moment. DS snip # top -SIHP last pid: 93050; load averages: 1.45, 1.41, 1.29 up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 stopped, 20 waiting CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free Swap: 4096M Total, 15M Used, 4080M Free DS --As for the rest, it is mine. DS You are I/O bound; most of your time is spent in interrupts. The CPU is DS dealing with things as fast as it can get them, but it has to wait for the DS disk and/or network card to get them to it. The CPU is not your problem; DS if you need more performance, you need to tune the I/O. (And possibly get DS better I/O cards, if available.) DS Daniel T. Staal can I get interrupt limit or calculate it before that limit is reached? interrupt source is internal card: # vmstat -i interrupt total rate irq14: ata0 349756 78 irq16: ehci07427 1 irq23: ehci1 12150 2 cpu0:timer 18268704 4122 irq256: re0 85001260 19178 cpu1:timer 18262192 4120 cpu2:timer 18217064 4110 cpu3:timer 18210509 4108 Total 158329062 35724 Have you any good I/O tuning links to read? -- С уважением, Коньков mailto:kes-...@yandex.ru w w Your problem is in the poor performance LAN Card. Guy from w Calomel Org told you about it. He advised you to change to Intel Network Card. see at time 17:20 http://piccy.info/view3/2404329/dd9f28f8ac74d3d2f698ff14c305fe31/ at this point freeradius start to work slow because of no CPU time is allocated to it or is allocated to little and mpd5 start to drop users because of no response from radius. I do not know what idle were on 'top', sadly. does SNMP return right values for CPU usage? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: high load system do not take all CPU time
Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS is alleged to have said: How to debug why system do not use free CPU resouces? On this pictures you can see that CPU can not exceed 400tics http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ On these pictures you can see that problems begin with trafic on re0 when CPU load rise to maximum http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ But there is 25% CPU idle yet at that moment. DS snip # top -SIHP last pid: 93050; load averages: 1.45, 1.41, 1.29 up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 stopped, 20 waiting CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free Swap: 4096M Total, 15M Used, 4080M Free DS --As for the rest, it is mine. DS You are I/O bound; most of your time is spent in interrupts. The CPU is DS dealing with things as fast as it can get them, but it has to wait for the DS disk and/or network card to get them to it. The CPU is not your problem; DS if you need more performance, you need to tune the I/O. (And possibly get DS better I/O cards, if available.) that is strange, but I get worse network perfomance with *igb* than I have with *re* even with less! network traffic I get 100% CPU load than I have with for comparison: in case of re I have 350Mbit now just 250Mbit and already reach limit. http://piccy.info/view3/2397812/70bfa4cb5f2530e99ce298b7c1d9b94d/ # uname -a FreeBSD meta-up 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #3: Wed Dec 21 14:29:05 EET 2011 :/usr/obj/usr/src/sys/KES_KERN_v10 i386 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
about igb queue
I have configured that I receive traffic from LAN via igb1 and it is leaving to world via igb0 but when I see processes I see that on igb0 there is 4 queues but on igb1 it is only one. Do I must tune something or all is right here? top -SIHP PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K32K RUN 1 287:27 70.21% idle{idle: cpu1} 11 root 155 ki31 0K32K RUN 3 292:42 67.77% idle{idle: cpu3} 11 root 155 ki31 0K32K CPU22 286:38 65.97% idle{idle: cpu2} 11 root 155 ki31 0K32K RUN 0 282:58 57.13% idle{idle: cpu0} 12 root -92- 0K 248K WAIT1 7:01 5.32% intr{irq257: igb0:que} 12 root -92- 0K 248K WAIT0 9:35 5.03% intr{irq256: igb0:que} 12 root -92- 0K 248K WAIT2 8:14 4.25% intr{irq258: igb0:que} 12 root -92- 0K 248K WAIT3 9:48 3.71% intr{irq259: igb0:que} 13 root -16- 0K32K sleep 2 6:42 3.08% ng_queue{ng_queue3} 13 root -16- 0K32K sleep 3 6:42 2.98% ng_queue{ng_queue1} 13 root -16- 0K32K sleep 0 6:42 2.93% ng_queue{ng_queue2} 13 root -16- 0K32K sleep 2 6:43 2.69% ng_queue{ng_queue0} 7371 root210 15388K 5496K select 2 5:04 0.73% snmpd 12 root -92- 0K 248K WAIT0 1:52 0.63% intr{irq261: igb1:que} ___ 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: about igb queue
Здравствуйте, Коньков. Вы писали 22 декабря 2011 г., 20:22:38: КЕ I have configured that I receive traffic from LAN via igb1 and it is КЕ leaving to world via igb0 КЕ but when I see processes I see that on igb0 there is 4 queues but on КЕ igb1 it is only one. Do I must tune something or all is right here? КЕ top -SIHP КЕPID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND КЕ11 root 155 ki31 0K32K RUN 1 287:27 70.21% idle{idle: cpu1} КЕ11 root 155 ki31 0K32K RUN 3 292:42 67.77% idle{idle: cpu3} КЕ11 root 155 ki31 0K32K CPU22 286:38 65.97% idle{idle: cpu2} КЕ11 root 155 ki31 0K32K RUN 0 282:58 57.13% idle{idle: cpu0} КЕ12 root -92- 0K 248K WAIT1 7:01 5.32% intr{irq257: igb0:que} КЕ12 root -92- 0K 248K WAIT0 9:35 5.03% intr{irq256: igb0:que} КЕ12 root -92- 0K 248K WAIT2 8:14 4.25% intr{irq258: igb0:que} КЕ12 root -92- 0K 248K WAIT3 9:48 3.71% intr{irq259: igb0:que} КЕ13 root -16- 0K32K sleep 2 6:42 3.08% ng_queue{ng_queue3} КЕ13 root -16- 0K32K sleep 3 6:42 2.98% ng_queue{ng_queue1} КЕ13 root -16- 0K32K sleep 0 6:42 2.93% ng_queue{ng_queue2} КЕ13 root -16- 0K32K sleep 2 6:43 2.69% ng_queue{ng_queue0} КЕ 7371 root210 15388K 5496K select 2 5:04 0.73% snmpd КЕ12 root -92- 0K 248K WAIT0 1:52 0.63% intr{irq261: igb1:que} getting information about interrupts shows that there is not interrupts from igb1 char igb_driver_version[] = version - 2.2.5; 2 usersLoad 0.50 0.53 0.50 Dec 22 23:59 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 332272 13268 206228830088 122004 count All 494672 19520 433359290716 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt117 cow 31201 total 1 172 72k 889 4135 14k 4041 660296 zfodata0 14 10 ozfod 5 ata1 15 3.9%Sys 5.0%Intr 0.4%User 0.0%Nice 90.7%Idle 3%ozfod 2 ehci0 16 ||||||||||| daefr 2 ehci1 23 ==++ 378 prcfr 4126 cpu0:timer 33 dtbuf 450 totfr 2920 igb0:que 0 Namei Name-cache Dir-cache110737 desvn react 2680 igb0:que 1 Callshits %hits % 37963 numvn pdwak 2187 igb0:que 2 45044492 100 27657 frevn pdpgs 2550 igb0:que 3 intrn igb0:link Disks ada0 da0 pass0 pass1 270288 wire 4355 igb1:que 0 KB/t 30.96 0.00 0.00 0.00 316488 act 3 igb1:que 1 tps 5 0 0 0 1264188 inact 1 igb1:que 2 MB/s 0.16 0.00 0.00 0.00 95204 cache 2 igb1:que 3 %busy 0 0 0 0 26800 freeigb1:link 114912 re0 266 4127 cpu1:timer 4116 cpu3:timer 4125 cpu2:timer -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
can not post PR
I get this letter, but when going to link I get: that there is not such PR (( Thank you very much for your problem report. It has the internal identification `misc/163479'. The individual assigned to look at your report is: freebsd-bugs. You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=163479 Category: misc Responsible:freebsd-bugs Synopsis: can not update from 9 to 10-Current remotely Arrival-Date: Tue Dec 20 15:10:08 UTC 2011 I have reported 3 PR :`-( and it seems I loose all work I have made to report problems HELP! )) -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: can not post PR
Здравствуйте, Коньков. Вы писали 20 декабря 2011 г., 17:15:03: КЕ I get this letter, but when going to link I get: that there is not КЕ such PR (( КЕ Thank you very much for your problem report. КЕ It has the internal identification `misc/163479'. КЕ The individual assigned to look at your КЕ report is: freebsd-bugs. КЕ You can access the state of your problem report at any time КЕ via this link: КЕ http://www.freebsd.org/cgi/query-pr.cgi?pr=163479 Category: misc Responsible:freebsd-bugs Synopsis: can not update from 9 to 10-Current remotely Arrival-Date: Tue Dec 20 15:10:08 UTC 2011 КЕ I have reported 3 PR :`-( and it seems I loose all work I have made to КЕ report problems КЕ HELP! )) heh =) It is appeared after 10mins delay. thank you all. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
torrent file for FreeBSD iso
It will be very, very handy to put here .torrent file for download FreeBSD .iso ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/ISO-IMAGES/9.0/ Thank you -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: high load system do not take all CPU time
Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS is alleged to have said: How to debug why system do not use free CPU resouces? On this pictures you can see that CPU can not exceed 400tics http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ On these pictures you can see that problems begin with trafic on re0 when CPU load rise to maximum http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ But there is 25% CPU idle yet at that moment. DS snip # top -SIHP last pid: 93050; load averages: 1.45, 1.41, 1.29 up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 stopped, 20 waiting CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free Swap: 4096M Total, 15M Used, 4080M Free DS --As for the rest, it is mine. DS You are I/O bound; most of your time is spent in interrupts. The CPU is DS dealing with things as fast as it can get them, but it has to wait for the DS disk and/or network card to get them to it. The CPU is not your problem; DS if you need more performance, you need to tune the I/O. (And possibly get DS better I/O cards, if available.) DS Daniel T. Staal can I get interrupt limit or calculate it before that limit is reached? interrupt source is internal card: # vmstat -i interrupt total rate irq14: ata0 349756 78 irq16: ehci07427 1 irq23: ehci1 12150 2 cpu0:timer 18268704 4122 irq256: re0 85001260 19178 cpu1:timer 18262192 4120 cpu2:timer 18217064 4110 cpu3:timer 18210509 4108 Total 158329062 35724 Have you any good I/O tuning links to read? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
high load system do not take all CPU time
How to debug why system do not use free CPU resouces? On this pictures you can see that CPU can not exceed 400tics http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ On these pictures you can see that problems begin with trafic on re0 when CPU load rise to maximum http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ But there is 25% CPU idle yet at that moment. # sysctl -a net.isr net.isr.numthreads: 4 net.isr.maxprot: 16 net.isr.defaultqlimit: 256 net.isr.maxqlimit: 10240 net.isr.bindthreads: 0 net.isr.maxthreads: 4 net.isr.direct: 0 net.isr.direct_force: 0 # sysctl -a kern.smp kern.smp.forward_signal_enabled: 1 kern.smp.topology: 0 kern.smp.cpus: 4 kern.smp.disabled: 0 kern.smp.active: 1 kern.smp.maxcpus: 32 kern.smp.maxid: 3 # uname -a FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES i386 sysctl.conf #ngctl: can't create node: No buffer space available #kern.ipc.maxsockbuf=8388608 #ngctl: send msg: No buffer space available net.graph.recvspace=524288 #Нужно ли тюнить? net.graph.maxdgram=524288 #Чтобы после пайпа пакет шел дальше по файрволу net.inet.ip.fw.one_pass=0 #Или можно использовать команду: ipfw disable one_pass #man ipfw: Fast mode allows certain packets to bypass dummynet scheduler if packet flow does not exceed pipe's bandwidth net.inet.ip.dummynet.io_fast=1 ## ## https://calomel.org/network_performance.html ## kern.ipc.maxsockbuf=16777216 # kernel socket buffer space kern.ipc.nmbclusters=262144 # kernel mbuf space raised 275MB of kernel dedicated ram kern.ipc.somaxconn=32768 # size of the listen queue for accepting new TCP connections kern.ipc.maxsockets=204800# increase the limit of the open sockets #kern.randompid=348# randomized processes id's net.inet.icmp.icmplim=50 # reply to no more than 50 ICMP packets per sec net.inet.ip.process_options=0 # do not processes any TCP options in the TCP headers net.inet.ip.redirect=0# do not allow ip header redirects net.inet.ip.rtexpire=2# route cache expire in two seconds net.inet.ip.rtminexpire=2 # net.inet.ip.rtmaxcache=256# route cache entries increased #net.inet.icmp.drop_redirect=1 # drop icmp redirects #net.inet.tcp.blackhole=2 # drop any TCP packets to closed ports net.inet.tcp.delayed_ack=0# no need to delay ACK's net.inet.tcp.drop_synfin=1# drop TCP packets which have SYN and FIN set net.inet.tcp.msl=15000 # close lost tcp connections in 7.5 seconds (default 30) net.inet.tcp.nolocaltimewait=1# do not create TIME_WAIT state for localhost #net.inet.tcp.path_mtu_discovery=0 # disable MTU path discovery net.inet.tcp.recvbuf_max=16777216 # TCP receive buffer space net.inet.tcp.recvspace=8192 # decrease buffers for incoming data net.inet.tcp.sendbuf_max=16777216 # TCP send buffer space net.inet.tcp.sendspace=16384 # decrease buffers for outgoing data #net.inet.udp.blackhole=1 # drop any UDP packets to closed ports security.bsd.see_other_uids=0 # keeps users segregated to their own processes list security.bsd.see_other_gids=0 # net.inet.ip.fastforwarding=1 #allow packet to leave packet without latency if bandwidth not exceed net.inet.ip.intr_queue_maxlen=1024 #256 #interrupt queue length #FireBird kern.ipc.shmall=32768 kern.ipc.shmmax=134217728 kern.ipc.semmap=256 as you can see net.isr.maxthreads=4 # Max number of threads for NIC IRQ balancing (4 cores in box) and there is really 4 netisr #top -SIHP last pid: 93050; load averages: 1.45, 1.41, 1.29 up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 stopped, 20 waiting CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free Swap: 4096M Total, 15M Used, 4080M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K32K RUN 2 155.8H 77.59% {idle: cpu2} 11 root 155 ki31 0K32K CPU33 158.1H 75.98% {idle: cpu3} 11 root 155 ki31 0K32K CPU00 150.5H 71.14% {idle: cpu0} 11 root 155 ki31 0K32K CPU11 157.2H 63.87% {idle: cpu1} 12 root -72- 0K 160K WAIT1 65.0H 28.56% {swi1: netisr 3} 12 root -92- 0K 160K WAIT0 26.2H 16.41%
problem with stoping process
I am trying to stop process /usr/local/etc/rc.d/radiusd top Stopping radiusd. Waiting for PIDS: 27618 top 27618 freeradius2 20 -20 333M 295M STOP0 4:42 0.00% radiusd ps aux freeradius 27618 0.0 7.4 341144 302528 ?? TLs Fri05AM 685:27.16 /usr/local/sbin/radiusd nothing is happen Why process do not stop? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
How to boot new kernel
Hi Freebsd-questions. In system two disks now: # kenv | grep dev currdev=disk1s1a: loaddev=disk1s1a: loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local vfs.root.mountfrom=ufs:/dev/ad8s1a kern.devalias.ada0=ad4 kern.devalias.ada1=ad8 one was with installed FreeBSD (ad4) and second is empty (ad8) I install new system to ad8 and add to (ad4) /boot/loader.conf next line: vfs.root.mountfrom=ufs:/dev/ad8s1a so next time I booted from second hdd. But now I have problem. How to boot kernel from second device instead of first one. BIOS starts to run loader from first device (ad4) and kernel is booted from it but all other is mounted from (ad8) # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad8s1a 1G117M809M13%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad8s1e 1G267M660M29%/tmp /dev/ad8s1f 39G 23G 13G64%/usr /dev/ad8s1d5.8G3.9G1.5G72%/var procfs 4.0k4.0k 0B 100%/proc devfs 1.0k1.0k 0B 100%/var/named/dev so in memory I have old kenel uname -a shows that #0: Sat Nov 12 20:17:02 EET 2011 (I have compiled new kenel on 2011 12 03 ) but on disk all is new: kernel and world. How to force to load kernel from second drive (without access to machine directly)? ___ 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[2]: How to boot new kernel
HI, krad. How I can figure out the correspondence of bios drive number and freebsd numbering? Have a look at boot.config file you should be able to do something there On Dec 11, 2011 8:57 PM, Kon'kov Evgenij [1]kes-...@yandex.ru wrote: Hi Freebsd-questions. In system two disks now: # kenv | grep dev currdev=disk1s1a: loaddev=disk1s1a: loader_conf_files=/boot/device.hints /boot/loader.conf /boot/loader.conf.local vfs.root.mountfrom=ufs:/dev/ad8s1a kern.devalias.ada0=ad4 kern.devalias.ada1=ad8 one was with installed FreeBSD (ad4) and second is empty (ad8) I install new system to ad8 and add to (ad4) /boot/loader.conf next line: vfs.root.mountfrom=ufs:/dev/ad8s1a so next time I booted from second hdd. But now I have problem. How to boot kernel from second device instead of first one. BIOS starts to run loader from first device (ad4) and kernel is booted from it but all other is mounted from (ad8) # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad8s1a 1G117M809M13%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad8s1e 1G267M660M29%/tmp /dev/ad8s1f 39G 23G 13G64%/usr /dev/ad8s1d5.8G3.9G1.5G72%/var procfs 4.0k4.0k 0B 100%/proc devfs 1.0k1.0k 0B 100%/var/named/dev so in memory I have old kenel uname -a shows that #0: Sat Nov 12 20:17:02 EET 2011 (I have compiled new kenel on 2011 12 03 ) but on disk all is new: kernel and world. How to force to load kernel from second drive (without access to machine directly)? -- S uvazheniem, Kon'kov [2]mailto:kes-...@yandex.ru References 1. mailto:kes-...@yandex.ru 2. mailto:kes-...@yandex.ru ___ 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
cvsup question
Hi cvsup -g -L 2 /usr/local/etc/cvsup/cvsup-ports.conf I have next conf for cvsup cat cvsup-ports.conf *default host=cvsup6.jp.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs date=2008.10.15.00.00.00 *default delete use-rel-suffix *default compress ports-databases date=2008.10.15.00.00.00 But when I update I see 'edits' on 2011 year despite on I notice to use 2008 year Edit ports/databases/zodb3/pkg-plist Add delta 1.13 2011.11.21.07.12.23 wen Add delta 1.12 2011.02.14.01.08.24 wen Add delta 1.11 2011.02.13.01.39.46 wen Add delta 1.10 2010.10.12.13.38.46 wen How that can be? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: run radius in debug mode with screen
Hi, Alan while using this verion FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1, built on Jan 6 2009 at 10:52:08 I can run radius as /usr/local/bin/screen -d -m /usr/bin/nice -n -20 /r/radiusd debug What is /r/radiusd debug ? radiusd - is rc script in freebsd. actually it is /usr/local/etc/rc.d/radiusd debug ... extra_commands=reload debug radiusd_debug() { radiusd_flags=-X ${radiusd_flags} run_rc_command start } # ps ax | grep radiusd 51082 1 S 14:17.69 /usr/local/sbin/radiusd -X but with FreeRADIUS Version 2.1.10, for host i386-portbld-freebsd9.0, built on Nov 28 2011 at 00:20:11 it exit without any messages. Can you help me please to resolve this problem? Use the documented command-line options. problem is that that 'radiusd -X' is detached from stdout so now it is impossible to run it in screen =( radiusd: FreeRADIUS Version 2.1.10 uname -a FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES i386 in this radiusd: FreeRADIUS Version 2.1.3 I can run radius in screen -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: sudo log messages
Здравствуйте, Polytropon. Вы писали 4 декабря 2011 г., 15:41:45: P On Sun, 4 Dec 2011 05:34:19 +0200, Коньков Евгений wrote: Tell me please how to stop sudo to food /var/log/messages? P ADDITION: Of course I meant /usr/local/etc/sutoers, P NOT sudo.conf. P Instead of logging via syslog (to /var/log/messages), P why not use a specific log file for sudo? Add those P lines to the sudoers file: P Defaults logfile=/var/log/sudo.log P Defaults !syslog P Make sure /var/log/sudo.log exists, and maybe use P newsyslog.conf to deal with log rotation and archiving. P However, you can easily purge sudo log information P this way, if required. P The file /usr/local/share/doc/sudo/sample.sudoers P contains an example. yes, that is not problem, but I want to control logging in one place not in each config file of service I have ran on machine. I have thought that this !sudo *.* /var/log/sudo.log will take off logging in /var/log/messages but this work as log to /var/log/messages and to /var/log/sudo.log =(( -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
sudo log messages
hi I add line to syslog.conf and killall -HUP syslogd Tell me please how to stop sudo to food /var/log/messages? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: ipfw And ping
Здравствуйте, Tim. Вы писали 2 декабря 2011 г., 1:25:04: TD I have a fairly restrictive ipfw setup on a FBSD 8.2-STABLE machine. TD Pings were not getting through so I added this near the top TD of the rule set: TD# TD# Allow icmp TD# TD${FWCMD} add allow icmp from any to any ${FWCMD} add 1 allow icmp from any to any DO NOT FORGET RULE NUMBERS ;-) TD It does work but, two questions: TD 1) Is there a better way? TD 2) Will this cause harm or otherwise expose the server to some vulnerability? TD ___ TD freebsd-questions@freebsd.org mailing list TD http://lists.freebsd.org/mailman/listinfo/freebsd-questions TD To unsubscribe, send any mail to TD freebsd-questions-unsubscr...@freebsd.org -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
run radius in debug mode with screen
while using this verion FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1, built on Jan 6 2009 at 10:52:08 I can run radius as /usr/local/bin/screen -d -m /usr/bin/nice -n -20 /r/radiusd debug but with FreeRADIUS Version 2.1.10, for host i386-portbld-freebsd9.0, built on Nov 28 2011 at 00:20:11 it exit without any messages. Can you help me please to resolve this problem? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: run radius in debug mode with screen
sorry, not this maillist КЕ while using this verion КЕ FreeRADIUS Version 2.1.3, for host i386-portbld-freebsd7.1, built on Jan 6 2009 at 10:52:08 КЕ I can run radius as КЕ /usr/local/bin/screen -d -m /usr/bin/nice -n -20 /r/radiusd debug КЕ but with КЕ FreeRADIUS Version 2.1.10, for host i386-portbld-freebsd9.0, built on Nov 28 2011 at 00:20:11 КЕ it exit without any messages. КЕ Can you help me please to resolve this problem? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
Interrupts statistic differ
Hi Why statistic for total interrupts are differ? 38178 total in case of 'systat -v' 33309 Total in case of 'vmstat -i' # systat -v 1 usersLoad 1.78 1.76 1.86 Nov 20 13:48 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 703196 14508 228552819332 1041760 count 19 All 878044 23120 449418864368 pages 20 Proc:Interrupts r p d s w Csw Trp Sys Int Sof Flt463 cow 38178 total 2 149 201k 9402 37k 21k 30k 3187 1778 zfod 22 ata0 14 93 ozfod 1 ehci0 16 11.9%Sys 27.8%Intr 7.3%User 0.0%Nice 53.0%Idle 5%ozfod 2 ehci1 23 ||||||||||| daefr 4128 cpu0:timer ==++ 1129 prcfr 21641 re0 256 115 dtbuf 2374 totfr 4128 cpu1:timer Namei Name-cache Dir-cache142271 desvn react 4128 cpu3:timer Callshits %hits % 92587 numvn pdwak 4128 cpu2:timer 45539 45539 100 35556 frevn pdpgs intrn Disks ad0 da0 pass0287660 wire KB/t 19.37 0.00 0.00275972 act tps 22 0 0 2386196 inact MB/s 0.42 0.00 0.00 244 cache %busy 2 0 0 1041516 free # vmstat -i interrupt total rate irq14: ata0 1393012 7 irq16: ehci0 299862 1 irq23: ehci1 442436 2 cpu0:timer 775750767 4122 irq256: re0 3196247374 16986 cpu1:timer 769445708 4089 cpu3:timer 752495866 3999 cpu2:timer 771600218 4100 Total 6267675243 33309 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
BUG: scp -pr does not copy directories that have ':' sign in their names
HI, Tri. scp -pr * name@host:/home/dir does not copy files which have ':' sign in their names -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: net.isr.direct?
Здравствуйте, Виталий. Вы писали 18 ноября 2011 г., 21:30:38: ВВ --- Original message --- ВВ From: Damien Fleuriot m...@my.gd ВВ To: freebsd-questions@freebsd.org ВВ Date: 18 November 2011, 19:22:36 ВВ Subject: Re: net.isr.direct? ВВ On 11/18/11 5:22 PM, Виталий Владимирович wrote: I am attempting to set below sysctls /boot/loader.conf net.isr.direct=1 net.isr.direct_force=1 but after rebut it still sysctl -a|grep isr net.isr.direct: 0 net.isr.direct_force: 0 Why it still zero? OS: FreeBSD-RC1 amd64 ВВ I think this is because I am testing on VirtualBox, not on the live hardware machine? very similar to, because of I am using that on: CURRENT-10 and have no problem. See start time output to console and see errors why it can not set those. #/etc/syslog.conf # uncomment this to log all writes to /dev/console to /var/log/console.log console.info/var/log/console.log -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: freebsd tuning
CO Kes, CO First, understand that the Realtek (re0) cards have significant CO network problems when trying to saturate a network. If you have the CO ability try switching to a Intel card (em0) for a lot better CO performance, lower interrupts and less CPU usage. I know that problems with realtek. CO Why interrupts are not handled by more CPUs than one? This is probably CO the way the driver was built. It is a single processes which is using CO the big lock method. This keeps all activity for the drive bound to CO a single CPU core. # sysctl net.isr net.isr.maxthreads: 3 net.isr.direct: 0 net.isr.direct_force: 0 # sysctl -a | grep HZ options HZ=4000 # sysctl -a | grep hz kern.clockrate: { hz = 4000, tick = 250, profhz = 8128, stathz = 127 } kern.hz: 4000 #top -SIHP last pid: 54308; load averages: 1.08, 1.43, 1.55 up 0+13:17:32 22:49:42 211 processes: 5 running, 187 sleeping, 19 waiting CPU 0: 4.8% user, 0.0% nice, 14.3% system, 22.2% interrupt, 58.7% idle CPU 1: 0.0% user, 0.0% nice, 6.3% system, 22.2% interrupt, 71.4% idle CPU 2: 0.0% user, 0.0% nice, 11.1% system, 20.6% interrupt, 68.3% idle CPU 3: 0.0% user, 0.0% nice, 9.5% system, 17.5% interrupt, 73.0% idle Mem: 242M Active, 1731M Inact, 200M Wired, 316K Cache, 112M Buf, 1725M Free Swap: 4096M Total, 4096M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K32K CPU11 539:41 80.71% {idle: cpu1} 11 root 155 ki31 0K32K RUN 2 541:42 79.39% {idle: cpu2} 11 root 155 ki31 0K32K CPU33 546:52 78.81% {idle: cpu3} 11 root 155 ki31 0K32K CPU00 532:04 77.39% {idle: cpu0} 12 root -72- 0K 152K WAIT1 184:33 24.56% {swi1: netisr 2} 12 root -72- 0K 152K WAIT2 281:46 22.07% {swi1: netisr 0} 12 root -72- 0K 152K WAIT3 89:43 13.96% {swi1: netisr 3} 12 root -92- 0K 152K WAIT0 112:43 13.67% {irq256: re0} 13 root -16- 0K32K sleep 1 50:04 4.93% {ng_queue3} 13 root -16- 0K32K sleep 1 50:01 4.93% {ng_queue2} 13 root -16- 0K32K sleep 3 49:59 4.93% {ng_queue1} 13 root -16- 0K32K sleep 2 50:02 4.88% {ng_queue0} 6989 root210 13408K 5576K select 0 17:37 2.39% snmpd 5523 root200 76928K 52252K select 2 11:31 0.05% {mpd5} in this case I get *all* cpu work. I will watch for it: will it can process speed over 400Mbit. Before that was limit. I think this notices will be usefull for people with this NIC CO or One CPU handle interrupts from one card, so I need two NICs?... Two CO nics would be a very good idea. You will see better performance a less CO IRQ splitting. CO Why it is lowered by twice? The CPU load is when the CPU is busy and CO can not be used by any other processes. This does _not_ mean that CO processing is going on, just that the CPU is unavailable. IRQ's are CO like locks and they keep the cpu from being use and hold on to the CO cpu. So, irq256 is holding onto the cpu, but not actually processing CO any data. This is not very efficient as you can see. this router process 300Mbit ease, but when it rise to 400Mbit and hold about 5 min it fall to 200Mbit. At 200Mbit can work easy! but it is like hooked and still 100% loaded. other 3CPUs have many idle time. twice fall I think binded to TCP stack: it see loses and try to send data twice slower CO Try changing cards to an Intel variety and use two nics in total; one CO for incoming connections and one for outgoing. On the network CO performace page we specify the cards we are currently using. Intel CO PRO/1000 GT PCI PWLA8391GT can be found on newegg for as little as $31 CO each. I have Intel, but I you say: it is unnecessary to buy expensive hard in many cases budged solution work very well. =) CO Hope this helps. Thank you. Hope to see this notices in the article and will happy if that help to other peoples. Thank you again. CO -- COCalomel @ https://calomel.org COOpen Source Research and Reference CO On Fri, Nov 18, 2011 at 02:41:15AM -0500, ??? ??? wrote: Hi. FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 :/usr/obj/usr/src/sys/PAE_KES i386 I have some quiestions about FreeBSD tunig https://calomel.org/network_performance.html I have re0 Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c) and core i3 2100 and two vlans on it: the one for incoming and the other for outgoing packets. #top -SIHP last pid: 14902; load averages: 1.92, 2.12, 1.96up 0+17:47:31 19:59:04 226 processes: 12 running, 197 sleeping, 17 waiting CPU 0: 0.6% user, 0.0% nice, 1.2% system, 88.3% interrupt, 9.8% idle CPU 1: 1.8% user, 0.0% nice, 29.4% system, 0.0% interrupt, 68.7% idle CPU 2: 3.7% user, 0.0% nice, 30.7% system, 0.0% interrupt, 65.6% idle CPU 3: 3.1% user, 0.0% nice, 25.8% system, 0.0%
process interrupts by multiply CPUs
Hi Can I allow to process interrupts from re0 by multiples CPUs I get one CPU overload while other idle last pid: 14902; load averages: 1.92, 2.12, 1.96up 0+17:47:31 19:59:04 226 processes: 12 running, 197 sleeping, 17 waiting CPU 0: 0.6% user, 0.0% nice, 1.2% system, 88.3% interrupt, 9.8% idle CPU 1: 1.8% user, 0.0% nice, 29.4% system, 0.0% interrupt, 68.7% idle CPU 2: 3.7% user, 0.0% nice, 30.7% system, 0.0% interrupt, 65.6% idle CPU 3: 3.1% user, 0.0% nice, 25.8% system, 0.0% interrupt, 71.2% idle Mem: 264M Active, 1641M Inact, 272M Wired, 832K Cache, 112M Buf, 1721M Free Swap: 4096M Total, 4096M Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 12 root -92- 0K 152K CPU00 354:30 96.78% {irq256: re0} 11 root 155 ki31 0K32K RUN 1 929:16 77.83% {idle: cpu1} 11 root 155 ki31 0K32K RUN 3 922:41 72.95% {idle: cpu3} 11 root 155 ki31 0K32K RUN 2 904:02 71.63% {idle: cpu2} 13 root -16- 0K32K CPU31 71:11 18.65% {ng_queue1} 13 root -16- 0K32K RUN 1 71:10 18.36% {ng_queue3} 13 root -16- 0K32K RUN 3 71:18 17.63% {ng_queue0} 13 root -16- 0K32K RUN 1 71:11 17.14% {ng_queue2} 11 root 155 ki31 0K32K RUN 0 682:25 10.55% {idle: cpu0} 55709 root200 13408K 5840K select 2 15:50 1.71% snmpd 14902 cacti 330 11960K 3480K select 1 0:00 1.12% snmpget 14864 cacti 460 6K 2836K piperd 3 0:00 1.12% perl5.10.1 14867 root460 9728K 1956K select 3 0:00 1.12% sudo I have try to tune system how described on this: https://calomel.org/network_performance.html but that did not help. Can you advice me something, to allow process interrupts by all CPUs? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
something wrong with interrupts
Hi, system just rebooted. stay without load one day today, when I login I saw: #top -SIHP last pid: 88958; load averages: 0.99, 0.97, 0.92up 1+05:27:18 23:45:42 109 processes: 6 running, 84 sleeping, 19 waiting CPU 0: 0.0% user, 0.0% nice, 0.0% system, 97.6% interrupt, 2.4% idle CPU 1: 0.0% user, 0.0% nice, 0.8% system, 0.0% interrupt, 99.2% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 136M Active, 355M Inact, 217M Wired, 212K Cache, 112M Buf, 2211M Free Swap: 32G Total, 32G Free PID USERNAME PRI NICE SIZERES STATE C TIME WCPU COMMAND 11 root 155 ki31 0K32K CPU33 29.4H 100.00% idle{idle: cpu3} 11 root 155 ki31 0K32K CPU22 29.4H 100.00% idle{idle: cpu2} 11 root 155 ki31 0K32K RUN 1 29.3H 100.00% idle{idle: cpu1} 12 root -88- 0K 160K CPU00 421:07 100.00% intr{irq16: atapci0} 11 root 155 ki31 0K32K RUN 0 22.3H 0.29% idle{idle: cpu0} why intr take all CPU time?? I do nothing! # vmstat -i interrupt total rate irq1: atkbd0 14 0 irq16: atapci0 240185057 2262 irq23: ehci0 ehci1368174 3 cpu0:timer 438088141 4125 irq256: re0 145321 1 cpu1:timer 373026062 3513 cpu3:timer 57648330542 cpu2:timer 43618662410 Total 1153079761 10859 systat -v 1 usersLoad 0,96 0,96 0,92 16 ноя 23:48 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 1659205840 586612 7676 2264164 count All 2782487756 274424417100 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Fltcow 18012 total 42 47k1 116 9278 40211 1 zfodatkbd0 1 ozfod 9275 atapci0 16 0,0%Sys 25,0%Intr 0,0%User 0,0%Nice 75,0%Idle%ozfod 3 ehci0 ehci ||||||||||| daefr 4129 cpu0:timer prcfr 1 re0 256 12 dtbuf 40 totfr 4129 cpu1:timer Namei Name-cache Dir-cache126612 desvn react10 cpu3:timer Callshits %hits % 90415 numvn pdwak 465 cpu2:timer 317 113 36 31651 frevn pdpgs intrn Disks ada0 da0 pass0 pass1 222376 wire KB/t 15,44 0,00 0,00 0,00 139736 act tps 5 0 0 0 363240 inact MB/s 0,08 0,00 0,00 0,00 212 cache %busy 0 0 0 0 2263952 free # iostat ttyada0 da0pass0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 3 10.53 1 0.01 0.01 0 0.00 0.00 0 0.00 0 0 0 6 94 How to fix that? # uname -a FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Nov 12 20:17:02 EET 2011 :/usr/obj/usr/src/sys/KES_KERN_v10 i386 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: geli + journal
Здравствуйте, RW. Вы писали 15 ноября 2011 г., 1:50:54: R On Tue, 15 Nov 2011 00:06:00 +0200 R Коньков Евгений wrote: catch idea, but some question: in this situation .eli.journal journal device will not be encrypted? can you describe how data flow will be? R The journal is encrypted unless you choose to put it on a separate R non-encrypted device. R In principle the data is encrypted into the journal, decrypted from R the journal and then re-encrypted into its final location. In practice R I've found that in file copying between disks, writing uses about R twice as much cpu time as reading, so maybe the decryption from the R journal can be avoided by caching. Are there differences between .eli.journal or .journal.eli? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
geli + journal
hi Is it possible to create journaled FS which is crypted with geli? I can create crypted or journaled FS, but it is complicated to me to create both in time, can you help me clue? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: geli + journal
R On Mon, 14 Nov 2011 21:57:28 +0200 R Коньков Евгений wrote: hi Is it possible to create journaled FS which is crypted with geli? I can create crypted or journaled FS, but it is complicated to me to create both in time, can you help me clue? R You have to encrypt first and then create the gjournal device on R the .eli device so you end-up with device that ends in .eli.journal. R However, FreeBSD 9 supports journaled soft-updates which is much faster R than full data journalling, and it can be enabled on existing R filesystems. I catch idea, but some question: in this situation .eli.journal journal device will not be encrypted? can you describe how data flow will be? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
top: how to obtain which process take CPU time
hi, Freebsd-questions. last pid: 92665; load averages: 2.40, 2.68, 4.75up 5+02:45:23 20:29:07 218 processes: 3 running, 215 sleeping CPU: 59.6% user, 0.0% nice, 40.4% system, 0.0% interrupt, 0.0% idle Mem: 225M Active, 81M Inact, 115M Wired, 3936K Cache, 60M Buf, 64M Free Swap: 2048M Total, 190M Used, 1857M Free, 9% Inuse PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND 92520 cacti 1 -80 22796K 12656K piperd 0:00 1.46% php 92593 cacti 1 -80 4620K 2316K piperd 0:00 1.46% perl5.8.8 92594 cacti 1 80 3460K 1120K wait 0:00 1.46% sh 92592 cacti 1 80 3460K 1120K wait 0:00 1.46% sh 92595 cacti 1 550 5448K 2692K select 0:00 1.37% snmpget 92518 cacti 1 80 23820K 12896K nanslp 0:00 0.98% php 92528 cacti 1 -80 22796K 12640K piperd 0:00 0.98% php 92555 cacti 1 -80 4620K 2332K piperd 0:00 0.98% perl5.8.8 92556 root 1 960 3280K 1292K select 0:00 0.98% sudo 92554 cacti 1 80 3460K 1120K wait 0:00 0.98% sh 92542 cacti 1 80 3460K 1128K wait 0:00 0.98% sh 92543 cacti 1 -80 10200K 3664K piperd 0:00 0.78% rrdtool 81166 firebird 1 450 23344K 6188K select 0:08 0.49% fb_inet_serve top -SIHP last pid: 99336; load averages: 1.47, 2.05, 3.66up 5+02:52:06 20:35:50 291 processes: 6 running, 266 sleeping, 18 waiting, 1 lock CPU: 52.2% user, 0.0% nice, 27.9% system, 0.0% interrupt, 19.9% idle Mem: 236M Active, 81M Inact, 115M Wired, 3436K Cache, 60M Buf, 54M Free Swap: 2048M Total, 189M Used, 1858M Free, 9% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPU COMMAND 11 root 171 ki31 0K 8K RUN 70.1H 27.59% idle: cpu0 98502 cacti80 23820K 12932K nanslp 0:00 0.20% php 44054 root 80 3124K 524K nanslp 0:56 0.10% monitord 99051 root440 3496K 2020K RUN 0:00 0.10% top 99331 cacti -80 4620K 2332K piperd 0:00 0.00% perl5.8.8 99326 cacti -80 4620K 2332K piperd 0:00 0.00% perl5.8.8 99333 root460 3240K 1008K select 0:00 0.00% ping 99328 root450 3240K 972K select 0:00 0.00% ping 99332 root470 3280K 1292K select 0:00 0.00% sudo 99327 root470 3280K 1292K select 0:00 0.00% sudo It is unclear which process take CPU time. is there any other tool, which help me to see processes that take CPU? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: top: how to obtain which process take CPU time
Здравствуйте, Frank. Вы писали 1 октября 2011 г., 21:38:56: FS On Sat, Oct 01, 2011 at 08:38:49PM +0300, ??? ??? wrote: hi, Freebsd-questions. last pid: 92665; load averages: 2.40, 2.68, 4.75up 5+02:45:23 20:29:07 218 processes: 3 running, 215 sleeping CPU: 59.6% user, 0.0% nice, 40.4% system, 0.0% interrupt, 0.0% idle Mem: 225M Active, 81M Inact, 115M Wired, 3936K Cache, 60M Buf, 64M Free Swap: 2048M Total, 190M Used, 1857M Free, 9% Inuse PID USERNAMETHR PRI NICE SIZERES STATETIME WCPU COMMAND 92520 cacti 1 -80 22796K 12656K piperd 0:00 1.46% php 92593 cacti 1 -80 4620K 2316K piperd 0:00 1.46% perl5.8.8 92594 cacti 1 80 3460K 1120K wait 0:00 1.46% sh 92592 cacti 1 80 3460K 1120K wait 0:00 1.46% sh 92595 cacti 1 550 5448K 2692K select 0:00 1.37% snmpget 92518 cacti 1 80 23820K 12896K nanslp 0:00 0.98% php 92528 cacti 1 -80 22796K 12640K piperd 0:00 0.98% php 92555 cacti 1 -80 4620K 2332K piperd 0:00 0.98% perl5.8.8 92556 root 1 960 3280K 1292K select 0:00 0.98% sudo 92554 cacti 1 80 3460K 1120K wait 0:00 0.98% sh 92542 cacti 1 80 3460K 1128K wait 0:00 0.98% sh 92543 cacti 1 -80 10200K 3664K piperd 0:00 0.78% rrdtool 81166 firebird 1 450 23344K 6188K select 0:08 0.49% fb_inet_serve FS That looks to me like quite a weak system and has got 3 running FS processes and 215 sleeping. I can easily see that 59.6% of your CPU is FS being used and your load averages being as they are. I see that too, but which process take that CPU? top -SIHP last pid: 99336; load averages: 1.47, 2.05, 3.66up 5+02:52:06 20:35:50 291 processes: 6 running, 266 sleeping, 18 waiting, 1 lock CPU: 52.2% user, 0.0% nice, 27.9% system, 0.0% interrupt, 19.9% idle Mem: 236M Active, 81M Inact, 115M Wired, 3436K Cache, 60M Buf, 54M Free Swap: 2048M Total, 189M Used, 1858M Free, 9% Inuse PID USERNAME PRI NICE SIZERES STATETIME WCPU COMMAND 11 root 171 ki31 0K 8K RUN 70.1H 27.59% idle: cpu0 98502 cacti80 23820K 12932K nanslp 0:00 0.20% php 44054 root 80 3124K 524K nanslp 0:56 0.10% monitord 99051 root440 3496K 2020K RUN 0:00 0.10% top 99331 cacti -80 4620K 2332K piperd 0:00 0.00% perl5.8.8 99326 cacti -80 4620K 2332K piperd 0:00 0.00% perl5.8.8 99333 root460 3240K 1008K select 0:00 0.00% ping 99328 root450 3240K 972K select 0:00 0.00% ping 99332 root470 3280K 1292K select 0:00 0.00% sudo 99327 root470 3280K 1292K select 0:00 0.00% sudo It is unclear which process take CPU time. is there any other tool, which help me to see processes that take CPU? FS I don't think another tool would help. You've just got a weak system FS running lots of processes. None very big but they all add up to quite FS a big chunk of CPU. It looks like it's handling it OK though. No. it is not weak. it is about 40% load averages, but somethig is happen and take of 100% CPU (see SNMP graph). And I got a problem in FreeBSD I can not obtain which process take all CPU (( Robert Bonomi bon...@mail.r-bonomi.com It is unclear which process take CPU time. is there any other tool, which help me to see processes that take CPU? One -obvious- anwser is the 'ps' commnd. Something like 'ps gxua. You mean that 'ps gxua' shows wrong results? FS Regards,___ 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[2]: dump/restore, how to reduce slice size
Здравствуйте, Robert. Вы писали 30 сентября 2011 г., 4:11:15: From owner-freebsd-questi...@freebsd.org Thu Sep 29 14:37:35 2011 Date: Thu, 29 Sep 2011 22:36:38 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru To: freebsd-questions@freebsd.org Subject: dump/restore, how to reduce slice size Hi, Freebsd-questions. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G3.6G 24G13%/var procfs 4.0k4.0k 0B 100%/proc /dev/ad2s1f 39G 25G 10G71%/mnt devfs 1.0k1.0k 0B 100%/var/named/dev as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G but on ad4s1f only 25G used. How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? These commands: #mount /dev/ad2s1f /mnt #cd /mnt #dump -0Lf - /usr | restore -rf - does not help, because of ad2s1f does not have space to restore 'end of ' /dev/ad4s1f. May help any? RB ad2s1f already has 25 gigs of stuff on it. with ounly 14 gigs 'free'. RB ad4s1f has 25 gigs of stuff on _it_. RB The 25 gigs of ad4s1f will not fit in the 14 gigs of free space on RB ad2s1f. It is state after restoration. Before that I do the prestine file system with: newfs /dev/ad2s1f mount /dev/ad2s1f /mnt cd /mnt dump -0Lf - /usr | restore -rf - at the end of restore process I got error about that on target file system there is no inode . abourt? [yn] I type 'n'. there are about 10 inodes missed. when I compare files it seems that are same on source and target. Is that Ok, may I do not worry about that error messages? RB Now, RB *IF* the existing 'stuff' on ad2s1f is of no value, and the -only- thing RB you want to have on that filesystem is the 'copy' of ad4s1f, RB *THEN* there is 'simple' solution. You need to delete the files on RB ad4s1f -before- trying the dump/restor. In the commnds you show, above, RB fter the 'cd /mnt', and before the dump/restore, Type in 'rm -fr /mnt/*', RB but DO NOT hit the enter key. Look at what you typed, and make sure RB that there is no white-spce immediately before the '*'. Double check RB that there is no whitespce after the first '/'. or before the 2nd one. RB TRIPLE CHECK that there are no spaces before the '*'. Have you made RB a full back-up of the system recently? If not, abort this commqnd, and RB make the full backup before trying this again. RB *IF* you are absolutely certain you have typed the commnd correctly, _and_ RB you have current full-system backup, then go ahead nd press the enter RB key. thank you for attention. I understand that. RB As my friend Dante Brown once remarked: RB All hope abandon RB ye who press Enter RB here. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
dump/restore, how to reduce slice size
Hi, Freebsd-questions. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad4s1a 2G206M1.6G11%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad4s1e3.9G 13M3.6G 0%/tmp /dev/ad4s1f 40G 25G 12G67%/usr /dev/ad4s1d 31G3.6G 24G13%/var procfs 4.0k4.0k 0B 100%/proc /dev/ad2s1f 39G 25G 10G71%/mnt devfs 1.0k1.0k 0B 100%/var/named/dev as you can see /dev/ad4s1f is 40G and /dev/ad2s1f is 39G but on ad4s1f only 25G used. How can I dump /dev/ad4s1f and restore it on /dev/ad2s1f? These commands: #mount /dev/ad2s1f /mnt #cd /mnt #dump -0Lf - /usr | restore -rf - does not help, because of ad2s1f does not have space to restore 'end of ' /dev/ad4s1f. May help any? -- Konkov mailto:kes-...@yandex.ru ___ 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[2]: 'man' wrong show
Здравствуйте, Thomas. Вы писали 25 сентября 2011 г., 15:40:09: TD On Sun, Sep 25, 2011 at 02:19:22PM +0300, Êîíüêîâ Åâãåíèé wrote: Hi. When I rum 'man' it show info like: 1mNAME0m 1mhostapd 22m-- authenticator for IEEE 802.11 networks 1mSYNOPSIS0m 1mhostapd 22m[1m-BdhKtv22m] [1m-P 4m22mpidfile24m] 4mconfig-file24m 4m...0m 1mDESCRIPTION0m The 1mhostapd 22mutility is an authenticator for IEEE 802.11 networks. It can you help me, why it shows wrong? TD man grotty claims that setting the GROFF_NO_SGR environment variable TD fixes this (I've been using it ever since the misfeature was added TD to groff). I just have rebuild, reinstall the world and it helps -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: i386/157460: system hungup while fsck background check
Hi, if you have this with lets say WinXP the system will not start before doing the check, In windows I can cancel that process and let system work with uncheck disks. You must allow user to cancel that process or schedul it later. Because sometimes better to work unstable vs do not work at all. -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
[SOLVED] ERROR: worldinstall
Здравствуйте, . http://freebsd.1045724.n5.nabble.com/Failure-upgrading-from-8-stable-to-current-9-0-Beta2-td4787357.html -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
'man' wrong show
Hi. When I rum 'man' it show info like: 1mNAME0m 1mhostapd 22m-- authenticator for IEEE 802.11 networks 1mSYNOPSIS0m 1mhostapd 22m[1m-BdhKtv22m] [1m-P 4m22mpidfile24m] 4mconfig-file24m 4m...0m 1mDESCRIPTION0m The 1mhostapd 22mutility is an authenticator for IEEE 802.11 networks. It can you help me, why it shows wrong? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
where is ng_eapol project?
Hi. Does any know is anywhere ng_eapol project or any clone of it? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: How to check where space is LOST
Zdravstvujte, Adam. Vy pisali 12 sentyabrya 2011 g., 3:32:06: 2011/9/11 Kon'kov Evgenij [1]kes-...@yandex.ru If I just #reboot system. I get that on /var is only 98M used. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad1s1a496M239M217M52%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad1s1e124M 40K114M 0%/tmp /dev/ad1s1f1.8G1.1G596M65%/usr /dev/ad1s1d989M 98M891M12%/var devfs 1.0K1.0K 0B 100%/var/named/dev How to obtain what take space on /var fstat -f /var -- Adam Vande More # fstat -f /var USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root cron 20455 wd /var 47105 drwxr-x--- 512 r root cron 204553 /var 94235 -rw--- 5 w smmspsendmail 20432 wd /var 23564 drwxrwx---8192 r smmspsendmail 204324 /var 23567 -rw--- 51 w root sendmail 20418 wd /var 23561 drwxr-xr-x 512 r root sendmail 204185 /var 94226 -rw--- 80 w clamav clamd 196823 /var 47113 -rw-r- 767747 w clamav smtp-gated 9428 wd /var 23569 drwxr-xr-x 512 r root snmpd 89483 /var 47171 -rw--- 282447082 w root snmpd 89488 /var 47187 -rw-r- 728 r bind named 7738 root /var 70659 drwxr-xr-x 512 r bind named 7738 wd /var 70672 drwxr-xr-x 512 r bind named 7738 jail /var 70659 drwxr-xr-x 512 r root mpd537614 /var 94245 -rw-r--r-- 5 rw root syslogd 37423 /var 94231 -rw--- 4 w root syslogd 3742 13 /var 47122 -rw-r--r-- 182 w root syslogd 3742 14 /var 47131 -rw--- 99770 w root syslogd 3742 15 /var 47114 -rw--- 79173 w root syslogd 3742 16 /var 47136 -rw-r- 360039 w root syslogd 3742 17 /var 47134 -rw-r--r-- 56 w root syslogd 3742 18 /var 47194 -rw--- 56 w root syslogd 3742 19 /var 47127 -rw--- 90695 w root syslogd 3742 20 /var 47128 -rw--- 99531 w root syslogd 3742 21 /var 47157 -rw-r- 56 w root syslogd 3742 22 /var 47153 -rw--- 69165428 w root syslogd 3742 23 /var 47144 -rwxr-xr-x 10941641 w root devd36835 /var 94230 -rw--- 4 w That is FD #3, how to find what file is that? -- S uvazheniem, Kon'kov [2]mailto:kes-...@yandex.ru References 1. mailto:kes-...@yandex.ru 2. mailto:kes-...@yandex.ru ___ 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[4]: How to check where space is LOST
Hi, Adam # fstat -f /var USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root snmpd 205453 /var 47141 -rw--- 37217152 w root snmpd 205458 /var 47159 -rw-r- 728 r root cron 20455 wd /var 47105 drwxr-x--- 512 r ... # find /var -inum 47141 -ls OutPut is empty (( 2011/9/12 Kon'kov Evgenij [1]kes-...@yandex.ru # fstat -f /var USER CMD PID FD MOUNT INUM MODE SZ|DV R/W clamav clamd 196823 /var 47113 -rw-r- 767747 w clamav smtp-gated 9428 wd /var 23569 drwxr-xr-x 512 r root snmpd 89483 /var 47171 -rw--- 282447082 w That is FD #3, how to find what file is that? find /var -inum 47171 -ls -- Adam Vande More -- S uvazheniem, Kon'kov [2]mailto:kes-...@yandex.ru References 1. mailto:kes-...@yandex.ru 2. mailto:kes-...@yandex.ru ___ 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
BUG: snmpd or How to check where space is LOST
Здравствуйте, Robert. Вы писали 12 сентября 2011 г., 10:28:22: From kes-...@yandex.ru Mon Sep 12 00:51:16 2011 Date: Mon, 12 Sep 2011 08:51:27 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru To: Robert Bonomi bon...@mail.r-bonomi.com Subject: Re[2]: How to check where space is LOST Caoaanoaoeoa, Robert. u ienaee 12 naioyaoy 2011 a., 4:33:25: From owner-freebsd-questi...@freebsd.org Sun Sep 11 17:23:57 2011 Date: Mon, 12 Sep 2011 01:23:32 +0300 From: =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= kes-...@yandex.ru To: freebsd-questions@freebsd.org Subject: How to check where space is LOST Hi. I notice that some times /var is overfull # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad1s1d989M349M561M38%/var # cd /var/ # du -h -d 1 98M. If I just #reboot system. I get that on /var is only 98M used. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad1s1d989M 98M891M12%/var How to obtain what take space on /var RB Probably, you *don't*. grin RB df _is_ telling the truth. RB 'du' is, arguably, 'telling lies'. RB The difference concerns files that have been deleted (rm) _after_ RB they have been opened, and not yet closed. The file handle/descriptor RB that has the file open silll has access to all the data in the file. RB but *NOTHING*ELSE* -- inlcuding 'du' -- can access that file, so the RB space occupied by that deletedd file is not counted. RB Note: this *IS* a FAQ. thank you very much. fstat -f /var tell me that process snmpd with file descriptor 3 take spece: RB It's not unreasonable that snmpd (the 'simple network management protocol' RB daemon) needs a *lot* of private storage. RB In short, don't worry about it. Ok, How you can explain this: # df -h /dev/ad1s1d989M138M772M15%/var # fstat -f /var USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root snmpd 205453 /var 47141 -rw--- 37217152 w root snmpd 205458 /var 47159 -rw-r- 728 r snmpd has 35MB of space # find /var -inum 47141 -ls output is empty (( # /usr/local/etc/rc.d/snmpd restart Stopping snmpd. Starting snmpd. # df -h /dev/ad1s1d989M102M808M11%/var # fstat -f /var/ USER CMD PID FD MOUNT INUM MODE SZ|DV R/W root snmpd 407663 /var 47171 -rw--- 23311 w root snmpd 407668 /var 47159 -rw-r- 728 r after 3-4 weeks and snmpd overfull /var filesystem Test on other system: # df -h /dev/ad0s1d6.7G2.1G4.1G34%/var # fstat -f /var | grep snmp root snmpd 71403 -588866 -rw-r--r-- 947424261 w root snmpd 71408 /var 588842 -rw-r- 728 r # /usr/local/etc/rc.d/snmpd restart Stopping snmpd. Waiting for PIDS: 7140. Starting snmpd. # fstat -f /var | grep snmp root snmpd 233763 /var 588894 -rw-r--r-- 132 w root snmpd 233768 /var 588872 -rw-r- 728 r # df -h /dev/ad0s1d6.7G1.2G 5G19%/var It seems that that is the BUG of snmpd # snmpd -v NET-SNMP version: 5.5 Web: http://www.net-snmp.org/ Email: net-snmp-cod...@lists.sourceforge.net # uname -a FreeBSD flux 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011 adm@:/usr/obj/usr/src/sys/PAE_KES i386 -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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
How to check where space is LOST
Hi. I notice that some times /var is overfull # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad1s1a496M239M217M52%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad1s1e124M 40K114M 0%/tmp /dev/ad1s1f1.8G1.1G596M65%/usr /dev/ad1s1d989M349M561M38%/var devfs 1.0K1.0K 0B 100%/var/named/dev # cd /var/ # du -h -d 1 2.0K./.snap 2.0K./account 6.0K./at 2.0K./audit 12K./backups 4.0K./crash 4.0K./cron 2.0K./empty 2.0K./heimdal 79M./log 19M./mail 4.0K./msgs 159K./named 2.0K./preserve 60K./run 2.0K./rwho 70K./spool 14K./tmp 24K./yp 2.0K./games 2.0K./agentx 22K./net-snmp 4.0K./lost+found 98M. If I just #reboot system. I get that on /var is only 98M used. # df -h Filesystem SizeUsed Avail Capacity Mounted on /dev/ad1s1a496M239M217M52%/ devfs 1.0K1.0K 0B 100%/dev /dev/ad1s1e124M 40K114M 0%/tmp /dev/ad1s1f1.8G1.1G596M65%/usr /dev/ad1s1d989M 98M891M12%/var devfs 1.0K1.0K 0B 100%/var/named/dev How to obtain what take space on /var -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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: traffic shaping freebsd
Здравствуйте, alexus. Вы писали 12 сентября 2011 г., 1:18:10: a can someone provide a real (working) live example of traffic shaping with ipfw a i just can't get mine to work no matter what... you can try this http://translate.google.com.ua/translate?hl=rusl=rutl=enu=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.html -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[2]: traffic shaping freebsd
Здравствуйте, alexus. That is my article. I have wrote it when I configure my VPN server to shape home users. If questions - ask. Вы писали 12 сентября 2011 г., 1:38:30: a thanks, but did u actually tried it? i'd prefer an example from a live a system if possible a its just its not working for me, so maybe i'm doing something off, so a thats why i wanted to see a working example from someone's system a 2011/9/11 Коньков Евгений kes-...@yandex.ru: Здравствуйте, alexus. Вы писали 12 сентября 2011 г., 1:18:10: a can someone provide a real (working) live example of traffic shaping with ipfw a i just can't get mine to work no matter what... you can try this http://translate.google.com.ua/translate?hl=rusl=rutl=enu=http%3A%2F%2Fkes.net.ua%2Fsoftdev%2Fadvanced_firewall.html -- С уважением, Коньков mailto:kes-...@yandex.ru -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[6]: vpn using pptpclient in FreeBSD
Здравствуйте, Marco. Вы писали 5 сентября 2011 г., 2:09:30: MB On Mon, 5 Sep 2011, the wise Коньков Евгений wrote: As I have so, you 1. Successfully connect to university MB ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 MB mtu 1456 MB inet 130.115.77.12 -- 130.115.3.34 netmask 0x MB inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV 2. You also have route to it MB 130.115.0.0/16 130.115.3.34 UGS 00ng0 so you are done, are not? MB Unfortunately not, because it looks like I have a connection, but in fact MB I cannot log in to the university through the tunnel. With the above MB settings and running mpd, the university site is not pingable and MB unreachable by a browser. may be you have a problem with firewall. try #traceroute IP or name -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[5]: vpn using pptpclient in FreeBSD
Здравствуйте, Marco. Вы писали 3 сентября 2011 г., 21:55:37: MB On Sat, 3 Sep 2011, the wise Коньков Евгений wrote: Please describe your networks fully also I ask to send output of: ifconfig netstat -nr MB My computer has IP 192.168.1.11, and sits behind a ADSL router which has MB IP 192.168.1.1, the router is the gateway to the internet. IP adresses are MB assigned by DHCP. The vpn network of the university I would like to MB connect to has the adress vpn-eur-pptp.eur.nl. The IP range of the MB university is 130.115.x.x. MB My ifconfig and netstat when mpd5 is not running: MB em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 MB options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC MB ether 00:0e:0c:3d:e1:6d MB inet6 fe80::20e:cff:fe3d:e16d%em0 prefixlen 64 scopeid 0x4 MB inet 192.168.1.11 netmask 0xff00 broadcast 192.168.1.255 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV MB media: Ethernet autoselect (1000baseT full-duplex) MB status: active MB fwe0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 MB options=8VLAN_MTU MB ether 02:02:3c:06:08:57 MB ch 1 dma -1 MB fwip0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 MB lladdr 0.2.3c.1.1.6.8.57.a.2.ff.fe.0.0.0.0 MB lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 MB options=3RXCSUM,TXCSUM MB inet 127.0.0.1 netmask 0xff00 MB inet6 ::1 prefixlen 128 MB inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV MB Internet: MB DestinationGatewayFlagsRefs Use Netif Expire MB default192.168.1.1UGS 059590em0 MB 127.0.0.1 link#7 UH 0 354lo0 MB 192.168.1.0/24 link#4 U 0 92em0 MB 192.168.1.11 link#4 UHS 00lo0 MB My ifconfig and netstat when mpd5 is running: MB em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 MB options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC MB ether 00:0e:0c:3d:e1:6d MB inet6 fe80::20e:cff:fe3d:e16d%em0 prefixlen 64 scopeid 0x4 MB inet 192.168.1.11 netmask 0xff00 broadcast 192.168.1.255 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV MB media: Ethernet autoselect (1000baseT full-duplex) MB status: active MB fwe0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 MB options=8VLAN_MTU MB ether 02:02:3c:06:08:57 MB ch 1 dma -1 MB fwip0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500 MB lladdr 0.2.3c.1.1.6.8.57.a.2.ff.fe.0.0.0.0 MB lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 MB options=3RXCSUM,TXCSUM MB inet 127.0.0.1 netmask 0xff00 MB inet6 ::1 prefixlen 128 MB inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV MB ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 MB mtu 1456 MB inet 130.115.77.12 -- 130.115.3.34 netmask 0x MB inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV MB Internet: MB DestinationGatewayFlagsRefs Use Netif Expire MB default192.168.1.1UGS 059807em0 MB 127.0.0.1 link#7 UH 0 354lo0 MB 130.115.0.0/16 130.115.3.34 UGS 00ng0 MB 130.115.3.34 link#8 UH 04ng0 MB 130.115.77.12 link#8 UHS 00lo0 MB 192.168.1.0/24 link#4 U 0 92em0 MB 192.168.1.11 link#4 UHS 00lo0 MB Hope this clears things up. MB Regards, MB Marco As I have so, you 1. Successfully connect to university MB ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST metric 0 MB mtu 1456 MB inet 130.115.77.12 -- 130.115.3.34 netmask 0x MB inet6 fe80::20e:cff:fe3d:e16d%ng0 prefixlen 64 scopeid 0x8 MB nd6 options=3PERFORMNUD,ACCEPT_RTADV 2. You also have route to it MB 130.115.0.0/16 130.115.3.34 UGS 00ng0 so you are done, are not? -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[4]: vpn using pptpclient in FreeBSD
Здравствуйте, Marco. Вы писали 2 сентября 2011 г., 13:42:23: MB On Fri, 2 Sep 2011, the wise Коньков Евгений wrote: set iface route 130.115.0.0/16 you say that behind tunnele thereis 130.115.0.0/16 subnet, but MB [B1] 130.115.85.11 - 130.115.3.35 you have address from subnet 130.115.0.0/16 addres on local machine so you get this message: MB Loop detected on ng0 add routes only for subnets that on the other end of tunnel and not local set iface route 130.115.0.0/16 also you may remove 'iface route' from config. and setup tunnel. after that try to ping the other end: ping 130.115.3.35 add route by hand: # route add /X 130.115.3.35 # route add /Y 130.115.3.35 MB My local machine has ip 192.168.x.x. IP 130.115.x.x is the university MB network I want to connect to. When setting the iface route to MB 192.168.0.0/16, the connection doesn't work either: MB ... MB [B1] IPCP: state change Ack-Sent -- Opened MB [B1] IPCP: LayerUp MB [B1] 130.115.77.2 - 130.115.3.34 MB [B1] IFACE: Add route 192.168.1.0/24 130.115.3.34 failed: File exists MB [B1] IFACE: Up event MB ... MB With the iface route removed, the other end 130.115.3.34 is not MB pingable, so there is no connection in this case. MB Marco Please describe your networks fully also I ask to send output of: ifconfig netstat -nr -- С уважением, Коньков mailto:kes-...@yandex.ru ___ 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[3]: vpn using pptpclient in FreeBSD
Здравствуйте, Marco. Вы писали 1 сентября 2011 г., 23:35:49: MB On Thu, 1 Sep 2011, the wise Коньков Евгений wrote: Notice: [B1] IFACE: Add route 0.0.0.0/0 130.115.3.34 failed: File exists You already have default route in your system why you set up the default again? Notice in conf: set iface route default MB With help from Mike Tancsa I've changed the config a bit and getting less MB errors now, but still not a working vpn connection. My mpd.conf is now: MB ... MB # Default configuration is pptp_client MB default: MB load pptp_client MB pptp_client: MB # MB # PPTP client: only outgoing calls, auto reconnect, MB # ipcp-negotiated address, one-sided authentication, MB # default route points on ISP's end MB # MB create bundle static B1 MB set iface route 130.115.0.0/16 MB set ipcp ranges 0.0.0.0/0 0.0.0.0/0 MB set bundle enable compression MB set ccp yes mppc MB set mppc yes e40 MB set mppc yes e128 MB set bundle enable crypt-reqd MB set mppc yes stateless MB create link static L1 pptp MB set link action bundle B1 MB set auth authname xx MB set auth password x MB set link max-redial 0 MB set link mtu 1460 MB set link keep-alive 20 75 MB set pptp peer vpn-eur-pptp.eur.nl MB set pptp disable windowing MB open MB ... MB It looks like it's setting up a correct connection, but the site of the MB library I would like to access isn't accessible when mpd5 is running: MB ... MB process 2965 started, version 5.5 (r...@yokozuna.lan 17:08 30-Jul-2011) MB CONSOLE: listening on 127.0.0.1 5005 MB web: listening on 0.0.0.0 5006 MB [B1] Bundle: Interface ng0 created MB [L1] [L1] Link: OPEN event MB [L1] LCP: Open event MB [L1] LCP: state change Initial -- Starting MB [L1] LCP: LayerStart MB [L1] PPTP call successful MB [L1] Link: UP event MB [L1] LCP: Up event MB [L1] LCP: state change Starting -- Req-Sent MB [L1] LCP: SendConfigReq #1 MB [L1] ACFCOMP MB [L1] PROTOCOMP MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 0a9219e0 MB [L1] LCP: SendConfigReq #2 MB [L1] ACFCOMP MB [L1] PROTOCOMP MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 0a9219e0 MB [L1] LCP: rec'd Configure Reject #2 (Req-Sent) MB [L1] PROTOCOMP MB [L1] LCP: SendConfigReq #3 MB [L1] ACFCOMP MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 0a9219e0 MB [L1] LCP: rec'd Configure Reject #3 (Req-Sent) MB [L1] ACFCOMP MB [L1] LCP: SendConfigReq #4 MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 0a9219e0 MB [L1] LCP: rec'd Configure Nak #4 (Req-Sent) MB [L1] ACCMAP 0x000a MB [L1] LCP: SendConfigReq #5 MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 0a9219e0 MB [L1] LCP: rec'd Configure Ack #5 (Req-Sent) MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 0a9219e0 MB [L1] LCP: state change Req-Sent -- Ack-Rcvd MB [L1] LCP: rec'd Configure Request #1 (Ack-Rcvd) MB [L1] AUTHPROTO CHAP MSOFTv2 MB [L1] LCP: SendConfigAck #1 MB [L1] AUTHPROTO CHAP MSOFTv2 MB [L1] LCP: state change Ack-Rcvd -- Opened MB [L1] LCP: auth: peer wants CHAP, I want nothing MB [L1] LCP: LayerUp MB [L1] CHAP: rec'd CHALLENGE #1 len: 21 MB [L1] Name: MB [L1] CHAP: Using authname x MB [L1] CHAP: sending RESPONSE #1 len: 69 MB [L1] CHAP: rec'd CHALLENGE #2 len: 21 MB [L1] Name: MB [L1] CHAP: Using authname xx MB [L1] CHAP: sending RESPONSE #2 len: 69 MB [L1] rec'd proto IPCP during authenticate phase MB [L1] rec'd proto CCP during authenticate phase MB [L1] CHAP: sending RESPONSE #2 len: 69 MB [L1] CHAP: rec'd SUCCESS #2 len: 46 MB [L1] MESG: S=F1619D8A3373D2F43E6652E992CA564D66B1C1A4 MB [L1] LCP: authorization successful MB [L1] Link: Matched action 'bundle B1 ' MB [L1] Link: Join bundle B1 MB [B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps MB [B1] IPCP: Open event MB [B1] IPCP: state change Initial -- Starting MB [B1] IPCP: LayerStart MB [B1] CCP: Open event MB [B1] CCP: state change Initial -- Starting MB [B1] CCP: LayerStart MB [B1] IPCP: Up event MB [B1] IPCP: state change Starting -- Req-Sent MB [B1] IPCP: SendConfigReq #1 MB [B1] IPADDR 0.0.0.0 MB [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid MB [B1] CCP: Up event MB [B1] CCP: state change Starting -- Req-Sent MB [B1] CCP: SendConfigReq #1 MB [B1] MPPC MB [B1] 0x0160:MPPE(40, 128 bits), stateless MB [B1] CCP: rec'd Configure Nak #1 (Req-Sent) MB [B1] MPPC MB [B1] 0x0140:MPPE(128 bits), stateless MB [B1] CCP: SendConfigReq #2 MB [B1] MPPC MB [B1] 0x0140:MPPE(128 bits), stateless MB [B1] CCP: rec'd Configure Ack #2 (Req-Sent) MB [B1] MPPC MB [B1] 0x0140:MPPE(128 bits), stateless MB [B1] CCP: state change Req-Sent -- Ack-Rcvd MB [B1] IPCP: rec'd Configure Request #1 (Req-Sent) MB [B1] IPADDR 130.115.3.35 MB [B1
Re[2]: vpn using pptpclient in FreeBSD
Здравствуйте, Marco. Вы писали 31 августа 2011 г., 23:14:14: MB On Wed, 31 Aug 2011, the wise Mike Tancsa wrote: use mpd5 from the ports. It is well supported and works very well both as a client and server. There is a sample config in the mpd.conf.example where all you need to do is change the userid and passwd and server IP... pptp_client: # # PPTP client: only outgoing calls, auto reconnect, # ipcp-negotiated address, one-sided authentication, # default route points on ISP's end # create bundle static B1 set iface route default set ipcp ranges 0.0.0.0/0 0.0.0.0/0 create link static L1 pptp set link action bundle B1 set auth authname MyLogin set auth password MyPass set link max-redial 0 set link mtu 1460 set link keep-alive 20 75 set pptp peer 1.2.3.4 set pptp disable windowing open MB I used the mpd.conf above but mpd5 doesn't work either. It looks like it MB makes a connection but I don't have a vpn connection and it didn't log in. MB I do get a lot of output though: MB ... MB process 9290 started, version 5.5 (r...@yokozuna.lan 17:08 30-Jul-2011) MB CONSOLE: listening on 127.0.0.1 5005 MB web: listening on 0.0.0.0 5006 MB [B1] Bundle: Interface ng0 created MB [L1] [L1] Link: OPEN event MB [L1] LCP: Open event MB [L1] LCP: state change Initial -- Starting MB [L1] LCP: LayerStart MB [L1] PPTP call successful MB [L1] Link: UP event MB [L1] LCP: Up event MB [L1] LCP: state change Starting -- Req-Sent MB [L1] LCP: SendConfigReq #1 MB [L1] ACFCOMP MB [L1] PROTOCOMP MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 1b3bd364 MB [L1] LCP: SendConfigReq #2 MB [L1] ACFCOMP MB [L1] PROTOCOMP MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 1b3bd364 MB [L1] LCP: rec'd Configure Reject #2 (Req-Sent) MB [L1] ACFCOMP MB [L1] PROTOCOMP MB [L1] LCP: SendConfigReq #3 MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 1b3bd364 MB [L1] LCP: rec'd Configure Nak #3 (Req-Sent) MB [L1] ACCMAP 0x000a MB [L1] LCP: SendConfigReq #4 MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 1b3bd364 MB [L1] LCP: rec'd Configure Ack #4 (Req-Sent) MB [L1] ACCMAP 0x000a MB [L1] MRU 1500 MB [L1] MAGICNUM 1b3bd364 MB [L1] LCP: state change Req-Sent -- Ack-Rcvd MB [L1] LCP: rec'd Configure Request #1 (Ack-Rcvd) MB [L1] AUTHPROTO CHAP MSOFTv2 MB [L1] LCP: SendConfigAck #1 MB [L1] AUTHPROTO CHAP MSOFTv2 MB [L1] LCP: state change Ack-Rcvd -- Opened MB [L1] LCP: auth: peer wants CHAP, I want nothing MB [L1] LCP: LayerUp MB [L1] CHAP: rec'd CHALLENGE #1 len: 21 MB [L1] Name: MB [L1] CHAP: Using authname MB [L1] CHAP: sending RESPONSE #1 len: 69 MB [L1] CHAP: rec'd CHALLENGE #2 len: 21 MB [L1] Name: MB [L1] CHAP: Using authname xx MB [L1] CHAP: sending RESPONSE #2 len: 69 MB [L1] CHAP: rec'd SUCCESS #2 len: 46 MB [L1] MESG: S=6FF41EBC586F72996FE28623516DEB70E57D6B5D MB [L1] LCP: authorization successful MB [L1] Link: Matched action 'bundle B1 ' MB [L1] Link: Join bundle B1 MB [B1] Bundle: Status update: up 1 link, total bandwidth 64000 bps MB [B1] IPCP: Open event MB [B1] IPCP: state change Initial -- Starting MB [B1] IPCP: LayerStart MB [B1] IPCP: Up event MB [B1] IPCP: state change Starting -- Req-Sent MB [B1] IPCP: SendConfigReq #1 MB [B1] IPADDR 0.0.0.0 MB [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid MB [B1] IPCP: rec'd Configure Request #0 (Req-Sent) MB [B1] IPADDR 130.115.3.34 MB [B1] 130.115.3.34 is OK MB [B1] IPCP: SendConfigAck #0 MB [B1] IPADDR 130.115.3.34 MB [B1] IPCP: state change Req-Sent -- Ack-Sent MB [L1] rec'd unexpected protocol CCP, rejecting MB [B1] IPCP: SendConfigReq #2 MB [B1] IPADDR 0.0.0.0 MB [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid MB [B1] IPCP: rec'd Configure Reject #2 (Ack-Sent) MB [B1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid MB [B1] IPCP: SendConfigReq #3 MB [B1] IPADDR 0.0.0.0 MB [B1] IPCP: rec'd Configure Nak #3 (Ack-Sent) MB [B1] IPADDR 130.115.77.13 MB [B1] 130.115.77.13 is OK MB [B1] IPCP: SendConfigReq #4 MB [B1] IPADDR 130.115.77.13 MB [B1] IPCP: rec'd Configure Ack #4 (Ack-Sent) MB [B1] IPADDR 130.115.77.13 MB [B1] IPCP: state change Ack-Sent -- Opened MB [B1] IPCP: LayerUp MB [B1] 130.115.77.13 - 130.115.3.34 MB [B1] IFACE: Add route 0.0.0.0/0 130.115.3.34 failed: File exists MB [B1] IFACE: Up event MB [L1] LCP: no reply to 1 echo request(s) MB [L1] PPTP call terminated MB [L1] Link: DOWN event MB [L1] LCP: Down event MB [L1] LCP: state change Opened -- Starting MB [L1] Link: Leave bundle B1 MB [B1] Bundle: Status update: up 0 links, total bandwidth 9600 bps MB [B1] IPCP: Close event MB [B1] IPCP: state change Opened -- Closing MB [B1] IPCP: SendTerminateReq #5 MB [B1] IPCP: LayerDown MB [B1] IFACE: Down event MB [B1] IPCP: Down event MB [B1] IPCP: LayerFinish MB [B1] Bundle: No NCPs left.