Re: [Sqlrelay-discussion] Listener patch
Brought to you by:
mused
From: Renat S. <sr...@st...> - 2011-06-28 19:30:17
|
On 28.06.2011 20:54, David Muse wrote: > This patch looks good. I applied it. Also, just for good measure, I > added code to handle the other semaphore failures in the same method > in the same way. > > I don't think waiting on sem(2) is an issue though, if a connection is > immediately available, then the listener will just hand off to it, > otherwise, it will fork a child to wait on sem(2) while it loops back > to handle more client connections. I agree. It was my fault with the test system configuration. Clients were connected through apache+php limited to max 5 workers. New requests simply did not reach main sqlrelay listener and it could not start new connection. Thanks for your analysis. |