[FUG-BR] Server travando - Preciso descobrir o que é - Dicas.

Pablo Sánchez phackwer em gmail.com
Terça Junho 6 13:12:59 BRT 2006


Já pensou em atualizar do 5.4 para o 6.0? Outra: ele funcionava numa
boa e um belo dia deu pau? E mai uma: vc não estaria sofrendo ataques
de DDoS?

2006/6/6, Roberto Rodrigues da Silva <robertors em bs2.com.br>:
> Ola, lista.
>
> Gostaria de uma opnião de vcs...
>
> Estou tento problemas com meu servidor, ele fica "travando" e parece ser
> problemas de hardware. Gostaria de alguma ferramenta ou algum meio para
> verificar o que esta fazendo ele travar.
>
> Procurei no google algumas ferramentas para monitorar: temperatura da
> cpu, temperatura do gabinete, discos...
>
> Mas gostaria de saber a opniao de vcs...
>
> O server já está até com os discos meio sujo... de tanto reiniciar...
> ehehe.
>
> O carga dos serviços que rodam nele não é muito alta. O load fica na
> media de load averages: 0.54, 0.77, 0.72
>
> Tb rodo o apache2 nele... com uma media de 22 requisiçoes por segundo.
>
> Segue o status do apache:
>
> Current Time: Tuesday, 06-Jun-2006 12:00:06 BRT
> Restart Time: Tuesday, 06-Jun-2006 08:51:56 BRT
> Parent Server Generation: 0
> Server uptime: 3 hours 8 minutes 10 seconds
> Total accesses: 249862 - Total Traffic: 1.8 GB
> CPU Usage: u451.297 s62.9531 cu.078125 cs0 - 4.56% CPU load
> 22.1 requests/sec - 170.2 kB/second - 7.7 kB/request
> 67 requests currently being processed, 39 idle workers
>
>
> Tb meu top é:
>
> last pid:  7658;  load averages:  0.63,  0.66,  0.67
> up 0+04:14:15  13:01:04
> 141 processes: 1 running, 140 sleeping
> CPU states: 22.1% user,  0.0% nice,  3.5% system,  0.6% interrupt, 73.8%
> idle
> Mem: 605M Active, 1001M Inact, 169M Wired, 88K Cache, 112M Buf, 227M
> Free
> Swap: 1024M Total, 1024M Free
>
> Não parece que ele esta sobrecarregado... mas ele esta travando com uma
> frequencia de 1 dia... ( to perdido !)
>
> Acredito ser algum problema com o hardware... mas nao sei o que...
>
>
> Se alguem usa alguma coisa, manda ai pra mim os links. E algumas
> idéias...
>
> Segue abaixo o dmesg do server com problemas:
>
> Copyright (c) 1992-2005 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 5.4-STABLE #1: Wed Apr 27 13:08:22 BRT 2005
>     root em srv-01.XXXXXXXXXX:/usr/obj/usr/src/sys/SRV-01-XXXXXXXXXXXXX
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf33  Stepping = 3
>
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Hyperthreading: 2 logical CPUs
> real memory  = 2147418112 (2047 MB)
> avail memory = 2095960064 (1998 MB)
> ACPI APIC Table: <A M I  OEMAPIC >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> ioapic1 <Version 2.0> irqs 24-47 on motherboard
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <A M I OEMRSDT> on motherboard
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> cpu0: <ACPI CPU> on acpi0
> acpi_throttle0: <ACPI CPU Throttling> on cpu0
> cpu1: <ACPI CPU> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 3.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port
> 0xbc00-0xbc1f mem 0xfc5e0000-0xfc5fffff irq 18 at device 1.0 on pci1
> em0: Ethernet address: 00:0e:0c:4d:85:72
> em0:  Speed:N/A  Duplex:N/A
> pcib2: <ACPI PCI-PCI bridge> at device 28.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci3: <ACPI PCI bus> on pcib3
> pci3: <display, VGA> at device 0.0 (no driver attached)
> fxp0: <Intel 82551 Pro/100 Ethernet> port 0xcc00-0xcc3f mem
> 0xfe6a0000-0xfe6bffff,0xfe6fe000-0xfe6fefff irq 17 at device 1.0 on pci3
> miibus0: <MII bus> on fxp0
> inphy0: <i82555 10/100 media interface> on miibus0
> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp0: Ethernet address: 00:0e:0c:4d:85:73
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel 6300ESB UDMA100 controller> port
> 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
> ata0: channel #0 on atapci0
> ata1: channel #1 on atapci0
> atapci1: <Intel 6300ESB SATA150 controller> port
> 0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07
> irq 18 at device 31.2 on pci0
> ata2: channel #0 on atapci1
> ata3: channel #1 on atapci1
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> acpi_button0: <Power Button> on acpi0
> acpi_button1: <Sleep Button> on acpi0
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> acpi0
> sio0: type 16550A
> sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> orm0: <ISA Option ROMs> at iomem
> 0xdc000-0xdffff,0xc8000-0xcc7ff,0xc0000-0xc7fff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
> isa0
> Timecounters tick every 10.000 msec
> IPv6 packet filtering initialized, default to accept, logging disabled
> ipfw2 initialized, divert enabled, rule-based forwarding disabled,
> default to accept, logging disabled
> ad4: 152627MB <ST3160023AS/3.18> [310101/16/63] at ata2-master SATA150
> ad6: 152627MB <ST3160023AS/3.18> [310101/16/63] at ata3-master SATA150
> ar0: 152627MB <ATA RAID1 array> [19457/255/63] status: READY subdisks:
>  disk0 READY on ad6 at ata3-master
>  disk1 READY on ad4 at ata2-master
> SMP: AP CPU #1 Launched!
> Mounting root from ufs:/dev/ar0s1a
> WARNING: / was not properly dismounted
> WARNING: /home was not properly dismounted
> WARNING: /tmp was not properly dismounted
> WARNING: /usr was not properly dismounted
> WARNING: /var was not properly dismounted
> WARNING: /var/jails/1 was not properly dismounted
> WARNING: /var/jails/1/home was not properly dismounted
> WARNING: /var/jails/1/tmp was not properly dismounted
> WARNING: /var/jails/1/usr was not properly dismounted
> WARNING: /var/jails/1/var was not properly dismounted
> /var/jails/1/var: mount pending error: blocks 556 files 4
> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
> free inode /var/jails/1/var/306184 had 4 blocks
> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
> collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
>
>
> T+
> --
> Roberto Rodrigues
>
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd