Add the ability to send SIGPROF to an edx-platform process to obtain a memory dump

This commit is contained in:
Calen Pennington
2015-01-29 14:23:29 -05:00
parent 03594aa3f4
commit a69c4efd21
5 changed files with 29 additions and 2 deletions

View File

@@ -6,8 +6,10 @@ defuse_xml_libs()
import contracts
contracts.disable_all()
import os
import openedx.core.operations
openedx.core.operations.install_memory_dumper()
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cms.envs.aws")
import cms.startup as startup