Page MenuHomeDevCentral

Log slow php-fpm requests
ClosedPublic

Authored by dereckson on Mar 23 2018, 20:57.
Tags
None
Referenced Files
F24944553: D1487.id.diff
Fri, Mar 20, 15:16
Unknown Object (File)
Wed, Mar 18, 18:11
Unknown Object (File)
Wed, Mar 18, 16:04
Unknown Object (File)
Tue, Mar 17, 11:15
Unknown Object (File)
Tue, Mar 17, 08:45
Unknown Object (File)
Mon, Mar 16, 13:14
Unknown Object (File)
Mon, Mar 16, 12:50
Unknown Object (File)
Sun, Mar 15, 16:35
Subscribers
None

Details

Summary

Allow to specify in the pillar a slow_delay parameter.
Any request taking longer will be logged with a stacktrace.

If omitted, the delay will be 5s. To disable the feature,
set the value at 0.

Reference:
http://php.net/manual/en/install.fpm.configuration.php

Test Plan

Fire a slow request through MediaWiki or a custom script

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
slow (branched from master)
Build Status
Buildable 2345
Build 2593: arc lint + arc unit

Event Timeline

dereckson created this revision.

Restore display_errors (typo)

This revision is now accepted and ready to land.Mar 23 2018, 21:27
This revision was automatically updated to reflect the committed changes.