<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why is Splunk is restarting itself? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/758690#M23931</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It's been a few years and I finally had time to figure this out.&amp;nbsp; There was a SolarWinds agent that was periodically restarting splunk.&amp;nbsp; I have no idea why, as we had stopped using SolarWinds a while ago.&amp;nbsp; Uninstalling swiagent fixed it.&lt;/P&gt;&lt;P&gt;To find out what was restarting splunk I ran the following commands (centos 7):&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;$(pgrep -n splunkd); &lt;/SPAN&gt;&lt;SPAN class=""&gt;echo&lt;/SPAN&gt; &lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN&gt;; systemctl status &lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt; &lt;SPAN class=""&gt;--no-pager&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;$(pgrep -n splunkd); &lt;/SPAN&gt;&lt;SPAN class=""&gt;cat&lt;/SPAN&gt;&lt;SPAN&gt; /proc/&lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN&gt;/cgroup&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;the output told me splunk was being started by SolarWinds.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Some more information:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;$(pgrep -n splunkd)&lt;BR /&gt;&lt;SPAN class=""&gt;ps&lt;/SPAN&gt; -o pid,ppid,cmd -p &lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ps&lt;/SPAN&gt; -fp &lt;SPAN class=""&gt;"&lt;/SPAN&gt;$(ps -o ppid= -p &lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;)&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;This will show the parent relationship to the splunk process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ChatGPT was helpful with the more obscure way to find what was starting splunk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Feb 2026 16:56:31 GMT</pubDate>
    <dc:creator>jason0</dc:creator>
    <dc:date>2026-02-24T16:56:31Z</dc:date>
    <item>
      <title>Why is Splunk is restarting itself?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633201#M15579</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a splunk heavy forwarder (splunk 9.0.0.1, centos 7) configured as a heavy forwarder.&amp;nbsp; When I issue "splunk stop" as either the splunk user or user root, it will restart within a minute.&lt;/P&gt;
&lt;P&gt;This system has been configured to start as a systemd service and user splunk is allowed to issue systemctl commands to stop and restart.&lt;/P&gt;
&lt;P&gt;just now, I completely disabled the systemd service and then rebooted.&amp;nbsp; After about a minute of being fully booted, splunk automatically started up.&amp;nbsp; Its as if there's a parasitic cron or anacron job that starts it if its not running.&lt;/P&gt;
&lt;P&gt;What could be causing this?&lt;/P&gt;
&lt;P&gt;I would really rather splunk stayed down especially since I am usually altering the configuration files at the time and it starts up before I can complete the task.&lt;/P&gt;
&lt;P&gt;--jason&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 14:26:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633201#M15579</guid>
      <dc:creator>jason0</dc:creator>
      <dc:date>2023-03-06T14:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: splunk is restarting itself.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633335#M15589</link>
      <description>&lt;P&gt;Could you have an initd script starting Splunk?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ls /etc/init.d/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2023 17:21:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633335#M15589</guid>
      <dc:creator>Tom_Lundie</dc:creator>
      <dc:date>2023-03-05T17:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: splunk is restarting itself.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633458#M15600</link>
      <description>&lt;P&gt;No.&amp;nbsp; the only files are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;/etc/systemd/system/splunkd.service&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;/etc/polkit-1/rules.d/10-Splunkd.rules&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;and there are no SYSV init files that start splunk.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633458#M15600</guid>
      <dc:creator>jason0</dc:creator>
      <dc:date>2023-03-06T17:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: splunk is restarting itself.</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633461#M15601</link>
      <description>&lt;P&gt;Interesting, can you please share the output of:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;systemctl status splunkd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;and&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;cat /etc/systemd/system/splunkd.service&lt;/LI-CODE&gt;&lt;P&gt;Also just to confirm, to disable splunk you ran:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;systemctl disable splunkd&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Mar 2023 17:59:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633461#M15601</guid>
      <dc:creator>Tom_Lundie</dc:creator>
      <dc:date>2023-03-06T17:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk is restarting itself?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633462#M15602</link>
      <description>&lt;P&gt;First, I can indeed confirm I entered "systemctl disable Splunkd"&lt;/P&gt;&lt;P&gt;Here is the rest:&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;systemctl status Splunkd&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;● Splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/Splunkd.service; enabled; vendor preset: disabled)&lt;BR /&gt;Active: active (running) since Fri 2023-03-03 13:41:35 PST; 2 days ago&lt;BR /&gt;Process: 748 ExecStartPost=/bin/bash -c chown -R splunk:splunk /sys/fs/cgroup/memory/system.slice/%n (code=exited, status=0/SUCCESS)&lt;BR /&gt;Process: 745 ExecStartPost=/bin/bash -c chown -R splunk:splunk /sys/fs/cgroup/cpu/system.slice/%n (code=exited, status=0/SUCCESS)&lt;BR /&gt;Main PID: 744 (splunkd)&lt;BR /&gt;Memory: 1.0G (limit: 7.6G)&lt;BR /&gt;CGroup: /system.slice/Splunkd.service&lt;BR /&gt;├─ 744 splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd&lt;BR /&gt;├─ 889 [splunkd pid=744] splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_und... ├─ 1224 /opt/splunk/bin/splunkd instrument-resource-usage -p 8089 --with-kvstore&lt;BR /&gt;├─ 1315 /opt/splunk/bin/python3.7 -O /opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrspark... └─23617 /opt/splunk/bin/python3.7 /opt/splunk/etc/apps/splunk_secure_gateway/bin/ssg_enable_modular_i...splunk@slsplunksyslog003p:~$ systemctl status Splunkd -l&lt;BR /&gt;● Splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/Splunkd.service; enabled; vendor preset: disabled)&lt;BR /&gt;Active: active (running) since Fri 2023-03-03 13:41:35 PST; 2 days ago&lt;BR /&gt;Process: 748 ExecStartPost=/bin/bash -c chown -R splunk:splunk /sys/fs/cgroup/memory/system.slice/%n (code=exited, status=0/SUCCESS)&lt;BR /&gt;Process: 745 ExecStartPost=/bin/bash -c chown -R splunk:splunk /sys/fs/cgroup/cpu/system.slice/%n (code=exited, status=0/SUCCESS)&lt;BR /&gt;Main PID: 744 (splunkd)&lt;BR /&gt;Memory: 1.0G (limit: 7.6G)&lt;BR /&gt;CGroup: /system.slice/Splunkd.service&lt;BR /&gt;├─ 744 splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd&lt;BR /&gt;├─ 889 [splunkd pid=744] splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd [process-runner&lt;BR /&gt;├─ 1224 /opt/splunk/bin/splunkd instrument-resource-usage -p 8089 --with-kvstore&lt;BR /&gt;├─ 1315 /opt/splunk/bin/python3.7 -O /opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/root.py --proxied=127.0.0.1,8065,8000&lt;BR /&gt;└─23617 /opt/splunk/bin/python3.7 /opt/splunk/etc/apps/splunk_secure_gateway/bin/ssg_enable_modular_input.py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------&lt;/P&gt;&lt;P&gt;contents of Splunkd.service:&lt;/P&gt;&lt;P&gt;#This unit file replaces the traditional start-up script for systemd&lt;BR /&gt;#configurations, and is used when enabling boot-start for Splunk on&lt;BR /&gt;#systemd-based Linux distributions.&lt;/P&gt;&lt;P&gt;[Unit]&lt;BR /&gt;Description=Systemd service file for Splunk, generated by 'splunk enable boot-start'&lt;BR /&gt;After=network-online.target&lt;BR /&gt;Wants=network-online.target&lt;/P&gt;&lt;P&gt;[Service]&lt;BR /&gt;Type=simple&lt;BR /&gt;Restart=always&lt;BR /&gt;ExecStart=/opt/splunk/bin/splunk _internal_launch_under_systemd&lt;BR /&gt;KillMode=mixed&lt;BR /&gt;KillSignal=SIGINT&lt;BR /&gt;TimeoutStopSec=360&lt;BR /&gt;LimitNOFILE=65536&lt;BR /&gt;LimitNPROC=51200&lt;BR /&gt;LimitRTPRIO=99&lt;BR /&gt;SuccessExitStatus=51 52&lt;BR /&gt;RestartPreventExitStatus=51&lt;BR /&gt;RestartForceExitStatus=52&lt;BR /&gt;User=splunk&lt;BR /&gt;Group=splunk&lt;BR /&gt;Delegate=true&lt;BR /&gt;CPUShares=1024&lt;BR /&gt;MemoryLimit=8201170944&lt;BR /&gt;PermissionsStartOnly=true&lt;BR /&gt;ExecStartPost=-/bin/bash -c "chown -R splunk:splunk /sys/fs/cgroup/cpu/system.slice/%n"&lt;BR /&gt;ExecStartPost=-/bin/bash -c "chown -R splunk:splunk /sys/fs/cgroup/memory/system.slice/%n"&lt;/P&gt;&lt;P&gt;[Install]&lt;BR /&gt;WantedBy=multi-user.target&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 18:11:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633462#M15602</guid>
      <dc:creator>jason0</dc:creator>
      <dc:date>2023-03-06T18:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk is restarting itself?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633487#M15605</link>
      <description>&lt;P&gt;There are no miracles. If the splunk daemon process is starting "by itself", something must be causing it. Either you have some other form of service management software (monit?) or - much more probable - you have misconfigured your systemd and have multiple units defined for splunk. You can try to find them with&lt;/P&gt;&lt;PRE&gt;find /etc/systemd -iname \*splunk\*&lt;/PRE&gt;&lt;P&gt;and/or&lt;/P&gt;&lt;PRE&gt;find /etc/systemd | xargs grep splunk&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Mar 2023 20:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/633487#M15605</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-03-06T20:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk is restarting itself?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/659458#M17508</link>
      <description>&lt;P&gt;Any updates on this, have the same situation&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 15:58:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/659458#M17508</guid>
      <dc:creator>ashraf_sj</dc:creator>
      <dc:date>2023-10-03T15:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk is restarting itself?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/758690#M23931</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It's been a few years and I finally had time to figure this out.&amp;nbsp; There was a SolarWinds agent that was periodically restarting splunk.&amp;nbsp; I have no idea why, as we had stopped using SolarWinds a while ago.&amp;nbsp; Uninstalling swiagent fixed it.&lt;/P&gt;&lt;P&gt;To find out what was restarting splunk I ran the following commands (centos 7):&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;$(pgrep -n splunkd); &lt;/SPAN&gt;&lt;SPAN class=""&gt;echo&lt;/SPAN&gt; &lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN&gt;; systemctl status &lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt; &lt;SPAN class=""&gt;--no-pager&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;$(pgrep -n splunkd); &lt;/SPAN&gt;&lt;SPAN class=""&gt;cat&lt;/SPAN&gt;&lt;SPAN&gt; /proc/&lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN&gt;/cgroup&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;the output told me splunk was being started by SolarWinds.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Some more information:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;$(pgrep -n splunkd)&lt;BR /&gt;&lt;SPAN class=""&gt;ps&lt;/SPAN&gt; -o pid,ppid,cmd -p &lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ps&lt;/SPAN&gt; -fp &lt;SPAN class=""&gt;"&lt;/SPAN&gt;$(ps -o ppid= -p &lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;$PID&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;)&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;This will show the parent relationship to the splunk process.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ChatGPT was helpful with the more obscure way to find what was starting splunk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 16:56:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/758690#M23931</guid>
      <dc:creator>jason0</dc:creator>
      <dc:date>2026-02-24T16:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk is restarting itself?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/758757#M23934</link>
      <description>&lt;P&gt;Ha! I knew there was something fishy going on. Splunk shouldn't just restart out of the blue.&lt;/P&gt;&lt;P&gt;Good you found it!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 20:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Why-is-Splunk-is-restarting-itself/m-p/758757#M23934</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2026-02-24T20:35:38Z</dc:date>
    </item>
  </channel>
</rss>

