Anyone know what this script is for and why it needs to run so often?
It should run permanently alongside with the splunkd process. This script starts the Java bridge server - Splunk then communicates with the Java process over local TCP for executing commands, lookups, etc.