<?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: Session lock files in Security</title>
    <link>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77257#M2568</link>
    <description>&lt;P&gt;Firstly, thanks for the edit, dwaddle. I see what you did with the indent and I will do that from now on.&lt;/P&gt;

&lt;P&gt;Gareth, it's 4.1.6 on Linux. Your question about web_service log was right on target. At first I thought not, since these are indexers and don't get much http traffic, although splunkweb is enabled for convenience. Then I looked at the logs and saw tons of web vulnerability assessment traffic. Understanding that those session files correspond to splunkweb traffic was the key. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2011 09:18:26 GMT</pubDate>
    <dc:creator>mslvrstn</dc:creator>
    <dc:date>2011-04-08T09:18:26Z</dc:date>
    <item>
      <title>Session lock files</title>
      <link>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77255#M2566</link>
      <description>&lt;P&gt;All of my indexers have thousands of session lock files similar to&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-rw-------  1 root   root         0 Jan 27 16:38 session-fa9570368b47a81458a696720fb657239dc0a60c.lock

ls /opt/splunk/var/run/splunk/session*.lock | wc -l
20379
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which go back for months.&lt;/P&gt;

&lt;P&gt;I don't know that there is anything necessarily wrong with this, but it doesn't feel right.
Is this common? If it isn't, what kind of misbehavior should we be on the lookout for?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 04:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77255#M2566</guid>
      <dc:creator>mslvrstn</dc:creator>
      <dc:date>2011-04-08T04:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Session lock files</title>
      <link>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77256#M2567</link>
      <description>&lt;P&gt;No, that shouldn't happen.  Extraneous session and lock files should be purged every five minutes or so.&lt;/P&gt;

&lt;P&gt;Which version of Splunk are you running (and on what platform)?  Are there any related error messages in the web_service.log?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 04:17:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77256#M2567</guid>
      <dc:creator>gareth</dc:creator>
      <dc:date>2011-04-08T04:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Session lock files</title>
      <link>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77257#M2568</link>
      <description>&lt;P&gt;Firstly, thanks for the edit, dwaddle. I see what you did with the indent and I will do that from now on.&lt;/P&gt;

&lt;P&gt;Gareth, it's 4.1.6 on Linux. Your question about web_service log was right on target. At first I thought not, since these are indexers and don't get much http traffic, although splunkweb is enabled for convenience. Then I looked at the logs and saw tons of web vulnerability assessment traffic. Understanding that those session files correspond to splunkweb traffic was the key. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2011 09:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77257#M2568</guid>
      <dc:creator>mslvrstn</dc:creator>
      <dc:date>2011-04-08T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Session lock files</title>
      <link>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77258#M2569</link>
      <description>&lt;P&gt;Well even with that traffic, the lock files shouldn't be months old; something odd there.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2011 08:25:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77258#M2569</guid>
      <dc:creator>gareth</dc:creator>
      <dc:date>2011-04-09T08:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Session lock files</title>
      <link>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77259#M2570</link>
      <description>&lt;P&gt;Remove tons of session files&lt;BR /&gt;
ll  | grep session | awk '{print "rm "$8" "}' | csh&lt;/P&gt;

&lt;P&gt;Note:&lt;BR /&gt;
"$8" -- column 8 of ll comand&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Sincerely&lt;BR /&gt;
John Hsu&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2013 17:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Session-lock-files/m-p/77259#M2570</guid>
      <dc:creator>johnhsu</dc:creator>
      <dc:date>2013-10-04T17:45:22Z</dc:date>
    </item>
  </channel>
</rss>

