Hi,

I got the
INFO: Stop accepting new connections and transactions. Consider
increasing the maximum number of threads.

using restlet 2.0.1 and the server stopped receiving connection.
(should not this be a warning?)
I googled it and worked around with

server.getContext().getParameters().add("maxThreads", "512");

But this is not a solution, just a temporary patch cause I can't
understand why 10 connections are not enough in test environment,
given that each tests invoke the server, always the same instance, and
then I expect the thread to be released so the test that follows can
reuse the old thread, given I do not perform simultaneous tests..

Why the thread is not reused? How can I investigate about this policy/behavior?

Maybe you can point me to some article or page in Restlet in Action
MEAP which I own.

Thanks in advance.

-- 
Daniele Dellafiore
http://danieledellafiore.net

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2670820

Reply via email to