coredump

Mark data as sensitive in python

Mark data as sensitive in python Question: I need to store a user’s password for a short period of time in memory. How can I do so yet not have such information accidentally disclosed in coredumps or tracebacks? Is there a way to mark a value as “sensitive”, so it’s not saved anywhere by a …

Total answers: 5

How do I dump an entire Python process for later debugging inspection?

How do I dump an entire Python process for later debugging inspection? Question: I have a Python application in a strange state. I don’t want to do live debugging of the process. Can I dump it to a file and examine its state later? I know I’ve restored corefiles of C programs in gdb later, …

Total answers: 5

How do I find what is using memory in a Python process in a production system?

How do I find what is using memory in a Python process in a production system? Question: My production system occasionally exhibits a memory leak I have not been able to reproduce in a development environment. I’ve used a Python memory profiler (specifically, Heapy) with some success in the development environment, but it can’t help …

Total answers: 7