Re: [Sqlrelay-discussion] listener hang with open database port
Brought to you by:
mused
|
From: Renat S. <sr...@st...> - 2010-05-28 04:52:43
|
28.05.2010 00:50, Cal Heldenbrand пишет: > I have my listenertimeout config setting to 5 seconds, and it appears > that the listener times out each time the client receives an error > back. (Changing this value changes how fast the client gets an error > message) Could that have something to do with it? My suggestion - forked listener starts handoff session to connection-db2, but there is no connection to take the session. So listener times out with signal SIGALRM and catch it in sqlrlistener::alarmHandler. It might be another good place for decrementing session count, but only after it was incremented in listener for sure. |