Skip to content

Instantly share code, notes, and snippets.

View emiller42's full-sized avatar

Eric Miller emiller42

  • Boston, MA
  • 01:38 (UTC -04:00)
View GitHub Profile
@emiller42
emiller42 / gist:c807f392adf024b33c21
Last active November 24, 2015 16:40
Splunk SPL-109514 Details

Splunk SPL-109514

Issue with scheduler on SHC around search quotas. "usage" metric continually increases until it surpasses role-based quota, blocking scheduled jobs.

Example

Affected users will display WARNs in splunkd.log like the following. Note: these messages can be legit, but volume is an indicator.

We have found that affected users generate the below warning every 7 seconds for each scheduled search they have.

@emiller42
emiller42 / ghost
Created October 28, 2013 04:44
init.d script to run Ghost under a service account.
#!/bin/sh
#
# chkconfig: 35 99 99
# description: Node.js /home/ghost/ghost/index.js
#
. /etc/rc.d/init.d/functions
USER="ghost"
@emiller42
emiller42 / gist:4982462
Last active October 17, 2022 19:00
Adding Tomcat to MAMP
1) Install MAMP normally
2) Download the latest binary of tomcat from http://tomcat.apache.org/ and extract it into the MAMP folder
(you should now have a /Applications/MAMP/apache-tomcat-version folder)
3) Create a link to the apache-tomcat folder:
ln -s /Applications/apache-tomcat-7.0.37/ tomcat
4) Make sure all the binaries are executable:
cd /Applications/tomcat/bin