How to find the source of increasing memory usage of a twisted server?

前端 未结 3 1420

I have an audio broadcasting server written in Python and based on Twisted. It works fine, but its memory usage is increasing when there are more users on server, but the m

3条回答
  •  借酒劲吻你
    2020-12-13 21:41

    Have you thought about using CentOS' alternative to dtrace - SystemTap I think its called.

    This should give you a pretty low level trace of what's happening inside your *nix processes.......a stab in the dark, but might give you some more transparency on intraprocess activity.

    Interesting question though. Looking forward to see other's responses.

    Ben

提交回复
热议问题