Hi everyone,
I suspect that Apache 2.0.52 as distributed with CentOS has a memory leak issue. Is anyone aware of this? More importantly I wanted to ask if there are any "yum" repositories for Apache 2.2 avaiable?
Thanks.
On Mon, 2 Oct 2006, Devraj Mukherjee wrote:
I suspect that Apache 2.0.52 as distributed with CentOS has a memory leak issue. Is anyone aware of this?
Being more specific might make your mail more valuable. A memory leak in what module ? How to reproduce it ? Is it a known Apache issue or something specific to how the CentOS Apache has been compiled ? Why do you suspect there is a memory leak ?
Any reference would make your post useful, now it's not.
BTW Did you know the kernel you are running has a bug ?
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
you mean 2.6.9-42.0.2.plus.c4smp
On 10/2/06, Dag Wieers dag@wieers.com wrote:
On Mon, 2 Oct 2006, Devraj Mukherjee wrote:
I suspect that Apache 2.0.52 as distributed with CentOS has a memory leak issue. Is anyone aware of this?
Being more specific might make your mail more valuable. A memory leak in what module ? How to reproduce it ? Is it a known Apache issue or something specific to how the CentOS Apache has been compiled ? Why do you suspect there is a memory leak ?
Any reference would make your post useful, now it's not.
BTW Did you know the kernel you are running has a bug ?
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi Dag,
Also notice the following messages
Oct 1 06:42:21 charlie kernel: protections[]: 0 0 0 Oct 1 06:42:21 charlie kernel: Node 0 DMA: 0*4kB 1*8kB 0*16kB 2*32kB 3*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11528kB Oct 1 06:42:21 charlie kernel: Node 0 Normal: 0*4kB 5*8kB 6*16kB 2*32kB 1*64kB 0*128kB 1*256kB 3*512kB 0*1024kB 0*2048kB 0*4096kB = 2056kB Oct 1 06:42:21 charlie kernel: Node 0 HighMem: empty Oct 1 06:42:21 charlie kernel: Swap cache: add 2889479, delete 2889467, find 905741/1017940, race 0+15 Oct 1 06:42:21 charlie kernel: Free swap: 0kB Oct 1 06:42:21 charlie kernel: 1179648 pages of RAM Oct 1 06:42:21 charlie kernel: 168514 reserved pages Oct 1 06:42:21 charlie kernel: 626131 pages shared Oct 1 06:42:21 charlie kernel: 12 pages swap cached Oct 1 06:42:21 charlie kernel: Out of Memory: Killed process 1999 (httpd). Oct 1 07:01:29 charlie kernel: oom-killer: gfp_mask=0x1d2 Oct 1 07:01:30 charlie kernel: Mem-info: Oct 1 07:01:30 charlie kernel: Node 0 DMA per-cpu: Oct 1 07:01:30 charlie kernel: cpu 0 hot: low 2, high 6, batch 1 Oct 1 07:01:30 charlie kernel: cpu 0 cold: low 0, high 2, batch 1 Oct 1 07:01:30 charlie kernel: cpu 1 hot: low 2, high 6, batch 1 Oct 1 07:01:30 charlie kernel: cpu 1 cold: low 0, high 2, batch 1 Oct 1 07:01:30 charlie kernel: cpu 2 hot: low 2, high 6, batch 1 Oct 1 07:01:30 charlie kernel: cpu 2 cold: low 0, high 2, batch 1 Oct 1 07:01:30 charlie kernel: cpu 3 hot: low 2, high 6, batch 1 Oct 1 07:01:30 charlie kernel: cpu 3 cold: low 0, high 2, batch 1 Oct 1 07:01:30 charlie kernel: Node 0 Normal per-cpu: Oct 1 07:01:30 charlie kernel: cpu 0 hot: low 32, high 96, batch 16 Oct 1 07:01:31 charlie kernel: cpu 0 cold: low 0, high 32, batch 16 Oct 1 07:01:31 charlie kernel: cpu 1 hot: low 32, high 96, batch 16 Oct 1 07:01:31 charlie kernel: cpu 1 cold: low 0, high 32, batch 16 Oct 1 07:01:31 charlie kernel: cpu 2 hot: low 32, high 96, batch 16 Oct 1 07:01:33 charlie kernel: cpu 2 cold: low 0, high 32, batch 16 Oct 1 07:04:15 charlie kernel: cpu 3 hot: low 32, high 96, batch 16 Oct 1 07:24:04 charlie kernel: cpu 3 cold: low 0, high 32, batch 16 Oct 1 07:48:23 charlie kernel: Node 0 HighMem per-cpu: empty Oct 1 07:48:23 charlie kernel: Oct 1 07:48:23 charlie kernel: Free pages: 13640kB (0kB HighMem) Oct 1 07:48:23 charlie kernel: Active:10282 inactive:956850 dirty:0 writeback:0 unstable:0 free:3410 slab:9415 mapped:967735 pagetables:23309 Oct 1 07:48:23 charlie kernel: Node 0 DMA free:11528kB min:4kB low:8kB high:12kB active:0kB inactive:0kB present:16384kB pages_scanned:2977 a ll_unreclaimable? yes Oct 1 07:48:23 charlie kernel: protections[]: 0 0 0 Oct 1 07:48:23 charlie kernel: Node 0 Normal free:2112kB min:2160kB low:4320kB high:6480kB active:42928kB inactive:3825600kB present:4702208k B pages_scanned:5985945 all_unreclaimable? yes Oct 1 07:48:23 charlie kernel: protections[]: 0 0 0 Oct 1 07:48:23 charlie kernel: Node 0 HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB pages_scanned:0 all _unreclaimable? no Oct 1 07:48:23 charlie kernel: protections[]: 0 0 0 Oct 1 07:48:23 charlie kernel: Node 0 DMA: 0*4kB 1*8kB 0*16kB 2*32kB 3*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11528kB Oct 1 07:48:28 charlie kernel: Node 0 Normal: 12*4kB 232*8kB 13*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2112k B Oct 1 07:48:28 charlie kernel: Node 0 HighMem: empty Oct 1 07:48:28 charlie kernel: Swap cache: add 2902771, delete 2902761, find 906274/1018789, race 0+20 Oct 1 07:48:29 charlie kernel: Free swap: 0kB Oct 1 07:48:29 charlie kernel: 1179648 pages of RAM Oct 1 07:49:47 charlie kernel: 168514 reserved pages Oct 1 07:49:47 charlie kernel: 664563 pages shared Oct 1 07:49:47 charlie kernel: 10 pages swap cached Oct 1 07:49:47 charlie kernel: Out of Memory: Killed process 1996 (httpd). Oct 1 07:49:47 charlie kernel: oom-killer: gfp_mask=0x1d2 Oct 1 07:49:47 charlie kernel: Mem-info: Oct 1 07:49:48 charlie kernel: Node 0 DMA per-cpu: Oct 1 07:49:48 charlie kernel: cpu 0 hot: low 2, high 6, batch 1 Oct 1 07:49:48 charlie kernel: cpu 0 cold: low 0, high 2, batch 1 Oct 1 07:49:48 charlie kernel: cpu 1 hot: low 2, high 6, batch 1 Oct 1 07:49:48 charlie kernel: cpu 1 cold: low 0, high 2, batch 1 Oct 1 07:49:48 charlie kernel: cpu 2 hot: low 2, high 6, batch 1 Oct 1 07:49:48 charlie kernel: cpu 2 cold: low 0, high 2, batch 1 Oct 1 07:49:48 charlie kernel: cpu 3 hot: low 2, high 6, batch 1 Oct 1 07:49:48 charlie kernel: cpu 3 cold: low 0, high 2, batch 1 Oct 1 07:49:48 charlie kernel: Node 0 Normal per-cpu: Oct 1 07:49:48 charlie kernel: cpu 0 hot: low 32, high 96, batch 16 Oct 1 07:49:48 charlie kernel: cpu 0 cold: low 0, high 32, batch 16 Oct 1 07:49:48 charlie kernel: cpu 1 hot: low 32, high 96, batch 16 Oct 1 07:49:48 charlie kernel: cpu 1 cold: low 0, high 32, batch 16 Oct 1 07:49:48 charlie kernel: cpu 2 hot: low 32, high 96, batch 16 Oct 1 07:49:48 charlie kernel: cpu 2 cold: low 0, high 32, batch 16 Oct 1 07:49:48 charlie kernel: cpu 3 hot: low 32, high 96, batch 16 Oct 1 07:49:48 charlie kernel: cpu 3 cold: low 0, high 32, batch 16 Oct 1 07:49:48 charlie kernel: Node 0 HighMem per-cpu: empty Oct 1 07:49:48 charlie kernel: Oct 1 07:49:48 charlie kernel: Free pages: 13664kB (0kB HighMem) Oct 1 07:49:48 charlie kernel: Active:133982 inactive:832635 dirty:0 writeback:0 unstable:0 free:3416 slab:9418 mapped:967370 pagetables:2324 6 Oct 1 07:49:48 charlie kernel: Node 0 DMA free:11528kB min:4kB low:8kB high:12kB active:0kB inactive:0kB present:16384kB pages_scanned:2985 a ll_unreclaimable? yes Oct 1 07:49:48 charlie kernel: protections[]: 0 0 0 Oct 1 07:49:48 charlie kernel: Node 0 Normal free:2136kB min:2160kB low:4320kB high:6480kB active:535160kB inactive:3331308kB present:4702208 kB pages_scanned:4548753 all_unreclaimable? yes Oct 1 07:49:48 charlie kernel: protections[]: 0 0 0 Oct 1 07:49:48 charlie kernel: Node 0 HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB pages_scanned:0 all _unreclaimable? no Oct 1 07:49:48 charlie kernel: protections[]: 0 0 0 Oct 1 07:49:48 charlie kernel: Node 0 DMA: 0*4kB 1*8kB 0*16kB 2*32kB 3*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11528kB Oct 1 07:49:48 charlie kernel: Node 0 Normal: 10*4kB 234*8kB 14*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2136k B Oct 1 07:49:48 charlie kernel: Node 0 HighMem: empty Oct 1 07:49:48 charlie kernel: Swap cache: add 2914909, delete 2914909, find 907117/1019856, race 0+21 Oct 1 07:49:48 charlie kernel: Free swap: 0kB Oct 1 07:49:48 charlie kernel: 1179648 pages of RAM Oct 1 07:49:48 charlie kernel: 168514 reserved pages Oct 1 07:49:48 charlie kernel: 653992 pages shared Oct 1 07:49:48 charlie kernel: 0 pages swap cached Oct 1 07:49:48 charlie kernel: Out of Memory: Killed process 31946 (httpd). Oct 1 08:10:14 charlie syslogd 1.4.1: restart. Oct 1 08:10:14 charlie syslog: syslogd startup succeeded Oct 1 08:10:14 charlie kernel: klogd 1.4.1, log source = /proc/kmsg started. Oct 1 08:10:14 charlie kernel: Bootdata ok (command line is ro root=/dev/VolGroup00/Root vga=791) Oct 1 08:10:14 charlie kernel: Linux version 2.6.9-42.0.2.plus.c4smp (buildcentos@v20z-x86-64) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Sat Aug 26 12:53:43 CDT 2006 Oct 1 08:10:14 charlie kernel: BIOS-provided physical RAM map: Oct 1 08:10:14 charlie kernel: BIOS-e820: 0000000000000000 - 00000000000a0000 (usable) Oct 1 08:10:14 charlie kernel: BIOS-e820: 0000000000100000 - 00000000dffc0000 (usable) Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000dffc0000 - 00000000dffcfc00 (ACPI data) Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000dffcfc00 - 00000000dffff000 (reserved) Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved) Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000fec00000 - 00000000fec90000 (reserved) Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved) Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved) Oct 1 08:10:14 charlie syslog: klogd startup succeeded Oct 1 08:10:14 charlie kernel: BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved) Oct 1 08:10:14 charlie kernel: BIOS-e820: 0000000100000000 - 0000000120000000 (usable) Oct 1 08:10:14 charlie irqbalance: irqbalance startup succeeded Oct 1 08:10:14 charlie portmap: portmap startup succeeded Oct 1 08:10:14 charlie rpc.statd[2999]: Version 1.0.6 Starting Oct 1 08:10:14 charlie kernel: No NUMA configuration found Oct 1 08:10:14 charlie kernel: Faking a node at 0000000000000000-0000000120000000 Oct 1 08:10:14 charlie kernel: Bootmem setup node 0 0000000000000000-0000000120000000 Oct 1 08:10:14 charlie nfslock: rpc.statd startup succeeded Oct 1 08:10:14 charlie kernel: No mptable found. Oct 1 08:10:14 charlie kernel: DMI 2.3 present. Oct 1 08:10:14 charlie kernel: ACPI: PM-Timer IO Port: 0x808 Oct 1 08:10:14 charlie kernel: ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) Oct 1 08:10:15 charlie kernel: Processor #0 15:4 APIC version 16 Oct 1 08:10:15 charlie kernel: ACPI: LAPIC (acpi_id[0x02] lapic_id[0x06] enabled) Oct 1 08:10:15 charlie kernel: Processor #6 15:4 APIC version 16 Oct 1 08:10:15 charlie kernel: ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled) Oct 1 08:10:15 charlie kernel: Processor #1 15:4 APIC version 16 Oct 1 08:10:15 charlie kernel: ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] enabled) Oct 1 08:10:15 charlie kernel: Processor #7 15:4 APIC version 16 Oct 1 08:10:15 charlie kernel: ACPI: LAPIC (acpi_id[0x05] lapic_id[0x02] disabled) Oct 1 08:10:15 charlie kernel: ACPI: LAPIC (acpi_id[0x06] lapic_id[0x04] disabled) Oct 1 08:10:15 charlie kernel: ACPI: LAPIC (acpi_id[0x07] lapic_id[0x03] disabled)
On 10/2/06, Devraj Mukherjee devraj@gmail.com wrote:
you mean 2.6.9-42.0.2.plus.c4smp
On 10/2/06, Dag Wieers dag@wieers.com wrote:
On Mon, 2 Oct 2006, Devraj Mukherjee wrote:
I suspect that Apache 2.0.52 as distributed with CentOS has a memory leak issue. Is anyone aware of this?
Being more specific might make your mail more valuable. A memory leak in what module ? How to reproduce it ? Is it a known Apache issue or something specific to how the CentOS Apache has been compiled ? Why do you suspect there is a memory leak ?
Any reference would make your post useful, now it's not.
BTW Did you know the kernel you are running has a bug ?
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power] _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- "I never look back darling, it distracts from the now", Edna Mode (The Incredibles)
On Mon, 2 Oct 2006, Devraj Mukherjee wrote:
On 10/2/06, Devraj Mukherjee devraj@gmail.com wrote:
On 10/2/06, Dag Wieers dag@wieers.com wrote:
On Mon, 2 Oct 2006, Devraj Mukherjee wrote:
I suspect that Apache 2.0.52 as distributed with CentOS has a memory leak issue. Is anyone aware of this?
Being more specific might make your mail more valuable. A memory leak in what module ? How to reproduce it ? Is it a known Apache issue or something specific to how the CentOS Apache has been compiled ? Why do you suspect there is a memory leak ?
Any reference would make your post useful, now it's not.
BTW Did you know the kernel you are running has a bug ?
you mean 2.6.9-42.0.2.plus.c4smp
It doesn't matter what you actually are running. I was just making the point that without specifics the statement is fairly useless to most.
However the information below is just a start.
Also notice the following messages
Oct 1 07:49:47 charlie kernel: Out of Memory: Killed process 1996 (httpd). Oct 1 07:49:47 charlie kernel: oom-killer: gfp_mask=0x1d2
[snip]
Oct 1 07:49:48 charlie kernel: Out of Memory: Killed process 31946 (httpd).
What we now need is the context.
Was it really httpd that was causing it ? What were you doing when it happened ? What technologies are you using that may cause this ? Did you try another Apache (a more recent build) ? Did you try to unload unnecessary modules to find the culprit ?
Everything you think is useful to color in the picture and to give a fairly good idea what you have set up and what you think might have caused it.
There are many reasons why Apache could use up memory and it's even, possible that a configuration error could lead up to this.
To find the cause, much more information is required.
Then again, I don't think the CentOS mailinglist is the best location to find the cause. The first thing you probably need to know is: is this a known issue with Apache 2.0 or did you find a new problem (possible related to some other software). For that you need to look for similar incidents on the Apache forums/bugzilla.
If you require support, you may want to buy a Red Hat Enterprise version, test it on that and in case you still have the problem, open a ticket with Red Hat.
Whatever the cause, an action has to come from you depending how you want it solved. Moving to Apache 2.2 may solve the problem at hand but may not be the best problem overall.
Kind regards, -- dag wieers, dag@wieers.com, http://dag.wieers.com/ -- [all I want is a warm bed and a kind word and unlimited power]
Devraj Mukherjee wrote:
you mean 2.6.9-42.0.2.plus.c4smp
Don't top post.
Dag's mail is as helpful as yours was.
Ralph