App::Phoebe::HeapDump - debugging Phoebe memory leaks


Perhaps you find yourself in a desperate situation: your server is leaking memory and you don't know where. This extension provides a way to use Devel::MAT::Dumper by allowing users identified with a known fingerprint of their client certificate to initiate a dump.

You must set the fingerprints in your config file.

    package App::Phoebe;
    our @known_fingerprints = qw(
    use App::Phoebe::HeapDump;

Once have restarted the server, gemini://localhost/do/heap-dump will write a heap dump to its wiki data directory. See Devel::MAT::UserGuide for more.