Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2007 20:21:56 +0200 (CEST)
From:      "Reinhold" <freebsd@violetlan.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: apache problems
Message-ID:  <56060.212.99.207.3.1187288516.squirrel@www.violetlan.net>
In-Reply-To: <46C49476.3070003@barafranca.com>
References:  <55628.212.99.207.3.1187285415.squirrel@www.violetlan.net> <46C49476.3070003@barafranca.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, August 16, 2007 20:16, Hugo Silva wrote:
> Reinhold wrote:
>
>> Hi
>>
>>
>> I am having some problems with apache22 on my box. What happens is,
>> when I'm viewing loads and loads of pages, apache will stop responding
>> untill I restart it again. This normally happens when the free memory
>> shown by top gets to about +- 100MB.
>>
>> Here is my dmesg output:
>> Copyright (c) 1992-2007 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 6.2-STABLE #0: Thu Aug  2 12:32:26 CEST 2007
>> hamba@mbali.violetlan.net:/usr/obj/usr/src/sys/MYKERN
>> module_register: module accf_data already exists!
>> Module accf_data failed to register: 17
>> module_register: module accf_http already exists!
>> Module accf_http failed to register: 17
>> ACPI APIC Table: <Nvidia AWRDACPI>
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: Dual Core AMD Opteron(tm) Processor 165    (1808.34-MHz K8-class
>> CPU)
>> Origin = "AuthenticAMD"  Id = 0x20f32  Stepping = 2
>>
>>
>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG
>> E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>> Features2=0x1<SSE3>
>> AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
>> AMD Features2=0x3<LAHF,CMP>
>> Cores per package: 2
>> real memory  = 2147418112 (2047 MB) avail memory = 2065465344 (1969 MB)
>> 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 1.1> irqs 0-23 on motherboard kbd1 at kbdmux0
>> module_register_init: MOD_LOAD (accf_data, 0xffffffff802d0f90,
>> 0xffffffff807120c0) error 17
>> module_register_init: MOD_LOAD (accf_http, 0xffffffff802d0f90,
>> 0xffffffff80713720) error 17
>> acpi0: <Nvidia AWRDACPI> on motherboard
>> acpi0: Power Button (fixed)
>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
>> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
>> cpu0: <ACPI CPU> on acpi0
>> cpu1: <ACPI CPU> on acpi0
>> acpi_button0: <Power Button> on acpi0
>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> pci0: <ACPI PCI bus> on pcib0
>> pci0: <memory> at device 0.0 (no driver attached)
>> isab0: <PCI-ISA bridge> at device 1.0 on pci0
>> isa0: <ISA bus> on isab0
>> pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
>> ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21
>> at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
>> usb0: OHCI version 1.0, legacy support
>> usb0: <OHCI (generic) USB controller> on ohci0
>> usb0: USB revision 1.0
>> uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>> uhub0: 10 ports with 10 removable, self powered
>> ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq
>> 22
>> at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
>> usb1: EHCI version 1.0
>> usb1: companion controller, 4 ports each: usb0
>> usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
>> usb1: USB revision 2.0
>> uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>> uhub1: 10 ports with 10 removable, self powered
>> atapci0: <nVidia nForce CK804 UDMA133 controller> port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0
>> ata0: <ATA channel 0> on atapci0
>> ata1: <ATA channel 1> on atapci0
>> atapci1: <nVidia nForce CK804 SATA300 controller> port
>> 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem
>> 0xfe02b000-0xfe02bfff irq 23 at device 7.0 on pci0
>> ata2: <ATA channel 0> on atapci1
>> ata3: <ATA channel 1> on atapci1
>> atapci2: <nVidia nForce CK804 SATA300 controller> port
>> 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem
>> 0xfe02a000-0xfe02afff irq 21 at device 8.0 on pci0
>> ata4: <ATA channel 0> on atapci2
>> ata5: <ATA channel 1> on atapci2
>> pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
>> pci1: <ACPI PCI bus> on pcib1
>> rl0: <RealTek 8139 10/100BaseTX> port 0xac00-0xacff mem
>> 0xfdfff000-0xfdfff0ff irq 17 at device 7.0 on pci1
>> miibus0: <MII bus> on rl0
>> rlphy0: <RealTek internal media interface> on miibus0
>> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> rl0: Ethernet address: 00:0e:2e:08:44:e4
>> pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
>> pci2: <ACPI PCI bus> on pcib2
>> pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
>> pci3: <ACPI PCI bus> on pcib3
>> pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
>> pci4: <ACPI PCI bus> on pcib4
>> pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
>> pci5: <ACPI PCI bus> on pcib5
>> pci5: <display, VGA> at device 0.0 (no driver attached)
>> acpi_tz0: <Thermal Zone> on acpi0
>> fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
>> acpi0 fdc0: [FAST]
>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
>> acpi0 sio0: type 16550A
>> ppc0: <Standard parallel printer port> port 0x378-0x37f,0x778-0x77b irq
>> 7
>> on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
>> ppbus0: <Parallel port bus> on ppc0
>> plip0: <PLIP network interface> on ppbus0
>> lpt0: <Printer> on ppbus0
>> lpt0: Interrupt-driven port
>> ppi0: <Parallel I/O> on ppbus0
>> orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff on isa0
>> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0 atkbd0: [GIANT-LOCKED]
>> sc0: <System console> at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> sio1: configured irq 3 not in bitmap of probed irqs 0
>> sio1: port may not be enabled
>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
>> isa0 Timecounters tick every 1.000 msec
>> ad0: 29312MB <Maxtor 33073H3 YAH814Y0> at ata0-master UDMA100
>> acd0: CDRW <CR-48XATE/1.0G> at ata1-master UDMA33
>> acd1: DVDROM <Pioneer DVD-ROM ATAPIModel DVD-106S 0122/E1.22> at
>> ata1-slave UDMA66
>> ad4: 238475MB <Seagate ST3250820AS 3.AAE> at ata2-master SATA150
>> ad6: 238475MB <Seagate ST3250410AS 3.AAA> at ata3-master SATA150
>> ad8: 76324MB <WDC WD800JD-08MSA1 10.01E01> at ata4-master SATA150
>> SMP: AP CPU #1 Launched!
>>
>>
>> I'm also getting this error when I do a gracful restart of apache
>> [Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable
>>  the 'httpready' Accept Filter [Thu Aug 16 05:12:16 2007] [warn]
>> (22)Invalid argument: Failed to enable
>> the 'httpready' Accept Filter
>>
>> and in my /boot/loader.conf I have added accf_data_load="YES"
>> accf_http_load="YES"
>>
>> and kldstat reports this Id Refs Address            Size     Name
>> 1    3 0xffffffff80100000 611660   kernel
>> 2    1 0xffffffff80712000 718      accf_data.ko
>> 3    1 0xffffffff80713000 1408     accf_http.ko
>>
>>
>> When I do a proper restart I'm also getting these errors
>> [Thu Aug 16 05:10:56 2007] [warn] child process 84880 still did not
>> exit, sending a SIGTERM [Thu Aug 16 05:10:58 2007] [warn] child process
>> 84880 still did not exit,
>> sending a SIGTERM [Thu Aug 16 05:11:00 2007] [warn] child process 84880
>> still did not exit, sending a SIGTERM [Thu Aug 16 05:11:02 2007] [error]
>> child process 84880 still did not exit, sending a SIGKILL
>>
>> In my custom kernel I have added or changed the following
>> options     SCHED_ULE
>>
>> options SMP options IPI_PREEMPTION options SC_DISABLE_REBOOT options
>> LINPROCFS
>> #options ACCEPT_FILTER_DATA
>> #options ACCEPT_FILTER_HTTP
>>
>>
>> device mptable
>>
>> # Enable PF
>> device pf device pflog device pfsync
>>
>> options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options
>> ALTQ_HFSC
>> options ALTQ_PRIQ options ALTQ_NOPCC
>>
>> if any other info is needed, please let me know Please help me to fix
>> this problem
>>
>> Thanks
>> Reinhold
>>
>>
>>
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>>
>
> Are you using PHP and the worker/event MPM, by any chance ?
>
>
> Hugo
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>
>
Yes and Yes
running apache22 as mpm worker and php5-5.2.3_1




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56060.212.99.207.3.1187288516.squirrel>