Fix: socket connect hang on heavy loads
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 11 Oct 2013 19:03:24 +0000 (15:03 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 11 Oct 2013 19:12:41 +0000 (15:12 -0400)
commit321f235159b13a8a032d23fd60b9c3532790647e
tree2e55f5f7d9a6d2fc1ddb1057748d641c5198c6fe
parent5d62bf6b3f0bb573511cc99276366933bda9e3f7
Fix: socket connect hang on heavy loads

We need to perform both connect and sending registration message before
doing the next connect otherwise we may reach unix socket connect queue
max limits and block on the 2nd connect while the session daemon is
awaiting the first connect registration message.

This happens in scenarios where unix socket connect queues are nearly
full.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c
This page took 0.035491 seconds and 4 git commands to generate.