Page MenuHomeDevCentral

Log slow php-fpm requests
ClosedPublic

Authored by dereckson on Mar 23 2018, 20:57.
Tags
None
Referenced Files
F24673686: D1487.id3807.diff
Wed, Mar 4, 13:19
F24673527: D1487.id3807.diff
Wed, Mar 4, 13:08
F24669953: D1487.id3808.diff
Wed, Mar 4, 08:40
F24669747: D1487.id3808.diff
Wed, Mar 4, 08:26
F24666023: D1487.id3809.diff
Wed, Mar 4, 03:38
F24665887: D1487.id3809.diff
Wed, Mar 4, 03:24
Unknown Object (File)
Mon, Mar 2, 02:25
Unknown Object (File)
Mon, Mar 2, 02:13
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 Not Applicable
Unit
Tests Not Applicable

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.