"ERROR [eive on 8887] uter.transport.udp.UDPReceiver: Dropping inbound packet with 1 queued for 1912 packet handlers: Handlers: 3 handler 0 state: 2 handler 1 state: 2 handler 2 state: 2"
state = 2 means all three handlers are blocking on udpReceiver.receive()) this can legitimately happen if the bandwidth limiter or router throttle chokes the receive for >= 1s.
This commit is contained in:
@ -113,7 +113,7 @@ public class UDPReceiver {
|
|||||||
|
|
||||||
// rejected
|
// rejected
|
||||||
_context.statManager().addRateData("udp.droppedInbound", queueSize, headPeriod);
|
_context.statManager().addRateData("udp.droppedInbound", queueSize, headPeriod);
|
||||||
if (_log.shouldLog(Log.ERROR)) {
|
if (_log.shouldLog(Log.WARN)) {
|
||||||
StringBuffer msg = new StringBuffer();
|
StringBuffer msg = new StringBuffer();
|
||||||
msg.append("Dropping inbound packet with ");
|
msg.append("Dropping inbound packet with ");
|
||||||
msg.append(queueSize);
|
msg.append(queueSize);
|
||||||
@ -121,7 +121,7 @@ public class UDPReceiver {
|
|||||||
msg.append(headPeriod);
|
msg.append(headPeriod);
|
||||||
if (_transport != null)
|
if (_transport != null)
|
||||||
msg.append(" packet handlers: ").append(_transport.getPacketHandlerStatus());
|
msg.append(" packet handlers: ").append(_transport.getPacketHandlerStatus());
|
||||||
_log.error(msg.toString());
|
_log.warn(msg.toString());
|
||||||
}
|
}
|
||||||
return queueSize;
|
return queueSize;
|
||||||
}
|
}
|
||||||
@ -146,7 +146,7 @@ public class UDPReceiver {
|
|||||||
_inboundQueue.notifyAll();
|
_inboundQueue.notifyAll();
|
||||||
return rv;
|
return rv;
|
||||||
} else {
|
} else {
|
||||||
_inboundQueue.wait();
|
_inboundQueue.wait(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (InterruptedException ie) {}
|
} catch (InterruptedException ie) {}
|
||||||
|
Reference in New Issue
Block a user