Hello!
Sometimes on hard load, for instance 100 requests per second for one
connection, sqlr-connection process sleeps in infinite wait for data in
handoff socket with this stack:
----------
recvmsg
sqlrconnection_svr::receiveFileDescriptor
filedescriptor::receiveFileDescriptor
waitForClient
...
----------
I have made the patch for rudiments, wich uses poll() to set timeout
(2min) for waiting data from socket. It is named
rudiments_0.32_poll.patch without automake, autoconf and autoheader and
http://www.srr.pp.ru/www/sqlr/rudiments_0.32_poll.FULL.patch.gz with them.
Unfortunately, this is not enough to solve the problem, because it seems
that it is impossible to change handoff socket for sqlr-connection on
hard load. For this reason I made a patch for sqlrelay-0.41 wich make
sqlr-connection exit when error occured while reading from handoff socket.
--
Renat Sabitov e-mail: sr...@st...
Stack Soft jid: sr...@ja...
|