求助:apache2内存问题

求助:apache2内存问题

APACHE2+PHP4.4跑一段时间后系统就报错,内存溢出,有高人知道啥原因嘛?同样的程序,不是所有服务器都报错,有4、5台不同批次不同品牌的服务器都会报。没有一点思路了,不知道是硬件问题还是APACHE配置问题,有人能给点意见嘛,谢谢!
报错信息如下:
oom-killer: gfp_mask=0x1d2
Mem-info:
Node 0 DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
cpu 1 hot: low 2, high 6, batch 1
cpu 1 cold: low 0, high 2, batch 1
cpu 2 hot: low 2, high 6, batch 1
cpu 2 cold: low 0, high 2, batch 1
cpu 3 hot: low 2, high 6, batch 1
cpu 3 cold: low 0, high 2, batch 1
cpu 4 hot: low 2, high 6, batch 1
cpu 4 cold: low 0, high 2, batch 1
cpu 5 hot: low 2, high 6, batch 1
cpu 5 cold: low 0, high 2, batch 1
cpu 6 hot: low 2, high 6, batch 1
cpu 6 cold: low 0, high 2, batch 1
cpu 7 hot: low 2, high 6, batch 1
cpu 7 cold: low 0, high 2, batch 1
Node 0 Normal per-cpu:
cpu 0 hot: low 32, high 96, batch 16
cpu 0 cold: low 0, high 32, batch 16
cpu 1 hot: low 32, high 96, batch 16
cpu 1 cold: low 0, high 32, batch 16
cpu 2 hot: low 32, high 96, batch 16
cpu 2 cold: low 0, high 32, batch 16
cpu 3 hot: low 32, high 96, batch 16
cpu 3 cold: low 0, high 32, batch 16
cpu 4 hot: low 32, high 96, batch 16
cpu 4 cold: low 0, high 32, batch 16
cpu 5 hot: low 32, high 96, batch 16
cpu 5 cold: low 0, high 32, batch 16
cpu 6 hot: low 32, high 96, batch 16
cpu 6 cold: low 0, high 32, batch 16
cpu 7 hot: low 32, high 96, batch 16
cpu 7 cold: low 0, high 32, batch 16
Node 0 HighMem per-cpu: empty

Free pages:       13308kB (0kB HighMem)
Active:262163 inactive:213077 dirty:0 writeback:0 unstable:0 free:3327 slab:11343 mapped:476638 pagetables:10528
Node 0 DMA free:11884kB min:8kB low:16kB high:24kB active:0kB inactive:0kB present:16384kB pages_scanned:5838 all_unreclaimable? yes
protections[]: 0 0 0
Node 0 Normal free:1424kB min:1428kB low:2856kB high:4284kB active:1048948kB inactive:852280kB present:2080704kB pages_scanned:397780181 all_unreclaimable? yes
protections[]: 0 0 0
Node 0 HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
protections[]: 0 0 0
Node 0 DMA: 5*4kB 3*8kB 4*16kB 2*32kB 3*64kB 2*128kB 2*256kB 1*512kB 0*1024kB 1*2048kB 2*4096kB = 11884kB
Node 0 Normal: 0*4kB 114*8kB 30*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 1424kB
Node 0 HighMem: empty
Swap cache: add 13355260, delete 13355691, find 1677065/2896708, race 156+1026
Free swap:            0kB
524272 pages of RAM
10192 reserved pages
71022 pages shared
1 pages swap cached
Out of Memory: Killed process 31209 (httpd).


系统:Xeon(TM) CPU 3.00GHz×4 2G RAM 2G×2 SWAP
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
kernel:2.6.9-42.ELsmp x86 x86_64都有
软件版本:Apache/2.2.2;PHP 4.4.4
配置方式:
apache:./configure --with-mpm=worker --enable-so --enable-mods-shared=all
php:./configure  --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-gd --with-zlib-dir --with-jpeg-dir --with-png-dir --enable-shmop --with-iconv


httpd.conf
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule php4_module        modules/libphp4.so

ErrorLog /dev/null
CustomLog /dev/null common
<IfModule mpm_worker_module>
    LockFile logs/accept.lock
    PidFile logs/httpd.pid
    ServerLimit         25
    ThreadLimit        200
    StartServers         3
    MaxClients        2000
    MinSpareThreads     50
    MaxSpareThreads    200
    ThreadsPerChild    100
    MaxRequestsPerChild  0
</IfModule>
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
UseCanonicalName Off
AccessFileName .htaccess
ServerTokens Full
ServerSignature On
HostnameLookups Off
有没有高手解答啊
把内核降级到2.4看看如何?
怎么感觉和我问题一样。。。。同问。内核也是2。6的。