Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robrwo/plack-middleware-logharakiri
Log when a plack worker is killed
https://github.com/robrwo/plack-middleware-logharakiri
Last synced: 11 days ago
JSON representation
Log when a plack worker is killed
- Host: GitHub
- URL: https://github.com/robrwo/plack-middleware-logharakiri
- Owner: robrwo
- Created: 2015-06-12T16:33:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-12-13T11:34:13.000Z (almost 4 years ago)
- Last Synced: 2024-10-11T21:56:27.215Z (about 1 month ago)
- Language: Perl
- Size: 14.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- Changelog: Changes
Awesome Lists containing this project
README
=head1 NAME
Plack::Middleware::LogHarakiri - log when a process is killed
=head1 VERSION
0.0301
=head1 SYNOPSIS
use Plack::Builder;
builder {
enable "LogHarakiri";
enable "SizeLimit", ...;$app;
};=head1 INSTALLATION
See
L.=head2 Required Modules
This distribution requires Perl v5.8.8.
This distribution requires the following modules:
=over 4
=item * L
=item * L
=item * L
=item * L
=item * L
=item * L
=back
=head1 RECENT CHANGES
=head2 Docmentation
=over 4
=item *
Added note about Plack::Middleware::SizeLimit 0.06's log_when_limits_exceeded option.
=back
See the F file for a longer revision history.
=head1 DESCRIPTION
This middleware was written a companion to L
that emits a warning when a process is killed.When it detects that the current process is killed, it will emit a
warning with diagnostic information of the form:pid %d committed harakiri (size: %d, shared: %d, unshared: %d) at %s
However, L version 0.06 supports a
C option, which makes this middleware unnecessary
for that purpose.Note that this middleware must be enabled before plugins that set the
"harakiri" flag.=head1 SEE ALSO
L
=head1 AUTHOR
Robert Rothenberg C<< [email protected] >>
=head1 COPYRIGHT
Copyright 2015, Thermeon Worldwide, PLC.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.This program is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.