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:03:24 +0000 (15:03 -0400)
commit4e6464a21ed93b1b8b8656f709bb1ea9115831d6
treebaa286002d7953daaff772d88d64d5eefb342496
parentf318857543b820fc91bd7c2ddb14dd1a3b7bf285
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.02497 seconds and 4 git commands to generate.