I am running a test with 400 clients pushing&pulling from sync_gateway. Test involves lots of conflicts generated in the database.
At some point, changes feed just stops delivering any changes. Reconnecting clients at this jammed state does not help. SG actually replies with error right away - so does not accept connection. Restarting sync_gateway fixes the problem - all the 400 clients start getting changes again and pull works fine and the whole test finishes correctly.
Is this test maybe already getting to the limits of a single sg-instance? Or could there be some other obvious reason why this is not a feasible test? (at least I have read about some bug where SG is slow on many conflicts?)
We adjusted the clients a bit so that they will communicate to server less frequently and at the moment I cannot reproduce this anymore. There is a change that this was also a client side lock up. So I will mark this solved and come back with an issue report if I still meet the same.