Yuvipanda has submitted this change and it was merged.

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

Approvals:
  Yuvipanda: Looks good to me, approved
  Reedy: Looks good to me, but someone else must approve
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ic7cd9cc40963db27a1cff3ad94e9a80c423a20f7
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to