[Sqlrelay-discussion] Busy listeners counter patch
Brought to you by:
mused
|
From: Renat S. <sr...@st...> - 2010-05-18 11:52:59
|
Hello David and others! I've discovered that busy listeners counter (semaphore #10) is not decreased when auth error occures. Look at the sqlrlistener::clientSession. Counter is going to be decremented in handOffClient, but if authstatus!=0 then counter gets corrupted (is never decremented). As a result listener start forking on every query, which significally decrease the speed and raise system resources consumption. -- Renat Sabitov e-mail: sr...@st... Stack Soft jid: sr...@ja... |