MaxSem has uploaded a new change for review.

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

Change subject: fatalmonitor: up the number of lines processed
......................................................................

fatalmonitor: up the number of lines processed

It's a really silly solution, but since fenari is gone, you have to run it on
fluorine where logs are full of noise (404s, etc) so we need to grab more to get
any useful stats. This is especially important during logstash outages.

Change-Id: Ic7cd9cc40963db27a1cff3ad94e9a80c423a20f7
---
M files/misc/scripts/fatalmonitor
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/87/170787/1

diff --git a/files/misc/scripts/fatalmonitor b/files/misc/scripts/fatalmonitor
index 173e1b0..de4db53 100755
--- a/files/misc/scripts/fatalmonitor
+++ b/files/misc/scripts/fatalmonitor
@@ -1,6 +1,6 @@
 #! /bin/bash
 
-cmd="tail -n 1000 /a/mw-log/apache2.log |
+cmd="tail -n 10000 /a/mw-log/apache2.log |
     grep 'PHP\|Segmentation fault' |
     grep -v 'filemtime\|failed to mkdir\|GC cache entry\|cache slam 
averted\|SHA-1 metadata' |
     sed -r 's/\[notice\] child pid [0-9]+ exit signal //g' |

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7cd9cc40963db27a1cff3ad94e9a80c423a20f7
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <[email protected]>

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

Reply via email to