Page MenuHomeDevCentral

Log slow php-fpm requests
ClosedPublic

Authored by dereckson on Mar 23 2018, 20:57.
Tags
None
Referenced Files
F9640827: D1487.id3809.diff
Tue, Jun 10, 22:48
F9640481: D1487.id3807.diff
Tue, Jun 10, 22:34
F9638973: D1487.id.diff
Tue, Jun 10, 21:35
F9638515: D1487.id3808.diff
Tue, Jun 10, 21:13
F9637284: D1487.diff
Tue, Jun 10, 20:10
Unknown Object (File)
Tue, Jun 10, 06:02
Unknown Object (File)
Fri, Jun 6, 23:50
Unknown Object (File)
Fri, Jun 6, 17:06
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.