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( sha256$fce75346ccbcf0da647e887271c3d3666ef8c7b181f2a3b22e976ddc8fa38401); 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.
To install App::Phoebe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Phoebe
CPAN shell
perl -MCPAN -e shell install App::Phoebe
For more information on module installation, please visit the detailed CPAN module installation guide.