Re: [Sqlrelay-discussion] Busy listeners counter patch
Brought to you by:
mused
|
From: Cal H. <ca...@fb...> - 2010-05-18 15:25:09
|
Renat, Are your patches against the 0.41 release, or the CVS code? I'd like to give a few of these a try. Thanks, --Cal On Tue, May 18, 2010 at 6:52 AM, Renat Sabitov <sr...@st...> wrote: > 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... > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > |