[求助]用LVS with ldirectord 做的web load balacne 经常出现apache 自动关闭:(

之前用的时候也是会出现其中一个real server的apahce自动退出,现在随着访问量增大,ldirectord一启动没多久就会出现这样的问题,,,现在我单开一个realserver没问题,,说明问题是出现在ldirectord 上面,,请问各位有什么好的处理方法么?

环境:一台vs并兼作ls,一台rs。

各位请帮忙。。

Forums:

可能要查一下在apache和ldirectord将要退出前系统的状态,例如内存的使用状况。是不是内存快要用尽了?

文松博士,下面是出现错误时的dump文件中的内存状况:

1HPMEMINFO Memory Info
NULL -----------
2HPMEMLINE MemTotal: 2074940 kB
2HPMEMLINE MemFree: 29356 kB
2HPMEMLINE Buffers: 29620 kB
2HPMEMLINE Cached: 336476 kB
2HPMEMLINE SwapCached: 278184 kB
2HPMEMLINE Active: 1378028 kB
2HPMEMLINE Inactive: 492440 kB
2HPMEMLINE HighTotal: 1179520 kB
2HPMEMLINE HighFree: 1024 kB
2HPMEMLINE LowTotal: 895420 kB
2HPMEMLINE LowFree: 28332 kB
2HPMEMLINE SwapTotal: 4096564 kB
2HPMEMLINE SwapFree: 3780012 kB
2HPMEMLINE Dirty: 37596 kB
2HPMEMLINE Writeback: 0 kB
2HPMEMLINE Mapped: 1336732 kB
2HPMEMLINE Slab: 108184 kB
2HPMEMLINE Committed_AS: 49755748 kB
2HPMEMLINE PageTables: 53164 kB
2HPMEMLINE VmallocTotal: 106488 kB
2HPMEMLINE VmallocUsed: 4384 kB
2HPMEMLINE VmallocChunk: 101920 kB
2HPMEMLINE HugePages_Total: 0
2HPMEMLINE HugePages_Free: 0
2HPMEMLINE Hugepagesize: 2048 kB

[Sun Jul 02 00:20:11 2006] [warn] child process 19208 still did not exit, sending a SIGTERM
[Sun Jul 02 00:20:11 2006] [warn] child process 19410 still did not exit, sending a SIGTERM
[Sun Jul 02 00:20:11 2006] [warn] child process 19208 still did not exit, sending a SIGTERM
[Sun Jul 02 00:20:11 2006] [warn] child process 19410 still did not exit, sending a SIGTERM
[Sun Jul 02 00:20:12 2006] [warn] child process 19208 still did not exit, sending a SIGTERM
[Sun Jul 02 00:20:12 2006] [warn] child process 19410 still did not exit, sending a SIGTERM
[Sun Jul 02 00:20:16 2006] [error] child process 19208 still did not exit, sending a SIGKILL
[Sun Jul 02 00:20:16 2006] [error] child process 19410 still did not exit, sending a SIGKILL
[Sun Jul 02 00:20:33 2006] [notice] caught SIGTERM, shutting down

文松博士,我用的是wrr调度算法,这里提到http://www-128.ibm.com/developerworks/cn/linux/cluster/linux_cluster/part3/index.html:但是当负载变化很频繁时,它会导致负载失衡,而且那些长请求会发到同一个服务器上。是不是因为这个原因?但是也不会导致apache自动退出阿。。。请文松博士帮忙!!!非常感谢先!!!

randomness