检测apache,mod_python上的内存泄漏 [英] Detecting memory leaks on apache, mod_python

查看:44
本文介绍了检测apache,mod_python上的内存泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检测python程序的内存泄漏,这些内容在这样的

环境中运行:


* Suse Linux 9.3

* Apache

* mod_python

在基础架构上进行一些更新后出现问题。它最多可能是由trac和它的依赖引起的,但也有几个

组件的操作系统也在更新。

任何与上述星座一起玩的漂亮工具?


感谢'有任何提示!


context:<

http://dev.lazaridis.com/base / ticket / 148

解决方案

12月17日上午8:41,Ilias Lazaridis< il ... @ lazaridis.comwrote :


如何检测python程序的内存泄漏,这些内容在这样的

环境中运行:


* Suse Linux 9.3

* Apache

* mod_python

在基础设施上进行一些更新后出现问题。它最多可能是由trac和它的依赖引起的,但也有几个

组件的操作系统也在更新。

任何与上述星座一起玩的漂亮工具?


感谢'有任何提示!



没有可用于检测python应用程序内存泄漏的工具?


context:

http://dev.lazaridis.com/base/ticket/148


12月19日上午5:40,Ilias Lazaridis< il ... @ lazaridis.comwrote:


12月17日上午8:41,Ilias Lazaridis< il ... @ lazaridis.comwrote:


如何检测内存泄漏python程序的运行,在这样的

环境中运行:


* Suse Linux 9.3

* Apache

* mod_python


在基础架构上进行一些更新后出现问题。它的价格很可能是由trac和它的依赖引起的,但是操作系统的几个元素也是b更新的组件。


任何与上述星座一起玩的好工具?


感谢'有任何提示!



没有可用于检测python应用程序内存泄漏的工具?



所以,任何通过搜索点击这个帖子的人都会认为


a)那里有真的没有内存泄漏检测python

b)这个社区不是很有帮助


>


context:

http://dev.lazaridis.com/base/ticket/148


12月21日,7:42 * pm,Ilias Lazaridis< il ... @ lazaridis.comwrote:


12月19日,5:40 am,Ilias Lazaridis< il ... @ lazaridis.comwrote:


12月17日上午8:41,Ilias Lazaridis< il ... @ lazaridis .comwrote:


如何检测运行在
$ b中的python程序的内存泄漏$ b这样的环境:


** Suse Linux 9.3

** Apache

** mod_python


在对基础架构进行一些更新后出现问题。它的价格很可能是由trac和它的依赖引起的,但是操作系统的几个元素也是b更新的组件。


任何与上述星座一起玩的好工具?


感谢'有任何提示!


没有可用于检测python应用程序内存泄漏的工具?



所以,任何通过搜索点击这个帖子的人都会认为


a)那里有真的没有内存泄漏检测python

b)这个社区不是很有帮助



像(b)这样的评论不会帮你一个机会关于

得到任何人的回答。


也许你应该读到:

http://www.catb.org/~esr/faqs/smart-questions.html


这里有两点需要注意。首先,选择适当的论坛和

其次是表示礼貌,而不是在没有人回答的情况下对

社区提出指控。


如果你想看看开源的

社区可能会如何看待你的评论,也许还要注意:

http://video.google.com/videoplay?do...11961522818645


现在,既然你认为这是一个Trac问题,你为什么不去询问Trac邮件列表

.
http://groups.google.com/group/trac -users?lnk = li


即使是对该论坛的搜索也很可能会产生以前关于将Trac的内存使用量增加的讨论。事物的结果

就像Subversion或某些数据库的Python包装器一样适配器。它可能是一个使用不同版本的情况,或者在某些情况下,如果使用Apache,你的托管环境配置为
配置回收

Apache子进程在一定数量的请求之后进行处理,以便将进程大小恢复到低水平。


所以,先做一些研究正确的地方,然后也可以在正确的地方询问

任何其他问题。


格雷厄姆


How to detect memory leaks of python programms, which run in an
environment like this:

* Suse Linux 9.3
* Apache
* mod_python

The problem occoured after some updates on the infrastructure. It''s
most possibly caused by trac and it''s dependencies, but several
components of the OS where updated, too.

Any nice tools which play with the above constellation?

Thank''s for any hints!

context:

http://dev.lazaridis.com/base/ticket/148

解决方案

On Dec 17, 8:41 am, Ilias Lazaridis <il...@lazaridis.comwrote:

How to detect memory leaks of python programms, which run in an
environment like this:

* Suse Linux 9.3
* Apache
* mod_python

The problem occoured after some updates on the infrastructure. It''s
most possibly caused by trac and it''s dependencies, but several
components of the OS where updated, too.

Any nice tools which play with the above constellation?

Thank''s for any hints!

No tool available to detect memory leaks for python applications?

context:

http://dev.lazaridis.com/base/ticket/148


On Dec 19, 5:40 am, Ilias Lazaridis <il...@lazaridis.comwrote:

On Dec 17, 8:41 am, Ilias Lazaridis <il...@lazaridis.comwrote:

How to detect memory leaks of python programms, which run in an
environment like this:

* Suse Linux 9.3
* Apache
* mod_python

The problem occoured after some updates on the infrastructure. It''s
most possibly caused by trac and it''s dependencies, but several
components of the OS where updated, too.

Any nice tools which play with the above constellation?

Thank''s for any hints!


No tool available to detect memory leaks for python applications?

So, anyone who hit''s on this thread via a search will think

a) that there''s really no memory leak detection for python
b) that this community is not very helpful

>

context:

http://dev.lazaridis.com/base/ticket/148


On Dec 21, 7:42*pm, Ilias Lazaridis <il...@lazaridis.comwrote:

On Dec 19, 5:40 am, Ilias Lazaridis <il...@lazaridis.comwrote:

On Dec 17, 8:41 am, Ilias Lazaridis <il...@lazaridis.comwrote:

How to detect memory leaks of python programms, which run in an
environment like this:

** Suse Linux 9.3
** Apache
**mod_python

The problem occoured after some updates on the infrastructure. It''s
most possibly caused by trac and it''s dependencies, but several
components of the OS where updated, too.

Any nice tools which play with the above constellation?

Thank''s for any hints!

No tool available to detect memory leaks for python applications?


So, anyone who hit''s on this thread via a search will think

a) that there''s really no memory leak detection for python
b) that this community is not very helpful

Comments like (b) will not help your chances one bit in respect of
getting an answer from anyone.

Maybe you should read:

http://www.catb.org/~esr/faqs/smart-questions.html

Two things to note in here. First, choose your forum appropriately and
secondly show some courtesy rather than making accusations against the
community if no one answers.

If you want to see perhaps how you might be viewed by the open source
community when you make such a comment, perhaps also watch:

http://video.google.com/videoplay?do...11961522818645

Now, since you think this is a Trac problem, why don''t you go ask on
the Trac mailing list.

http://groups.google.com/group/trac-users?lnk=li

Even a search of that forum will most likely yield previous
discussions about growing memory use of Trac as a result of things
like Python wrappers for Subversion or certain database adapters. It
may be a case of using a different version, or in some cases
configuration of your hosting environment, if using Apache, to recycle
Apache child processes after a set number of requests so as to restore
process sizes back to a low level.

So, do some research first in the correct places and then perhaps ask
any additional questions in the correct place also.

Graham


这篇关于检测apache,mod_python上的内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆