Page MenuHomeDevCentral

Log slow php-fpm requests
ClosedPublic

Authored by dereckson on Mar 23 2018, 20:57.
Tags
None
Referenced Files
F22777500: D1487.diff
Sat, Jan 31, 11:49
Unknown Object (File)
Sat, Jan 24, 11:48
Unknown Object (File)
Wed, Jan 21, 21:27
Unknown Object (File)
Wed, Jan 21, 04:56
Unknown Object (File)
Tue, Jan 20, 04:07
Unknown Object (File)
Tue, Jan 20, 02:46
Unknown Object (File)
Mon, Jan 19, 23:06
Unknown Object (File)
Thu, Jan 15, 01:31
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 2344
Build 2592: 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.