Re: FreeBSD Server Settings Consult
4 GB physical ram but only 3GB usable via System. AMD X2 64 3800+ (2 CPUs) i386 Platform # pciconf -lv|grep ^none [EMAIL PROTECTED]:0:17:5: class=0x040100 card=0x0c84105b chip=0x30591106 rev=0x60 hdr=0x00 Only difference is IPFW/Quota/Device Polling/2000HZ On 6.3 (now on 7) it was having random crashes 1-7 days at a time and did not produce a kernel dump. Web/IRC Hosting server All Sysctls are there from researching the internet for suggested values. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=125000 net.inet.tcp.recvspace=125000 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=2048 kern.maxvnodes=132072 kern.maxfiles=32768 kern.maxfilesperproc=32768 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=0 net.inet.ip.intr_queue_maxlen=1024 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=1024 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=81920 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=32768 kern.maxfilesperproc=32768 accf_http_load=YES Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE #0: Fri May 2 12:52:50 CDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x40fb2 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow! AMD Features2=0x1fLAHF,CMP,SVM,ExtAPIC,CR8 Cores per package: 2 real memory = 3152936960 (3006 MB) avail memory = 3078762496 (2936 MB) ACPI APIC Table: K8M890 AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 0.3 irqs 0-23 on motherboard ioapic1 Version 0.3 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: K8M890 AWRDACPI on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, bbde (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 powernow0: PowerNow! K8 on cpu0 cpu1: ACPI CPU on acpi0 powernow1: PowerNow! K8 on cpu1 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xc000-0xcfff,0xdd00-0xddff irq 16 at device 0.0 on pci1 pcib2: ACPI PCI-PCI bridge irq 27 at device 2.0 on pci0 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge irq 31 at device 3.0 on pci0 pci3: ACPI PCI bus on pcib3 rl0: RealTek 8139 10/100BaseTX port 0xf200-0xf2ff mem 0xd000-0xd0ff irq 19 at device 9.0 on pci0 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:58:61:20:4c rl0: [ITHREAD] atapci0: VIA 6420 SATA150 controller port 0xff00-0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f,0xf400-0xf4ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 ata3: [ITHREAD] atapci1: VIA 8237 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata0: [ITHREAD] ata1: ATA channel 1 on atapci1 ata1: [ITHREAD] uhci0: VIA 83C572 USB controller port 0xf900-0xf91f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB
Re: FreeBSD Server Settings Consult
This is a 64-bit platform... Any reasons you're on an i386 kernel? At the least it would fix your RAM issue. -Patrick On May 3, 2008, at 3:56 PM, Free BSD [EMAIL PROTECTED] wrote: 4 GB physical ram but only 3GB usable via System. AMD X2 64 3800+ (2 CPUs) i386 Platform # pciconf -lv|grep ^none [EMAIL PROTECTED]:0:17:5: class=0x040100 card=0x0c84105b chip=0x30591106 rev=0x60 hdr=0x00 Only difference is IPFW/Quota/Device Polling/2000HZ On 6.3 (now on 7) it was having random crashes 1-7 days at a time and did not produce a kernel dump. Web/IRC Hosting server All Sysctls are there from researching the internet for suggested values. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=125000 net.inet.tcp.recvspace=125000 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=2048 kern.maxvnodes=132072 kern.maxfiles=32768 kern.maxfilesperproc=32768 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=0 net.inet.ip.intr_queue_maxlen=1024 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=1024 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=81920 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=32768 kern.maxfilesperproc=32768 accf_http_load=YES Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-STABLE #0: Fri May 2 12:52:50 CDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/THE-IRC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (2000.79-MHz 686- class CPU) Origin = AuthenticAMD Id = 0x40fb2 Stepping = 2 Features= 0x178bfbff FPU, VME, DE, PSE, TSC, MSR, PAE, MCE, CX8, APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+, 3DNow! AMD Features2=0x1fLAHF,CMP,SVM,ExtAPIC,CR8 Cores per package: 2 real memory = 3152936960 (3006 MB) avail memory = 3078762496 (2936 MB) ACPI APIC Table: K8M890 AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 0.3 irqs 0-23 on motherboard ioapic1 Version 0.3 irqs 24-47 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: K8M890 AWRDACPI on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, bbde (3) failed Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU on acpi0 powernow0: PowerNow! K8 on cpu0 cpu1: ACPI CPU on acpi0 powernow1: PowerNow! K8 on cpu1 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xc000-0xcfff,0xdd00-0xddff irq 16 at device 0.0 on pci1 pcib2: ACPI PCI-PCI bridge irq 27 at device 2.0 on pci0 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge irq 31 at device 3.0 on pci0 pci3: ACPI PCI bus on pcib3 rl0: RealTek 8139 10/100BaseTX port 0xf200-0xf2ff mem 0xd000-0xd0ff irq 19 at device 9.0 on pci0 miibus0: MII bus on rl0 rlphy0: RealTek internal media interface PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:15:58:61:20:4c rl0: [ITHREAD] atapci0: VIA 6420 SATA150 controller port 0xff00- 0xff07,0xfe00-0xfe03,0xfd00-0xfd07,0xfc00-0xfc03,0xfb00-0xfb0f, 0xf400-0xf4ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: ATA channel 0 on atapci0 ata2: [ITHREAD] ata3: ATA channel 1 on atapci0 ata3: [ITHREAD] atapci1: VIA 8237 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfa00-0xfa0f at device 15.1 on pci0 ata0: ATA channel 0 on atapci1 ata0: [ITHREAD] ata1: ATA channel 1 on atapci1 ata1: [ITHREAD] uhci0: VIA 83C572 USB controller port 0xf900-0xf91f irq 21 at device 16.0 on pci0
FreeBSD Server Settings Consult
We've been having some problems with our server and I was wondering if someone had any advice or suggestions for our current system settings. # cat /etc/sysctl.conf kern.ipc.maxsockbuf=1048576 net.inet.tcp.sendspace=65536 net.inet.tcp.recvspace=65536 net.local.stream.recvspace=65536 net.local.stream.sendspace=65536 net.inet.udp.recvspace=65536 net.inet.udp.maxdgram=65535 kern.ipc.somaxconn=8192 kern.maxvnodes=132072 kern.maxfiles=65535 kern.maxfilesperproc=65536 net.inet.tcp.msl=7500 net.inet.tcp.mssdflt=1460 security.bsd.see_other_uids=0 security.bsd.see_other_gids=0 kern.fallback_elf_brand=3 net.inet.tcp.newreno=1 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.ip.check_interface=0 vfs.vmiodirenable=1 net.inet.ip.portrange.randomized=1 net.inet.icmp.bmcastecho=0 net.inet.icmp.maskrepl=0 net.inet.icmp.icmplim=500 kern.randompid=89061 net.inet.icmp.drop_redirect=1 net.inet.icmp.log_redirect=0 net.inet.ip.random_id=89061 net.inet.ip.rtexpire=2 net.inet.ip.rtmaxcache=256 net.inet.ip.rtminexpire=2 net.inet.tcp.blackhole=2 net.inet.tcp.icmp_may_rst=0 net.inet.tcp.inflight.enable=0 net.inet.tcp.log_in_vain=0 net.inet.tcp.sack.enable=1 net.inet.udp.blackhole=1 net.inet.udp.log_in_vain=0 net.link.ether.inet.log_arp_wrong_iface=0 net.link.ether.inet.max_age=1200 # cat /boot/loader.conf kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=32768 kern.ipc.nmbufs=131072 kern.ipc.shm_use_phys=1 kern.maxproc=8192 net.inet.tcp.tcbhashsize=16384 kern.maxfiles=65535 kern.maxfilesperproc=65536 # cat /etc/rc.conf (minus networking) clear_tmp_enable=YES update_motd=NO tcp_extensions=YES firewall_enable=YES firewall_script=/etc/ipfw.rules linux_enable=YES sshd_enable=NO usbd_enable=NO fsck_y_enable=YES oidentd_enable=YES pureftpd_enable=no syslogd_enable=YES syslogd_flags=-ss ntpd_enable=YES ntpd_flags=-4 -p/var/run/ntpd.pid tcp_keepalive=YES icmp_bmcastecho=NO icmp_bandlim==YES portmap_enable=NO icmp_drop_redirect=YES quota_enable=YES check_quotas=YES #accounting_enable=YES named_program=/usr/sbin/named named_flags=-u bind -c /etc/namedb/named.conf named_enable=YES local_startup=/usr/local/etc/rc.d openssh_enable=YES openssh_flags=-4 -f/etc/ssh/sshd_config openssh_pidfile=/var/run/sshd.pid sendmail_enable=NO network_interfaces=rl0 lo0 webmin_enable=YES dumpdev=AUTO dumpdir=/var/crash courier_imap_imapd_enable=YES courier_imap_imapd_ssl_enable=YES courier_imap_pop3d_enable=YES courier_imap_pop3d_ssl_enable=YES courier_authdaemond_enable=YES tor_enable=NO chkservd_enable=YES apop3d_enable=NO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Server Settings Consult
On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote: We've been having some problems with our server and I was wondering if someone had any advice or suggestions for our current system settings. You'll probably get more help if you post the problems and any diagnostic info. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Server Settings Consult
Well from bad experience that goes no where, due-to rare issue and no supporting logs/core dumps... Therefore that be a complete no :( On Fri, May 2, 2008 at 11:30 AM, Bob Hall [EMAIL PROTECTED] wrote: On Fri, May 02, 2008 at 07:28:44AM -0400, Free BSD wrote: We've been having some problems with our server and I was wondering if someone had any advice or suggestions for our current system settings. You'll probably get more help if you post the problems and any diagnostic info. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD Server Settings Consult
On Friday 02 May 2008 13:28:44 Free BSD wrote: We've been having some problems with our server and I was wondering if someone had any advice or suggestions for our current system settings. Would help to know, at minimum: - ammount of ram - ammount of cpu's - platform (uname -m ) - pciconf -lv|grep ^none - dmesg output that complains about hardware - what's different about your kernel with respect to GENERIC What the problems are: - from the sysctl variables, I'm guessing you want more network performance - you mention core dumps, does the kernel crash? Some background: - what's the primary purpose of the machine - why are things like ipc tuned? kern.maxfilesperproc=65536 The above will only work with programs that use open(2) exclusively and not fopen, because fopen is limited to SHRT_MAX, being 32767. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]