jenkins-bot has submitted this change and it was merged.

Change subject: Disable xhprof profiling to relieve storage pressure on graphite
......................................................................


Disable xhprof profiling to relieve storage pressure on graphite

Change-Id: I0bfa21b591e9ea0fe727485cbe84c9b41e3d6b92
---
M wmf-config/StartProfiler.php
1 file changed, 9 insertions(+), 8 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/StartProfiler.php b/wmf-config/StartProfiler.php
index b0f98a8..090dfe4 100644
--- a/wmf-config/StartProfiler.php
+++ b/wmf-config/StartProfiler.php
@@ -53,14 +53,15 @@
                } );
        } else {
                // 1:1000 request profiling
-               $wgProfiler = array(
-                       'class'    => 'ProfilerXhprof',
-                       'exclude'  => array( 'section.*', 'run_init*' ),
-                       'flags'    => ( XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY 
| XHPROF_FLAGS_NO_BUILTINS ),
-                       'output'   => 'stats',
-                       'prefix'   => 'xhprof',
-                       'sampling' => 10000,
-               );
+
+               // $wgProfiler = array(
+               //      'class'    => 'ProfilerXhprof',
+               //      'exclude'  => array( 'section.*', 'run_init*' ),
+               //      'flags'    => ( XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY 
| XHPROF_FLAGS_NO_BUILTINS ),
+               //      'output'   => 'stats',
+               //      'prefix'   => 'xhprof',
+               //      'sampling' => 10000,
+               // );
        }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/250143
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0bfa21b591e9ea0fe727485cbe84c9b41e3d6b92
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to