Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的大型 Django 应用程序在运行时占用 30-60 MB 的 RAM,以及高达 40% 的 CPU。如何动态监控和分析我的应用程序以确定我的潜在内存和 CPU 泄漏在哪里?
看看这个:profiling Django,可能会派上用场。还有一个hotshot的链接,我过去使用过。我可以用hotshot改进一些东西。newrelic也很有用。
一些类似的问题:
问题 1 , 问题 2