SIGUSR2 : open an interactive console using rconsole (http://code.google.com/p/rfoo/) and let me log and muck around with live object while the server process keeps running.[NOTE: don't use on production systems, it opens an RPC port that lets anyone control your process remotely!]
from rfoo.utils import rconsole
rconsole.spawn_server()
My Python server processes during testing handle 2 signals SIGUSR1 & SIGUSR2.
SIGUSR1 : runs guppy memory usage & leak profiling (http://guppy-pe.sourceforge.net/)
SIGUSR2 : open an interactive console using rconsole (http://code.google.com/p/rfoo/) and let me log and muck around with live object while the server process keeps running.[NOTE: don't use on production systems, it opens an RPC port that lets anyone control your process remotely!] Then on the console: