Ori.livneh has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/250143

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/43/250143/1

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: newchange
Gerrit-Change-Id: I0bfa21b591e9ea0fe727485cbe84c9b41e3d6b92
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

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

Reply via email to