Splunk Search

What does "PollableDescriptor:writeWithTimeout failed" error mean?

the_wolverine
Champion

Seeing the following error in LWF splunkd.log every 5 minutes:

10-28-2010 08:37:37.048 WARN  NetUtils - PollableDescriptor::writeWithTimeout failed. Bad select_for_loop rv = -2
10-28-2010 08:37:37.048 WARN  TcpOutputProc - TcpSendThread: Connection to server the_indexer_ip:9443, fd:33 lost - retrying: Resource temporarily unavailable

What does it mean? Data is coming through, but there's a serious lag (1 hour) at times. Currently it is caught up so seems to be an intermittent problem.

Tags (2)
0 Karma
1 Solution

jkerai
Splunk Employee
Splunk Employee

This warning is logged on forwarder when it is unable to write data to network for more than 5 mins. This may be why you are seeing the lag. Please check the 'current_size' of queues on the indexer to see if they are always near their max capacity of 1000 events around the time this warning is seen. If the queues on indexer look healthy, then check to see if there network issue during the time this warning is reported. You can probably look for the same warning on other forwarders to see if other forwarders also experienced the same problem. May be indicative of network or indexer saturation.

View solution in original post

jkerai
Splunk Employee
Splunk Employee

This warning is logged on forwarder when it is unable to write data to network for more than 5 mins. This may be why you are seeing the lag. Please check the 'current_size' of queues on the indexer to see if they are always near their max capacity of 1000 events around the time this warning is seen. If the queues on indexer look healthy, then check to see if there network issue during the time this warning is reported. You can probably look for the same warning on other forwarders to see if other forwarders also experienced the same problem. May be indicative of network or indexer saturation.

Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...