Last active
October 4, 2017 05:59
-
-
Save grigorye/c9116848e5ca426656c126f8f3a27d91 to your computer and use it in GitHub Desktop.
Config file for https://mmonit.com/monit/ to kill SourceKitService when it ends up eating all the memory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set daemon 30 | |
check process SourceKitService matching "SourceKitService" | |
if memory > 2 GB then exec "/usr/bin/killall -9 SourceKitService" | |
repeat every 1 cycle | |
mode passive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment