Skip to content

Modify jetty max threads#77

Merged
xhanin merged 1 commit intorestx:masterfrom
lucaspouzac:insufficient_threads
Mar 29, 2014
Merged

Modify jetty max threads#77
xhanin merged 1 commit intorestx:masterfrom
lucaspouzac:insufficient_threads

Conversation

@lucaspouzac
Copy link
Copy Markdown
Contributor

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
Copy link
Copy Markdown
Contributor

xhanin commented Mar 29, 2014

Nice spot, thanks for this PR!

@lucaspouzac lucaspouzac deleted the insufficient_threads branch April 2, 2014 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants