Modify jetty max threads #77

Merged
merged 1 commit into from Mar 29, 2014

Conversation

Projects
None yet
2 participants
@lucaspouzac
Contributor

lucaspouzac commented Mar 29, 2014

Hi,

If you run tests on a server with more than 10 CPUs, jetty blocks. MaxThreads must be at least equal to the number of CPU.

starting server
2014-03-28 10:22:40,217 [main ] [ ] INFO org.eclipse.jetty.server.Server - jetty-8.1.8.v20121106
LoginService=HashLoginService[null] identityService=org.eclipse.jetty.security.DefaultIdentityService@7907f014
2014-03-28 10:22:40,449 [main ] [ ] INFO restx.RestxMainRouterFactory - LOADING MAIN ROUTER
2014-03-28 10:22:40,450 [main ] [ ] INFO restx.RestxMainRouterFactory -

-- RESTX >> LOAD ON REQUEST << >> CLEAN << >> TEST MODE <<
-- for admin console,
-- VISIT http://127.0.0.1:43551/api/@/ui/

2014-03-28 10:22:40,547 [main ] [ ] WARN o.e.jetty.server.AbstractConnector - insufficient threads configured for SelectChannelConnector@0.0.0.0:43551
server started

REQUEST
GET http://127.0.0.1:43551/api/samples (infinite wait)

xhanin added a commit that referenced this pull request Mar 29, 2014

@xhanin xhanin merged commit fbcf3a1 into restx:master Mar 29, 2014

@xhanin

This comment has been minimized.

Show comment
Hide comment
@xhanin

xhanin Mar 29, 2014

Contributor

Nice spot, thanks for this PR!

Contributor

xhanin commented Mar 29, 2014

Nice spot, thanks for this PR!

@lucaspouzac lucaspouzac deleted the lucaspouzac:insufficient_threads branch Apr 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment