Getting Data In

突然Indexerのキューがfullになるようになった

cwl
Contributor

Splunk 7.1.0を使っています。best practiceに従い、search headからindexerにinternalログを送っていますが、特にデータ量が多くないときにもindexer側のqueueがfullになり、search headからinternalログを送れなくなることがあります。
原因と回避策を教えて頂けますか。

0 Karma
1 Solution

cwl
Contributor

何らかの理由で、indexer側でauthentication.confが定義されていますでしょうか。
定義されている場合、anonymous_referralsをデフォルトの1から0に変更してみてください。
簡単に変更できない場合、queue full問題が起きた際に、以下のscriptを使い、indexer側のsplunkdプロセスのpstackサンプルを採って見てください。

i=0; while [ $i -lt 100 ] ; do date > /tmp/pstack$i.out; pstack <splunkd PID> >> /tmp/pstack$i.out; let "i+=1"; sleep 1; done

pstackサンプルに大量のldap_chase_v3referralsが表示されている場合、anonymous_referrals=1が原因の可能性が高いですので、anonymous_referrals=0に変更し、indexerを再起動してみてください。
alt text

View solution in original post

0 Karma

cwl
Contributor

何らかの理由で、indexer側でauthentication.confが定義されていますでしょうか。
定義されている場合、anonymous_referralsをデフォルトの1から0に変更してみてください。
簡単に変更できない場合、queue full問題が起きた際に、以下のscriptを使い、indexer側のsplunkdプロセスのpstackサンプルを採って見てください。

i=0; while [ $i -lt 100 ] ; do date > /tmp/pstack$i.out; pstack <splunkd PID> >> /tmp/pstack$i.out; let "i+=1"; sleep 1; done

pstackサンプルに大量のldap_chase_v3referralsが表示されている場合、anonymous_referrals=1が原因の可能性が高いですので、anonymous_referrals=0に変更し、indexerを再起動してみてください。
alt text

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...